OSDN Git Service
Chris Manton [Tue, 16 Feb 2021 23:21:15 +0000 (23:21 +0000)]
Re-layout stack/acl/btm_acl::btm_remove_acl am:
5aec007a31 am:
e8ec028bfe am:
9dc587f837
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1574625
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I19324ccb59bf15a69d05a2bac978166773b05705
Chris Manton [Tue, 16 Feb 2021 23:21:13 +0000 (23:21 +0000)]
bt_headless: Various updates am:
3ae680043f am:
c05f2d3e36 am:
07ec08e505
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575236
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I364b4b7a3b6041afe5b1fac970d0d1312ffc7379
Chris Manton [Tue, 16 Feb 2021 23:21:10 +0000 (23:21 +0000)]
gd_acl: Connect gd acl shutdown am:
e1b60a1217 am:
ba5e6c2cd6 am:
21b5489197
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575235
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I39ae1fce6b778a69351a3c7dcfaf306a73448b10
Chris Manton [Tue, 16 Feb 2021 23:21:08 +0000 (23:21 +0000)]
Re-log bta/dm/bta_dm_act::bta_dm_disable_conn_down_timer_cback am:
38f64f9627 am:
85afa87b6c am:
b2d26d67dc
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575234
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I103df9e4aa575114a9ffb0c82eb88db517e225a0
Chris Manton [Tue, 16 Feb 2021 23:21:05 +0000 (23:21 +0000)]
Re-log btif/src/btif_dm::BTIF_dm_disable am:
c9978e41af am:
5ab42ee3af am:
fc37c9b7d3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575233
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2a0b6404c3f237c8e016c633f2d258d760f9b6ab
Chris Manton [Tue, 16 Feb 2021 23:21:03 +0000 (23:21 +0000)]
Re-log stack/avdt/avdt_api::AVDT_Connect am:
d20f5ef3aa am:
417c0995d4 am:
7658cd367f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575232
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I52b443b3f0bf248376648214e0b40eb5f569ecf3
Chris Manton [Tue, 16 Feb 2021 23:21:01 +0000 (23:21 +0000)]
Re-log stack/avdt/avdt_api::AVDT_DisconnectReq am:
c499f12040 am:
5bcc662b84 am:
5fdd4312a0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575231
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie154753d4227be604fbc900d211c9519a9d66ba9
Chris Manton [Tue, 16 Feb 2021 23:20:59 +0000 (23:20 +0000)]
Enum-ify stack/include/avdt_api::tAVDT_RESULT am:
204e013fde am:
79643212f7 am:
8a29534ac7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575230
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I61a4e1e9c2577cdb8d3783a333da344ce8c0548b
Chris Manton [Tue, 16 Feb 2021 23:20:56 +0000 (23:20 +0000)]
Re-log l2c_link_hci_conn_comp am:
1dd70c4cc8 am:
6dfeba5ac8 am:
4a98d76f7c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575229
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id5b06d5c8acebd612b0a0ea4cb1dfc5bb9ccdb4f
Chris Manton [Tue, 16 Feb 2021 22:26:35 +0000 (22:26 +0000)]
Re-layout stack/acl/btm_acl::btm_remove_acl am:
5aec007a31 am:
e8ec028bfe
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1574625
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6bc30497b247b2913bdc769c0a70c4a67b5e790c
Chris Manton [Tue, 16 Feb 2021 22:26:34 +0000 (22:26 +0000)]
bt_headless: Various updates am:
3ae680043f am:
c05f2d3e36
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575236
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I385f4ed8a8149a8bd17ad2a8e630e027bba48812
Chris Manton [Tue, 16 Feb 2021 22:26:32 +0000 (22:26 +0000)]
gd_acl: Connect gd acl shutdown am:
e1b60a1217 am:
ba5e6c2cd6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575235
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7721f374b52efff92675639f80059ed1a062b904
Chris Manton [Tue, 16 Feb 2021 22:26:30 +0000 (22:26 +0000)]
Re-log bta/dm/bta_dm_act::bta_dm_disable_conn_down_timer_cback am:
38f64f9627 am:
85afa87b6c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575234
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie05a86afa007224e161f374a69441db02dc9bb6d
Chris Manton [Tue, 16 Feb 2021 22:26:28 +0000 (22:26 +0000)]
Re-log btif/src/btif_dm::BTIF_dm_disable am:
c9978e41af am:
5ab42ee3af
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575233
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I27cdaf72ca26419847f80792796290814450de22
Chris Manton [Tue, 16 Feb 2021 22:26:27 +0000 (22:26 +0000)]
Re-log stack/avdt/avdt_api::AVDT_Connect am:
d20f5ef3aa am:
417c0995d4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575232
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I94df3cab268a37cb1f15e57e198ab6d7a5984b76
Chris Manton [Tue, 16 Feb 2021 22:26:25 +0000 (22:26 +0000)]
Re-log stack/avdt/avdt_api::AVDT_DisconnectReq am:
c499f12040 am:
5bcc662b84
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575231
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I03e8b2d238bf085c808c2d2152ed429bef899757
Chris Manton [Tue, 16 Feb 2021 22:26:23 +0000 (22:26 +0000)]
Enum-ify stack/include/avdt_api::tAVDT_RESULT am:
204e013fde am:
79643212f7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575230
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6ebf03515e9767b6ec569cca16887f143ad9552d
Chris Manton [Tue, 16 Feb 2021 22:26:21 +0000 (22:26 +0000)]
Re-log l2c_link_hci_conn_comp am:
1dd70c4cc8 am:
6dfeba5ac8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575229
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id43c7d91a2c53ff420c8f30a8e1509190d48f09d
Chris Manton [Tue, 16 Feb 2021 22:01:21 +0000 (22:01 +0000)]
Re-layout stack/acl/btm_acl::btm_remove_acl am:
5aec007a31
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1574625
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ief7c2327c1ceb95d467d78ffda433bef537491eb
Chris Manton [Tue, 16 Feb 2021 22:01:18 +0000 (22:01 +0000)]
bt_headless: Various updates am:
3ae680043f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575236
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If1603adfd3efc35c8eb7a1ce6a4ade7a14dd0d6c
Chris Manton [Tue, 16 Feb 2021 22:01:14 +0000 (22:01 +0000)]
gd_acl: Connect gd acl shutdown am:
e1b60a1217
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575235
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1b19c4232c9acc7efb243595d3a9c1ca7e6f70c7
Chris Manton [Tue, 16 Feb 2021 22:01:08 +0000 (22:01 +0000)]
Re-log bta/dm/bta_dm_act::bta_dm_disable_conn_down_timer_cback am:
38f64f9627
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575234
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I27da97e6c106355aadf5aaa40cf1791b9655d791
Chris Manton [Tue, 16 Feb 2021 22:01:04 +0000 (22:01 +0000)]
Re-log btif/src/btif_dm::BTIF_dm_disable am:
c9978e41af
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575233
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I80aec7a56c96792d67bcc24924727610c3277899
Chris Manton [Tue, 16 Feb 2021 22:01:01 +0000 (22:01 +0000)]
Re-log stack/avdt/avdt_api::AVDT_Connect am:
d20f5ef3aa
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575232
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7529f58ac46b28ac72cb6a2ae6634a7fb7cb0a5a
Chris Manton [Tue, 16 Feb 2021 22:00:56 +0000 (22:00 +0000)]
Re-log stack/avdt/avdt_api::AVDT_DisconnectReq am:
c499f12040
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575231
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If49529ca69283a540fe7aafa75ed997a5b4e85a6
Chris Manton [Tue, 16 Feb 2021 22:00:52 +0000 (22:00 +0000)]
Enum-ify stack/include/avdt_api::tAVDT_RESULT am:
204e013fde
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575230
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I63ceb12a39d2762593d6f7727382cedfe9991617
Chris Manton [Tue, 16 Feb 2021 22:00:05 +0000 (22:00 +0000)]
Re-log l2c_link_hci_conn_comp am:
1dd70c4cc8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575229
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icec59a0029bbceafc7b78520157601abbba2ebd8
Chris Manton [Fri, 5 Feb 2021 05:47:45 +0000 (21:47 -0800)]
Re-layout stack/acl/btm_acl::btm_remove_acl
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: Ieb9d1a0c66d45c7d500f88bcc33c355f05886ed6
Chris Manton [Thu, 4 Feb 2021 21:10:04 +0000 (13:10 -0800)]
bt_headless: Various updates
Towards testable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I21a564e868df671881428b659cf0cc81d185f94b
Chris Manton [Fri, 5 Feb 2021 02:34:58 +0000 (18:34 -0800)]
gd_acl: Connect gd acl shutdown
Bug:
176960731
Tag: #refactor
Test: gd/cert/run
Change-Id: I12636d06b863617255a4266956c9252095c870ba
Chris Manton [Fri, 5 Feb 2021 01:15:50 +0000 (17:15 -0800)]
Re-log bta/dm/bta_dm_act::bta_dm_disable_conn_down_timer_cback
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I44f957126b6d6a7760b27660c853a85b8258a0b6
Chris Manton [Fri, 5 Feb 2021 01:15:40 +0000 (17:15 -0800)]
Re-log btif/src/btif_dm::BTIF_dm_disable
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I89d1bc8333b41357314560d402c6723aec21d717
Chris Manton [Fri, 5 Feb 2021 00:11:40 +0000 (16:11 -0800)]
Re-log stack/avdt/avdt_api::AVDT_Connect
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: If6422d056e24e00a65d8ef09765dc7a01dc61019
Chris Manton [Fri, 5 Feb 2021 00:11:23 +0000 (16:11 -0800)]
Re-log stack/avdt/avdt_api::AVDT_DisconnectReq
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I1c2cc57a9cb99dbc810372bdc2fd9e371418f3c1
Chris Manton [Fri, 5 Feb 2021 00:10:35 +0000 (16:10 -0800)]
Enum-ify stack/include/avdt_api::tAVDT_RESULT
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: Icdb7fa8765ed2eb5ad13433d9653708e6915834d
Chris Manton [Thu, 4 Feb 2021 21:21:29 +0000 (13:21 -0800)]
Re-log l2c_link_hci_conn_comp
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: Ica3d22f8396437c708fea4411f5f6709df06c223
Treehugger Robot [Tue, 16 Feb 2021 01:02:05 +0000 (01:02 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am:
a0cf6e4df8 am:
dac1a0b8fa am:
ce493ec002
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1589054
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I86ddb1291e5210e3636c8fadd63ce702661b0890
Treehugger Robot [Tue, 16 Feb 2021 00:31:34 +0000 (00:31 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am:
a0cf6e4df8 am:
dac1a0b8fa
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1589054
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3837a45cfea98d279d63a9e2401544d703403644
Treehugger Robot [Mon, 15 Feb 2021 23:48:04 +0000 (23:48 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt" am:
a0cf6e4df8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1589054
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If54a071734b5f391a17cfbdc5d7e92f986750ab2
Treehugger Robot [Mon, 15 Feb 2021 23:21:47 +0000 (23:21 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt"
Treehugger Robot [Mon, 15 Feb 2021 13:33:27 +0000 (13:33 +0000)]
Merge "iso/tests: Add more cases for Iso Manager" am:
d4f9c38063 am:
132cb1f345 am:
d59a5c1c8a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1562992
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9eb9ee704f30e31be359ffac89196024895b6f7e
Treehugger Robot [Mon, 15 Feb 2021 13:02:50 +0000 (13:02 +0000)]
Merge "iso/tests: Add more cases for Iso Manager" am:
d4f9c38063 am:
132cb1f345
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1562992
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I30487d3c00a67f279fc71f69db17f87d91d3d1f7
Treehugger Robot [Mon, 15 Feb 2021 12:24:18 +0000 (12:24 +0000)]
Merge "iso/tests: Add more cases for Iso Manager" am:
d4f9c38063
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1562992
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ica37ac783ad41d5fa22d86660ceda6292d4b9f0f
Treehugger Robot [Mon, 15 Feb 2021 11:51:25 +0000 (11:51 +0000)]
Merge "iso/tests: Add more cases for Iso Manager"
Bob Badour [Sat, 13 Feb 2021 02:05:29 +0000 (18:05 -0800)]
[LSC] Add LOCAL_LICENSE_KINDS to system/bt
Added SPDX-license-identifier-Apache-2.0 to:
apex/Android.bp
audio_a2dp_hw/Android.bp
audio_bluetooth_hw/Android.bp
audio_hal_interface/Android.bp
audio_hearing_aid_hw/Android.bp
binder/Android.bp
bta/Android.bp
btcore/Android.bp
btif/Android.bp
build/Android.bp
common/Android.bp
conf/Android.bp
device/Android.bp
embdrv/g722/fuzzer/Android.bp
embdrv/sbc/Android.bp
embdrv/sbc/decoder/Android.bp
embdrv/sbc/encoder/Android.bp
gd/att/Android.bp
gd/common/Android.bp
gd/dumpsys/Android.bp
gd/dumpsys/bundler/Android.bp
gd/fuzz/Android.bp
gd/hal/Android.bp
gd/hci/Android.bp
gd/iso/Android.bp
gd/l2cap/Android.bp
gd/l2cap/fuzz/Android.bp
gd/neighbor/Android.bp
gd/os/Android.bp
gd/packet/Android.bp
gd/packet/parser/Android.bp
gd/packet/parser/test/Android.bp
gd/proto/Android.bp
gd/rust/common/Android.bp
gd/rust/facade/Android.bp
gd/rust/gddi/Android.bp
gd/rust/hal/Android.bp
gd/rust/hci/Android.bp
gd/rust/link/Android.bp
gd/rust/main/Android.bp
gd/rust/shim/Android.bp
gd/security/Android.bp
gd/security/channel/Android.bp
gd/security/pairing/Android.bp
gd/security/record/Android.bp
gd/shim/Android.bp
gd/storage/Android.bp
hci/Android.bp
include/Android.bp
internal_include/Android.bp
main/Android.bp
main/shim/Android.bp
osi/test/fuzzers/Android.bp
osi/test/fuzzers/alarm/Android.bp
osi/test/fuzzers/allocation_tracker/Android.bp
osi/test/fuzzers/allocator/Android.bp
osi/test/fuzzers/array/Android.bp
osi/test/fuzzers/buffer/Android.bp
osi/test/fuzzers/compat/Android.bp
osi/test/fuzzers/fixed_queue/Android.bp
osi/test/fuzzers/future/Android.bp
osi/test/fuzzers/list/Android.bp
osi/test/fuzzers/ringbuffer/Android.bp
packet/Android.bp
packet/avrcp/Android.bp
packet/base/Android.bp
packet/tests/fuzzers/Android.bp
profile/avrcp/Android.bp
profile/sdp/Android.bp
service/Android.bp
service/common/Android.bp
stack/test/fuzzers/Android.bp
stack/test/fuzzers/a2dp/Android.bp
stack/test/fuzzers/a2dp/codec/Android.bp
stack/test/fuzzers/sdp/Android.bp
test/Android.bp
test/headless/Android.bp
test/rootcanal/Android.bp
test/suite/Android.bp
types/Android.bp
udrv/Android.bp
utils/Android.bp
vendor_libs/Android.bp
vendor_libs/linux/Android.bp
vendor_libs/linux/interface/Android.bp
vendor_libs/test_vendor_lib/Android.bp
vendor_libs/test_vendor_lib/types/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
gd/Android.bp
gd/crypto_toolbox/Android.bp
stack/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-MIT legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
legacy_unencumbered
to:
embdrv/g722/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
to:
osi/Android.bp
Bug:
68860345
Bug:
151177513
Bug:
151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I883bd6b68223a5bc77fdac89e0280993f617d6d0
Chris Manton [Sun, 14 Feb 2021 10:06:43 +0000 (10:06 +0000)]
Use proper types btm_sec_dev_rec_cback_event::bt_status_t am:
ec48100fc6 am:
03cb514664 am:
ff69dcd436
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575228
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iad5d5febd911a71d27fe6e24ac8301a9a28aeb4b
Chris Manton [Sun, 14 Feb 2021 10:06:41 +0000 (10:06 +0000)]
Re-log stack/btm/btm_sec::btm_sec_connected am:
d82c00eb75 am:
17128e6126 am:
bc00cea405
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575227
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6ca8de8a7b3c8b5a7ae824a56975de7dbb446b05
Chris Manton [Sun, 14 Feb 2021 10:06:39 +0000 (10:06 +0000)]
Add gd acl shim connection shutdown am:
63e4236700 am:
5b6b0f298d am:
8765cfb67d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575226
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I57685cfcd47059a58c72b888c349349de087d8c5
Chris Manton [Sun, 14 Feb 2021 09:26:07 +0000 (09:26 +0000)]
Use proper types btm_sec_dev_rec_cback_event::bt_status_t am:
ec48100fc6 am:
03cb514664
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575228
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia1353d1acc4f2f55e7d9b8a3460406e263a292bd
Chris Manton [Sun, 14 Feb 2021 09:26:05 +0000 (09:26 +0000)]
Re-log stack/btm/btm_sec::btm_sec_connected am:
d82c00eb75 am:
17128e6126
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575227
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib9eea0e35d33b52d565e260400770d72c0aaf93d
Chris Manton [Sun, 14 Feb 2021 09:26:03 +0000 (09:26 +0000)]
Add gd acl shim connection shutdown am:
63e4236700 am:
5b6b0f298d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575226
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6954df771a827012774bd0cf7230f662acfb2010
Chris Manton [Sun, 14 Feb 2021 08:55:09 +0000 (08:55 +0000)]
Use proper types btm_sec_dev_rec_cback_event::bt_status_t am:
ec48100fc6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575228
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6033b1045dc72248bbdc026793eb0c51edb4a099
Chris Manton [Sun, 14 Feb 2021 08:55:06 +0000 (08:55 +0000)]
Re-log stack/btm/btm_sec::btm_sec_connected am:
d82c00eb75
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575227
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9e608e6f672954a292c2865ca93d7ccbc046736f
Chris Manton [Sun, 14 Feb 2021 08:54:31 +0000 (08:54 +0000)]
Add gd acl shim connection shutdown am:
63e4236700
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1575226
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ideef6a5a49e9a751fa4c6fd65770713c6067b0b0
Sonny Sasaka [Fri, 12 Feb 2021 20:10:01 +0000 (20:10 +0000)]
Merge "Remove direct dependency on libcutils" am:
66e64da87a am:
3a0df4b1b3 am:
7007e81b55
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576755
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic04d2a74bfce565550646b71f7c0544cb84f75f5
Sonny Sasaka [Fri, 12 Feb 2021 19:21:57 +0000 (19:21 +0000)]
Merge "Remove direct dependency on libcutils" am:
66e64da87a am:
3a0df4b1b3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576755
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I60408bbef727c0d52059c4f04d692bbbb7db65ee
Sonny Sasaka [Fri, 12 Feb 2021 18:48:45 +0000 (18:48 +0000)]
Merge "Remove direct dependency on libcutils" am:
66e64da87a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576755
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iba16b0b6714ad6077ce34fa94d27791649f95b1d
Chris Manton [Thu, 4 Feb 2021 21:20:58 +0000 (13:20 -0800)]
Use proper types btm_sec_dev_rec_cback_event::bt_status_t
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I42b950a9fb804761217a35a1c489100d8132e76b
Chris Manton [Thu, 4 Feb 2021 21:20:41 +0000 (13:20 -0800)]
Re-log stack/btm/btm_sec::btm_sec_connected
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I41ea59a249acd33ec750b1955adc25139ece9528
Chris Manton [Thu, 4 Feb 2021 07:31:47 +0000 (23:31 -0800)]
Add gd acl shim connection shutdown
Bug:
176960731
Tag: #refactor
Test: gd/cert/run
Change-Id: I598e8a3f352a78c989cecf10eae1b00bb755fe2c
Sonny Sasaka [Fri, 12 Feb 2021 18:31:49 +0000 (18:31 +0000)]
Merge "Remove direct dependency on libcutils"
Treehugger Robot [Fri, 12 Feb 2021 07:09:34 +0000 (07:09 +0000)]
Merge "Revert "hci: Remove SimultaneousLeHost bit"" am:
35cdc595b8 am:
8fc9eadfd3 am:
2433713322
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1585105
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4cfe51d082287344073ccc65eeb3b6d94d936bde
Treehugger Robot [Fri, 12 Feb 2021 06:37:43 +0000 (06:37 +0000)]
Merge "Revert "hci: Remove SimultaneousLeHost bit"" am:
35cdc595b8 am:
8fc9eadfd3
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1585105
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I79debe93d9f6047e21a2b4178cd1ffce95106ed0
Treehugger Robot [Fri, 12 Feb 2021 06:13:56 +0000 (06:13 +0000)]
Merge "Revert "hci: Remove SimultaneousLeHost bit"" am:
35cdc595b8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1585105
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6a1dca8456a176e6438a6f57d81a7eb5af7a87a7
Treehugger Robot [Fri, 12 Feb 2021 05:35:31 +0000 (05:35 +0000)]
Merge "Revert "hci: Remove SimultaneousLeHost bit""
Myles Watson [Thu, 11 Feb 2021 23:28:01 +0000 (15:28 -0800)]
Revert "hci: Remove SimultaneousLeHost bit"
This reverts commit
09931b889fee0037510e48eb639b091041273122.
The SimultaneousLeHost bit was deprecated in version 4.1 of the
spec, but some Bluetooth chips still need it to be set.
Bug:
179958088
Test: atest bluetooth_test_gd
observe LMP features on a Pixel 3 when using GD controller
Tag: #gd-refactor
Change-Id: Ie8f8a8c9322a6301388ba9415d998e218ef008b1
Jakub Pawlowski [Thu, 11 Feb 2021 20:28:46 +0000 (20:28 +0000)]
Fix bluetooth crash when no bluetooth.audio provider is present am:
48111bd9ff am:
4463b1b19c am:
9f62675214
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584926
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8e140251ca47cbcb9b8b8525108f40c51703f689
Jakub Pawlowski [Thu, 11 Feb 2021 20:01:46 +0000 (20:01 +0000)]
Fix bluetooth crash when no bluetooth.audio provider is present am:
48111bd9ff am:
4463b1b19c
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584926
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I276cb2c070fbae28c6d45847f31ee5d671a52f70
Jakub Pawlowski [Thu, 11 Feb 2021 19:42:05 +0000 (19:42 +0000)]
Fix bluetooth crash when no bluetooth.audio provider is present am:
48111bd9ff
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584926
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3fd1e674386aeee30e9e9457e4c32fbe0505d064
Jakub Pawlowski [Thu, 11 Feb 2021 12:32:58 +0000 (13:32 +0100)]
Fix bluetooth crash when no bluetooth.audio provider is present
The stack does fall back to IBluetoothAudioOffload, if present, rather
than crashing.
This is observed on some GSI builds.
Bug:
179967994
Test: start Bluetooth on device without bluetooth.audio HAL
Change-Id: I2979d43a1721f5d41b3a89ec14f670b16ef0d660
Zach Johnson [Wed, 10 Feb 2021 23:12:43 +0000 (23:12 +0000)]
Merge changes Iec2fb8b7,If7eabc0b,I759d041c am:
bf6cb94043 am:
0d5d3149bb am:
baa8782372
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1582000
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iae1e4a2f601c07f9afe633c2f0c81a758a97c209
Zach Johnson [Wed, 10 Feb 2021 22:22:54 +0000 (22:22 +0000)]
Merge changes Iec2fb8b7,If7eabc0b,I759d041c am:
bf6cb94043 am:
0d5d3149bb
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1582000
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib15937cfb6e093420c4af5b62fa693fecf7e0a34
Zach Johnson [Wed, 10 Feb 2021 21:55:39 +0000 (21:55 +0000)]
Merge changes Iec2fb8b7,If7eabc0b,I759d041c am:
bf6cb94043
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1582000
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie5a0b75b44b5bc4e0b721ba36e8999b2d83bdb84
Zach Johnson [Wed, 10 Feb 2021 21:08:08 +0000 (21:08 +0000)]
Merge changes Iec2fb8b7,If7eabc0b,I759d041c
* changes:
rusty-gd: make sure to notify HCI shim on stack start
rusty-gd: handle padding in sizes
rusty-gd: give special treament to unconstrained only-children
Zach Johnson [Wed, 10 Feb 2021 20:56:04 +0000 (20:56 +0000)]
Merge "rusty-gd: generate bounds checks" am:
7996e75d7a am:
05223e3acd am:
ff78ffdb0a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1582843
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id1da18ee544fcafed82b6df22a458759eec71666
Zach Johnson [Wed, 10 Feb 2021 20:33:24 +0000 (20:33 +0000)]
Merge "rusty-gd: generate bounds checks" am:
7996e75d7a am:
05223e3acd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1582843
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4152efb191536874509429f84492074b3e8f9071
Zach Johnson [Wed, 10 Feb 2021 19:51:38 +0000 (19:51 +0000)]
Merge "rusty-gd: generate bounds checks" am:
7996e75d7a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1582843
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I55213534fea9a4dbe3f085c6ddb44cdef5134159
Zach Johnson [Wed, 10 Feb 2021 19:34:15 +0000 (19:34 +0000)]
Merge "rusty-gd: generate bounds checks"
Zach Johnson [Wed, 10 Feb 2021 18:38:13 +0000 (10:38 -0800)]
rusty-gd: make sure to notify HCI shim on stack start
this way it can register for events, etc
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest
Change-Id: Iec2fb8b7dfe67dd843cc546eec217aa688f3c629
Zach Johnson [Wed, 10 Feb 2021 06:51:10 +0000 (22:51 -0800)]
rusty-gd: handle padding in sizes
need to unroll size concatenation, to ensure padding only applies to
size contributions *before* it exists
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest
Change-Id: If7eabc0b1f499c2168fec6df6c5e294c5672b8e4
Zach Johnson [Wed, 10 Feb 2021 05:55:35 +0000 (21:55 -0800)]
rusty-gd: give special treament to unconstrained only-children
usually a bad thing with actual human kids :p
if a packet only has one child and that child is running around
unconstrained and causing mischief, assume we may be able to parse
remaining bytes as the child because it's the only possibility
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest
Change-Id: I759d041c602e1d96eb640a2ec911bef2b80957bb
Zach Johnson [Wed, 10 Feb 2021 04:42:38 +0000 (20:42 -0800)]
rusty-gd: generate bounds checks
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest
Change-Id: I2d349518e466853a65fbbb296a0ea69e34a4a34d
Hansong Zhang [Wed, 10 Feb 2021 01:46:09 +0000 (01:46 +0000)]
btm_sec: Fix flags am:
492d769e17 am:
6c1135a3d0 am:
fabdb2880a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1581071
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I19cd1e6d1bacf6148d70d7c90d14f818a92998ac
Hansong Zhang [Wed, 10 Feb 2021 01:22:05 +0000 (01:22 +0000)]
btm_sec: Fix flags am:
492d769e17 am:
6c1135a3d0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1581071
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id09dca94a77146a01e95279875aa72df1ccc6e33
Hansong Zhang [Wed, 10 Feb 2021 00:14:03 +0000 (00:14 +0000)]
btm_sec: Fix flags am:
492d769e17
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1581071
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6296db1391c903f50514d228bdff3f974fd038b5
Hansong Zhang [Tue, 9 Feb 2021 08:25:03 +0000 (00:25 -0800)]
btm_sec: Fix flags
Don't say link key is authenticated yet during ConfirmReqReply. Wait for
link key notification to see the key type.
Bug:
179724475
Tag: #security
Test: headset
Change-Id: I6d380500f92c2039b469d87f2d79ee40779b10af
Sonny Sasaka [Tue, 9 Feb 2021 23:42:06 +0000 (23:42 +0000)]
Merge "Update source files to build on Linux/Chrome OS" am:
ce6c6b9327 am:
38496142eb am:
b646ad0689
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576257
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1847ea9193c6c8734dcfe90e4b8c2d6f1a5063dc
Sonny Sasaka [Tue, 9 Feb 2021 22:49:44 +0000 (22:49 +0000)]
Merge "Update source files to build on Linux/Chrome OS" am:
ce6c6b9327 am:
38496142eb
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576257
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I039919180f423da8e76eb5244c5a7b0722ad0c07
Sonny Sasaka [Tue, 9 Feb 2021 22:27:52 +0000 (22:27 +0000)]
Merge "Update source files to build on Linux/Chrome OS" am:
ce6c6b9327
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576257
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idec3613811471a519f72a8820b6f115786165733
Sonny Sasaka [Tue, 9 Feb 2021 19:54:19 +0000 (19:54 +0000)]
Merge "Update source files to build on Linux/Chrome OS"
Zach Johnson [Tue, 9 Feb 2021 18:47:32 +0000 (18:47 +0000)]
Merge changes I4496bf97,I6368fd2e am:
5a4b5a1249 am:
99eb61bdc8 am:
720b6ce0f0
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1579755
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I915ce922371056014b68c12d1fc159a6485a34c7
Zach Johnson [Tue, 9 Feb 2021 17:30:53 +0000 (17:30 +0000)]
Merge changes I4496bf97,I6368fd2e am:
5a4b5a1249 am:
99eb61bdc8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1579755
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib3d8e677800384f54903766f6d400bfe3cfcc6e8
Zach Johnson [Tue, 9 Feb 2021 17:12:07 +0000 (17:12 +0000)]
Merge changes I4496bf97,I6368fd2e am:
5a4b5a1249
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1579755
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I49d8e6c50fa0e298833bb6c2bfbea347669c4ac8
Zach Johnson [Tue, 9 Feb 2021 16:26:54 +0000 (16:26 +0000)]
Merge changes I4496bf97,I6368fd2e
* changes:
rusty-gd: some fixes to handle errors & get it somewhat working
rusty-gd: sequence immediate message loop posts
Sonny Sasaka [Tue, 9 Feb 2021 06:09:54 +0000 (22:09 -0800)]
Remove direct dependency on libcutils
libcutils is Android-specific and does not exist in Linux/Chrome OS.
This patch removes direct dependency on it and instead creates an
abstract layer called os_utils which contain separate implementations
for Android (using libcutils) and other OSes.
Bug:
176847216
Tag: #refactor
Test: atest --host bluetooth_test_common
Change-Id: Ifaebbd2baf5d3f7d638d70b3a9b97a1cb7724d10
Sonny Sasaka [Tue, 9 Feb 2021 06:09:48 +0000 (22:09 -0800)]
Update source files to build on Linux/Chrome OS
This modifies some source files to build on Linux:
* Add missing includes
* Add Linux empty stubs for metrics
Bug:
176847216
Tag: #refactor
Test: atest --host bluetooth_test_common
Change-Id: I15c46cd9b748ddd9f7c0712b5a66b259e41cfaa1
Zach Johnson [Tue, 9 Feb 2021 02:59:01 +0000 (02:59 +0000)]
Merge changes I05c6fca1,I25b03d89 am:
a7fc18c5bd am:
a2b7e4785e am:
67ad376ab1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1579289
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1376174873c367c75cbb120d86807dfeacea83ae
Zach Johnson [Tue, 9 Feb 2021 02:16:41 +0000 (02:16 +0000)]
Merge changes I05c6fca1,I25b03d89 am:
a7fc18c5bd am:
a2b7e4785e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1579289
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id2561d94d300b5ddea681330cfdc48499ba2466a
Zach Johnson [Tue, 9 Feb 2021 01:30:30 +0000 (01:30 +0000)]
Merge changes I05c6fca1,I25b03d89 am:
a7fc18c5bd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1579289
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3eb86d31623df36c2aa91aabc5cbf50ab23d00be
Zach Johnson [Tue, 9 Feb 2021 00:56:05 +0000 (00:56 +0000)]
Merge changes I05c6fca1,I25b03d89
* changes:
rusty-gd: remaining fixes to get DirectHciTest running consistently
blueberry: print Data as hex, to make matching to wireshark easier