OSDN Git Service
Treehugger Robot [Thu, 18 Feb 2021 09:18:21 +0000 (09:18 +0000)]
Merge "btaa: add btaa into the shim" am:
ed708c0cad
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1508618
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I84726f40471f5b6ae91bd7e19491e55f259850b4
Treehugger Robot [Thu, 18 Feb 2021 07:56:25 +0000 (07:56 +0000)]
Merge "btaa: add btaa into the shim"
Qasim Javed [Thu, 18 Feb 2021 03:22:53 +0000 (03:22 +0000)]
Merge "rusty-gd: Add missing GAP data types and fix EIR length" am:
55da113b73
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1593171
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie3532021f388b15c9b82153d3bc052b2bde5a61b
Qasim Javed [Thu, 18 Feb 2021 02:53:23 +0000 (02:53 +0000)]
Merge "rusty-gd: Add missing GAP data types and fix EIR length"
Qasim Javed [Wed, 17 Feb 2021 21:39:07 +0000 (13:39 -0800)]
rusty-gd: Add missing GAP data types and fix EIR length
Devices with EIR containing Gap data type 0x10 were not showing up in
the pairing list.
Tested using Pixel Buds. They now show up in the pairing dialog. When
tapped, pairing still fails.
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest
Change-Id: I00c90b6ca4ab0bb5eca97202f7652f35260197c4
Sal Savage [Wed, 17 Feb 2021 21:45:38 +0000 (21:45 +0000)]
Merge "Add max_connected_audio_devices parameter to A2DP Sink init" am:
3323d52ecb
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1585098
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0125d22dad3f4b76b950ac4a88c9c19f2aa5fd8d
Sal Savage [Wed, 17 Feb 2021 21:01:57 +0000 (21:01 +0000)]
Merge "Add max_connected_audio_devices parameter to A2DP Sink init"
Treehugger Robot [Wed, 17 Feb 2021 19:26:23 +0000 (19:26 +0000)]
Merge "btaa: introduce btaa module into gd" am:
65aaab254d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1508617
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5c2e7e0c5731397c0a7b57d2c90b93e38125d9b3
Michael Sun [Mon, 23 Nov 2020 17:51:04 +0000 (17:51 +0000)]
btaa: add btaa into the shim
Add btaa module into the shim. Implemented various helper functions.
Tag: #feature
Bug:
172501038
Test: m
Change-Id: I23b86a7b75ad301aae62d47ca34a5524a60844a1
Treehugger Robot [Wed, 17 Feb 2021 18:17:25 +0000 (18:17 +0000)]
Merge "btaa: introduce btaa module into gd"
Jakub Pawlowski [Wed, 17 Feb 2021 15:30:44 +0000 (15:30 +0000)]
Rootcanal fix typo - return success am:
3e805952c1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1590911
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iec7c9a47b396d722645f0daa7b6929d5b1765767
Jakub Pawlowski [Tue, 16 Feb 2021 22:36:20 +0000 (23:36 +0100)]
Rootcanal fix typo - return success
Test: run the not yet existing ISO tests
Change-Id: Ie3b2674336d2b97297d1be96b97351c4a82676aa
Treehugger Robot [Wed, 17 Feb 2021 00:11:47 +0000 (00:11 +0000)]
Merge "Send Bluetooth call quality report to telephony" am:
7817f3fa87
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576757
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I77e7bd61e746e0f456fb5e4324040ca7ed368bd8
Haibo Huang [Wed, 17 Feb 2021 00:10:55 +0000 (00:10 +0000)]
Merge "Fix test for googletest upgrade" am:
b0ba4e8a76
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1581588
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic05c50853aa6c594dee1a5ccc5fa8db5464b9151
Treehugger Robot [Wed, 17 Feb 2021 00:00:08 +0000 (00:00 +0000)]
Merge "Send Bluetooth call quality report to telephony"
Haibo Huang [Tue, 16 Feb 2021 23:38:09 +0000 (23:38 +0000)]
Merge "Fix test for googletest upgrade"
Treehugger Robot [Tue, 16 Feb 2021 23:14:51 +0000 (23:14 +0000)]
Merge "Wipe cache when HID report cache isn't compatible with the current cache version." am:
749630bc91
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1589738
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib53949670bb035d5a52dddd52e333a45d872cb0e
Treehugger Robot [Tue, 16 Feb 2021 22:39:02 +0000 (22:39 +0000)]
Merge "Wipe cache when HID report cache isn't compatible with the current cache version."
Chris Manton [Tue, 16 Feb 2021 22:04:34 +0000 (22:04 +0000)]
Remove unneeded func stack/btm/btm_ble_bgconn::btm_ble_acceptlist_init am:
37abdec7c8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584710
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If1aae4618c48d599eaf566cee7de76c9b87fb851
Chris Manton [Tue, 16 Feb 2021 22:04:30 +0000 (22:04 +0000)]
Remove unneccesary API BTM_GetAcceptlistSize am:
c36db90f1a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584709
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I81a35abe1c7cfab40b9569f06a3b0a8522cf5335
Chris Manton [Tue, 16 Feb 2021 22:04:27 +0000 (22:04 +0000)]
Fix for gd_acl le connections am:
c6e78147e1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584707
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib1943aa2e826781b77f7d454802f41696d154c28
Chris Manton [Tue, 16 Feb 2021 22:04:23 +0000 (22:04 +0000)]
gd_acl: Add add/remove acceptlist am:
3467d21d29
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584708
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I30bded4c4b92ff865e06a9a218b4d797077b25e1
Chris Manton [Tue, 16 Feb 2021 22:03:22 +0000 (22:03 +0000)]
Enum-ify bta/include/bta_hh_api::tBTA_HH_STATUS am:
1813bfcc17
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584706
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I235f9d539f016fbe541f1ed32662c9105729dace
Chris Manton [Tue, 16 Feb 2021 22:02:28 +0000 (22:02 +0000)]
Re-log stack/btm/btm_sec::btm_sec_is_a_bonded_dev am:
c472a55125
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584705
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I17d61a40fcb5a2f5484783cda4522a648d4c46ae
Chris Manton [Tue, 16 Feb 2021 22:02:25 +0000 (22:02 +0000)]
Re-log stack/btm/btm_ble_privacy::btm_ble_suspend_resolving_list_activity am:
87b3dc4559
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584704
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I49ce1fbc73b24639bafd18d00aa73d944d596a04
Chris Manton [Tue, 16 Feb 2021 22:02:21 +0000 (22:02 +0000)]
Re-log stack/btm/btm_ble_gap::btm_ble_update_mode_operation am:
81a26a1365
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584703
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id9e2233e30fd1cd605a24a8237a3c6b7d27a9e7d
Chris Manton [Tue, 16 Feb 2021 22:02:18 +0000 (22:02 +0000)]
Use proper types tHCI_STATUS am:
d047f92771
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584422
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4f77a708fc9cdcc8a0355f2eaeb86be57f744a54
Chris Manton [Tue, 16 Feb 2021 22:02:15 +0000 (22:02 +0000)]
Re-log stack/smp/smp_l2c::smp_connect_callback am:
12e591c2e9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584421
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I013f184ed57f5049eccb38cc1dfe98e0bda7b3af
Chris Manton [Tue, 16 Feb 2021 22:02:11 +0000 (22:02 +0000)]
gd_acl: Assert on paths when gd_acl enabled am:
06d050075f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584420
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id172e40435d9ece6c0f5ac856fdcb8d61d1e546f
Chris Manton [Tue, 16 Feb 2021 22:02:07 +0000 (22:02 +0000)]
Re-layout stack/btm/btm_ble_bgconn.cc am:
16584d39d7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584419
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I95f96b66b80c9bab0b32e18a5d0eb859cd2d3eaa
Chris Manton [Tue, 16 Feb 2021 22:02:02 +0000 (22:02 +0000)]
Re-log stack/gatt/gatt_api::GATT_Connect am:
6c58e3a5aa
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584418
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie2541c6be451b543e8c87b5c65f7a6a56a41857b
Chris Manton [Tue, 16 Feb 2021 22:01:59 +0000 (22:01 +0000)]
Re-log stack/smp/smp_l2c::smp_connect_callback am:
6e77382867
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584417
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia73d0c709964db5182931426b1e39fe707ab341b
Chris Manton [Tue, 16 Feb 2021 22:01:56 +0000 (22:01 +0000)]
Re-log stack/gap/gap_ble::client_connect_cback am:
2538d35f32
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584416
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifa66575fc365ab5ed533e790d1acf8585a95eb98
Chris Manton [Tue, 16 Feb 2021 22:01:52 +0000 (22:01 +0000)]
Re-log bta/gatt/bta_gattc_act::bta_gattc_close am:
ba345ad12b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584415
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iffab3921153c18b1f2745811dbf564fc7664091f
Chris Manton [Tue, 16 Feb 2021 22:01:49 +0000 (22:01 +0000)]
Group internally linked functions stack/btm/btm_ble_bgconn am:
137b24d59a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584414
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I298fa0b8a1b56343db7df7e748b02414b5a10cc5
Chris Manton [Tue, 16 Feb 2021 22:01:45 +0000 (22:01 +0000)]
Directly query controller for acceptlist size am:
1709788a73
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584413
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If45bd0c60e6cd9216138b8442bd9e066c21e11c3
Chris Manton [Tue, 16 Feb 2021 22:01:42 +0000 (22:01 +0000)]
Add API for tBTM_SEC_DEV_REC::has_ble am:
7a3122e52a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1585528
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic22701a10d31971f5922275f30d551d406ef63ec
Chris Manton [Tue, 16 Feb 2021 22:01:39 +0000 (22:01 +0000)]
Reduce unneeded namespace resolution main/shim/acl am:
5fdab5b5c5
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584412
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I243bd3ea2bb399429e82112992e7569f691f608c
Chris Manton [Tue, 16 Feb 2021 22:01:36 +0000 (22:01 +0000)]
Introduce bta_test am:
f02b313b7e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1580863
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9b44e0427f015d40b715a0e53055d997eb091b9c
Chris Manton [Tue, 16 Feb 2021 22:01:32 +0000 (22:01 +0000)]
Introduce bta/test mocks and fakes am:
db6f7631cf
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1580482
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie7927e957b301b639746e5ed0fc56eb675dc7f50
Chris Manton [Tue, 16 Feb 2021 22:01:28 +0000 (22:01 +0000)]
Remove unnecessary include bta/hh/bta_hh_act.cc::log am:
ac903002a1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1580481
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I77c70e4761b0a608cc4874dd88ffb62fcf0b5ec9
Chris Manton [Tue, 16 Feb 2021 22:01:25 +0000 (22:01 +0000)]
Declare bta/dm/bta_dm_int::deinit am:
ad212e5b8e
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1580480
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2ad322e3e80cc062ec52399b985981b4935a2c36
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
Michael Sun [Mon, 23 Nov 2020 05:58:48 +0000 (05:58 +0000)]
btaa: introduce btaa module into gd
Introduce the btaa module skeleton implementation in gd.
Tag: #feature
Bug:
172501038
Test: mmma -j system/bt
Change-Id: I7fa28e8ef5eb25ff08b96ab7b43a2526359450f8
Johanna Ye [Tue, 16 Feb 2021 13:10:55 +0000 (14:10 +0100)]
Wipe cache when HID report cache isn't compatible with the current cache version.
This is to fix a big triggered by the OTA from any previous version to S
due to the structure change of the cache report entries.
Also corrected minor typos in documentation.
Tag: #stability
Test: Bond with HID device, upgrade from Q to S, verify device is
working.
Bug:
178874105
Bug:
159868059
Change-Id: Ibbd5da90892a637ffe8ff09b2b98bfc9fe3fb0cd
Haibo Huang [Tue, 9 Feb 2021 18:47:25 +0000 (10:47 -0800)]
Fix test for googletest upgrade
bluetooth::hci::Address conflicts with testing::Address. Move the whole
test out of testing namespace.
Tag: refactor
Test: build
Change-Id: I6015c426a80e1f2aeed9a7aea4856dec5bd36d16
Chris Manton [Thu, 11 Feb 2021 06:33:40 +0000 (22:33 -0800)]
Remove unneeded func stack/btm/btm_ble_bgconn::btm_ble_acceptlist_init
Towards meaningful code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: Ib4e759a47e947de205f680d31b25c8bb10a1f252
Chris Manton [Thu, 11 Feb 2021 06:32:05 +0000 (22:32 -0800)]
Remove unneccesary API BTM_GetAcceptlistSize
Towards meaningful code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I4df37acc3f7bfd210e48d0a892624fbffeb19bbf
Chris Manton [Tue, 16 Feb 2021 16:34:03 +0000 (08:34 -0800)]
Fix for gd_acl le connections
Bug:
173985410
Tag: #refactor
Test: gd/cert/run
Change-Id: I1040a6daced42b048c31382398b899157b235630
Chris Manton [Wed, 10 Feb 2021 02:49:18 +0000 (18:49 -0800)]
gd_acl: Add add/remove acceptlist
Also rename Accept/Ignore LeConnections
Bug:
173985410
Tag: #refactor
Test: gd/cert/run
Change-Id: I96c3d09bf86887f9fdff9fb09475c909f0045f02
Chris Manton [Wed, 10 Feb 2021 21:02:15 +0000 (13:02 -0800)]
Enum-ify bta/include/bta_hh_api::tBTA_HH_STATUS
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: Ifb26c5df247705f6e2661a3c32ded112ded71aab
Chris Manton [Wed, 10 Feb 2021 02:50:06 +0000 (18:50 -0800)]
Re-log stack/btm/btm_sec::btm_sec_is_a_bonded_dev
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I56db3d0f6676102c40e6ad1361ea59277acfe6fe
Chris Manton [Wed, 10 Feb 2021 02:49:56 +0000 (18:49 -0800)]
Re-log stack/btm/btm_ble_privacy::btm_ble_suspend_resolving_list_activity
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I6086e0ac0a2487ce3b871d3cc117fbc2a858497c
Chris Manton [Wed, 10 Feb 2021 02:49:43 +0000 (18:49 -0800)]
Re-log stack/btm/btm_ble_gap::btm_ble_update_mode_operation
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I0b04060b0fa827f1ae0499858eac115fba12034c
Chris Manton [Wed, 10 Feb 2021 02:49:01 +0000 (18:49 -0800)]
Use proper types tHCI_STATUS
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I2ae7248a2503fad7ef22c08ca09b43fcbf877cbf
Chris Manton [Wed, 10 Feb 2021 02:48:06 +0000 (18:48 -0800)]
Re-log stack/smp/smp_l2c::smp_connect_callback
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: Id6f73034d4ccdecc2679c9f25bbb380ed5070d18
Chris Manton [Tue, 9 Feb 2021 22:39:32 +0000 (14:39 -0800)]
gd_acl: Assert on paths when gd_acl enabled
Towards behaving code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I8947c15a840166ad61ec91607e915d9270ea2a5b
Chris Manton [Tue, 9 Feb 2021 22:39:12 +0000 (14:39 -0800)]
Re-layout stack/btm/btm_ble_bgconn.cc
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: Ia9f8c2fb14b15669b5a744ad5eaee45c1b955481
Chris Manton [Tue, 9 Feb 2021 22:39:07 +0000 (14:39 -0800)]
Re-log stack/gatt/gatt_api::GATT_Connect
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I49b368915fef7ef2c51c867cff05474874714757
Chris Manton [Tue, 9 Feb 2021 17:27:24 +0000 (09:27 -0800)]
Re-log stack/smp/smp_l2c::smp_connect_callback
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I044aaf0bb09160ef6d4d1515b5a8444eaabd7434
Chris Manton [Wed, 10 Feb 2021 18:06:32 +0000 (10:06 -0800)]
Re-log stack/gap/gap_ble::client_connect_cback
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I96161fef848f45b28883bce6df9467f14e9fec64
Chris Manton [Tue, 9 Feb 2021 17:25:20 +0000 (09:25 -0800)]
Re-log bta/gatt/bta_gattc_act::bta_gattc_close
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I26c11fde63a332b20bf7ea126bd42f0f8015d3e1
Chris Manton [Tue, 9 Feb 2021 21:35:13 +0000 (13:35 -0800)]
Group internally linked functions stack/btm/btm_ble_bgconn
Also group API functions, inclusive language
and packet length checks.
Towards readable code
Bug:
173985410
Tag: #refactor
Test: gd/cert/run
Change-Id: Iace409d2ac69364a920cfb8b2994e5e7bb6f7f13
Chris Manton [Thu, 11 Feb 2021 06:24:00 +0000 (22:24 -0800)]
Directly query controller for acceptlist size
Towards meaningful code
Bug:
173985410
Tag: #refactor
Test: gd/cert/run
Change-Id: Id6852ba6ef916aa68731c4270259430e98b432d9
Chris Manton [Fri, 12 Feb 2021 00:05:57 +0000 (16:05 -0800)]
Add API for tBTM_SEC_DEV_REC::has_ble
Bitmask or value ?
Bug:
173985410
Tag: #refactor
Test: gd/cert/run
Change-Id: I7ebe09e7e84fc368bb7aed53479f6741cd22bef7
Chris Manton [Thu, 11 Feb 2021 06:02:34 +0000 (22:02 -0800)]
Reduce unneeded namespace resolution main/shim/acl
Bug:
173985410
Tag: #refactor
Test: gd/cert/run
Change-Id: Ic0587e34be24597c4ed318459817ad68aced8ebc
Chris Manton [Mon, 8 Feb 2021 04:27:05 +0000 (20:27 -0800)]
Introduce bta_test
Towards testable code
Bug:
176960731
Tag: #refactor
Test: gd/cert/run
Change-Id: I653ee9dcbb63fa0d9d52f8db17e498f8820fc2dc
Chris Manton [Mon, 8 Feb 2021 04:26:22 +0000 (20:26 -0800)]
Introduce bta/test mocks and fakes
Towards testable code
Bug:
176960731
Tag: #refactor
Test: gd/cert/run
Change-Id: I0527f4daf7d03d12a05975fa9fd01a06bd2105e5
Chris Manton [Mon, 8 Feb 2021 04:27:40 +0000 (20:27 -0800)]
Remove unnecessary include bta/hh/bta_hh_act.cc::log
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I31086a13b9c7fae16df2087b2aff7eff813a0f37
Chris Manton [Mon, 8 Feb 2021 04:27:52 +0000 (20:27 -0800)]
Declare bta/dm/bta_dm_int::deinit
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I93271880291135b652de8299c74413874c84e653
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 [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 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 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 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"