OSDN Git Service

One less copy when sending LE CoC data.
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 12 Jan 2018 14:22:43 +0000 (06:22 -0800)
committerJakub Pawlowski <jpawlowski@google.com>
Sat, 20 Jan 2018 17:03:51 +0000 (17:03 +0000)
commit84519312368dfa4b12c1be5b8c6290d26f397cbf
tree3d7b794453cbd648b534b5f245c0b5a9b63131b4
parentc194ec1e896803e984d915e048033c331e9c387d
One less copy when sending LE CoC data.

After this patch, data is read from socket directly into BT_HDR that is
passed down the stack, rather than copying the data later.

Test: manual
Bug: 68359837
Change-Id: I3f304e6c7e60ce64b44350678d0ba10324fc97bc
bta/include/bta_jv_api.h
bta/jv/bta_jv_act.cc
bta/jv/bta_jv_api.cc
bta/jv/bta_jv_int.h
btif/src/btif_sock_l2cap.cc