OSDN Git Service

Added support for new Android API for LE CoC
authorStanley Tng <stng@google.com>
Wed, 20 Dec 2017 17:38:30 +0000 (09:38 -0800)
committerStanley Tng <stng@google.com>
Thu, 18 Jan 2018 16:40:43 +0000 (16:40 +0000)
commit49dd53cb3db63dc0f328a6d18413d97b01a48176
treefb7361406553162b59e4122ecdbfa37337f223b3
parentce5f485e67ef79da3cbd31035cdfffe483abe296
Added support for new Android API for LE CoC

Added support for the new Android API including the management of the
LE_PSM values.
Also fixed a bug when de-registering the L2CAP CoC, the RCB is not
freed correctly.

Test: Ran the new ACTS Tests for LE CoC and existing ACTS for RfComm
Bug: 70683224
Change-Id: I5a545656bece667e7ba942d7b2334e3f5b49b283
bta/jv/bta_jv_act.cc
bta/jv/bta_jv_api.cc
btif/src/btif_sock.cc
btif/src/btif_sock_l2cap.cc
include/hardware/bt_sock.h
stack/include/l2c_api.h
stack/l2cap/l2c_api.cc
stack/l2cap/l2c_int.h
stack/l2cap/l2c_main.cc
stack/l2cap/l2c_utils.cc