OSDN Git Service
Chris Manton [Thu, 7 Jan 2021 05:26:21 +0000 (05:26 +0000)]
Add stack/gatt/gatt_int::kGattConnected/Disconnected am:
90ab7365c2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1540561
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iec19de69410cb2802519873addf91114875565bb
Chris Manton [Thu, 7 Jan 2021 05:26:18 +0000 (05:26 +0000)]
Enum-ify stack/smp/smp_int::SMP_MODEL_ am:
a8deded66b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1540560
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I773b2e2e8a5894bcf47491658b6c26ad6e938486
Chris Manton [Thu, 7 Jan 2021 05:26:14 +0000 (05:26 +0000)]
Enum-ify stack/include/smp_api_types::SMP_AUTH_ am:
3eefcd1453
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1540559
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id19f6eae9f46b8443e9d788822bf7d9db3aa6343
Chris Manton [Thu, 7 Jan 2021 05:26:11 +0000 (05:26 +0000)]
Add tACL_CONN::is_power_mode_pending am:
8d90f60202
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1540558
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib4625e03283c84b147aa6d417c5bc0d3af086735
Chris Manton [Thu, 7 Jan 2021 05:25:28 +0000 (05:25 +0000)]
Use tACL_CB::DefaultPacketTypes am:
8e75481de9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1540557
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4159f9daa5c87a95d8001b29d085ebbd7a1b0f77
Chris Manton [Fri, 20 Nov 2020 01:44:36 +0000 (17:44 -0800)]
Add stack/gatt/gatt_int::kGattConnected/Disconnected
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Iad9e85c56975f7ca97dfb62d4f5348c03aacc2f5
Chris Manton [Fri, 6 Nov 2020 17:30:39 +0000 (09:30 -0800)]
Enum-ify stack/smp/smp_int::SMP_MODEL_
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I5ba9e3743a9d2374304caa10a24fca625d137bcf
Chris Manton [Fri, 6 Nov 2020 17:26:34 +0000 (09:26 -0800)]
Enum-ify stack/include/smp_api_types::SMP_AUTH_
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I8992cea91fff8c793f2caa32545b43c3759d71bb
Chris Manton [Sat, 26 Dec 2020 23:42:50 +0000 (15:42 -0800)]
Add tACL_CONN::is_power_mode_pending
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I51e850cda37bc626943bc161ca48d2fe9ded5529
Chris Manton [Sun, 13 Dec 2020 01:13:46 +0000 (17:13 -0800)]
Use tACL_CB::DefaultPacketTypes
Towards encapsulation
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Icc14b149659d570fa7d38c6338e5867098982889
Hansong Zhang [Wed, 6 Jan 2021 21:49:27 +0000 (21:49 +0000)]
LE L2cap shim: Implement fixed channel timeout am:
29b4d12753
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1538089
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I659e4a0f116b3fc57d42c22b14c2da22accf6b1f
Hansong Zhang [Wed, 30 Dec 2020 22:54:32 +0000 (14:54 -0800)]
LE L2cap shim: Implement fixed channel timeout
Implement timeout settings with Fixed channel acquire/release. So far
we only have two timeout options: no timeout, and disconnect
immediately, which we can use existing methods to implement.
Test: CtsVerifier
Tag: #gd-refactor
Bug:
141555841
Change-Id: If262e2773575b5c3c99a7286d66ca5f6a7fe7e58
Treehugger Robot [Wed, 6 Jan 2021 14:33:42 +0000 (14:33 +0000)]
Merge "gd: Implement register/unregister scanner" am:
4865d8f2d6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539747
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I29acf2ebf20f0b39aeb0095cc13be85afd4e6931
Treehugger Robot [Wed, 6 Jan 2021 14:30:22 +0000 (14:30 +0000)]
Merge "gd: Implement register/unregister scanner"
Treehugger Robot [Wed, 6 Jan 2021 14:25:08 +0000 (14:25 +0000)]
Merge "Refactor scanning callback mechanism for GD" am:
4b1d22af22
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1537631
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id4bf9b37275f3314c9ceea63666e52786303f315
Bill Yi [Wed, 6 Jan 2021 14:19:18 +0000 (14:19 +0000)]
[automerger skipped] Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE am:
2e6396bc5e -s ours
am skip reason: Change-Id I729cc4a1d85ec47af278d5f81a52991fdd174113 with SHA-1
4ce2fbd121 is in history
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1540551
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I565399cc211b928bd28657421a6edccfed89f031
Treehugger Robot [Wed, 6 Jan 2021 14:00:06 +0000 (14:00 +0000)]
Merge "Refactor scanning callback mechanism for GD"
Bill Yi [Wed, 6 Jan 2021 02:30:22 +0000 (18:30 -0800)]
Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE
Merged-In: I729cc4a1d85ec47af278d5f81a52991fdd174113
Merged-In: I0748c425ef7e832293ae2c5344e265f89677c4e2
Change-Id: I17eee2454dc223a1caa0ad40817a5d5c927716a5
Treehugger Robot [Wed, 6 Jan 2021 04:38:47 +0000 (04:38 +0000)]
Merge "Make it possible to pass multiple BLE services to settings" am:
f6f9b9cebe
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1536746
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I90f4d3ce5189fdef70fb24d40a2b0748ad5bb7cc
Treehugger Robot [Tue, 5 Jan 2021 22:53:25 +0000 (22:53 +0000)]
Merge "Make it possible to pass multiple BLE services to settings"
Treehugger Robot [Tue, 5 Jan 2021 21:32:13 +0000 (21:32 +0000)]
Merge changes Ia9c30515,Ie2fe04cd,I334e82ed,Idf55cc17,Id0815ac6, ... am:
8b71b2fe8d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539906
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I323fb7e6f8e9ae54394b9d7f8893052d44b4ad13
Treehugger Robot [Tue, 5 Jan 2021 21:21:04 +0000 (21:21 +0000)]
Merge changes Ia9c30515,Ie2fe04cd,I334e82ed,Idf55cc17,Id0815ac6, ...
* changes:
Properly type bta_ag_at_hsp_cback::tBTA_AG_EVT
Enum-ify stack/include/btm_api_types::tBTM_IO_CAP
Enum-ify bta/av/bta_av_int::BTA_AV_RS_
Enum-ify stack/btm/security_device_record::tBTM_SM4_
Enum-ify stack/include/l2cdefs::tL2CAP_CONN
Enum-ify stack/include/btm_api_types::BTM_LE_KEY
Enum-ify stack/avdt/avdt_int::AVDT_CCB_
Enum-ify bta/include/bta_ag_api::tBTA_AG_EVT
Add bta/ag/bta_ag_int::tBTA_AG_API_RESULT::ToString
Consolidate exits stack/acl/btm_acl::hci_start_role_switch_to_central
Add BTM_LogHistory to BTM_RemoveSco
Enum-ify bta/include/bta_ag_api::tBTA_AG_RES
Add tACL_CONN::SupportsSecureConnections
Re-log stack/btm/btm_sco::btm_sco_disc_chk_pend_for_modechange
Re-log bta/av/bta_av_main::bta_av_sco_chg_cback
Re-log bta/ag/bta_ag_sco::bta_ag_sco_event
Re-log bta/ag/bta_ag_sco::bta_ag_sco_disc_cback
Add tACL_CONN::RemoteAddress
Introduce btm client interface
Properly include stack/include/hci_error_code::<string>
Bill Yi [Tue, 5 Jan 2021 21:14:52 +0000 (21:14 +0000)]
Merge "Merge RQ1A.210105.003 to stage-aosp-master - DO NOT MERGE" into stage-aosp-master
Hansong Zhang [Tue, 5 Jan 2021 21:10:00 +0000 (21:10 +0000)]
L2cap shim: fix L2CA_SendFixedChnlData am:
4ce2fbd121
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1537163
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6195d3b99fa4fd9f0bea81b463c201b85790db48
Hansong Zhang [Tue, 29 Dec 2020 23:11:54 +0000 (15:11 -0800)]
L2cap shim: fix L2CA_SendFixedChnlData
The return value should be L2CAP_DW_*
Test: CtsVerifier
Tag: #gd-refactor
Bug:
141555841
Change-Id: I729cc4a1d85ec47af278d5f81a52991fdd174113
Jakub Pawlowski [Tue, 29 Dec 2020 14:57:38 +0000 (15:57 +0100)]
Make it possible to pass multiple BLE services to settings
In BTIF layer, instead of passing just one service when it is discovered,
wait until service discovery is finished, and then go through whole list.
This enables us to pass multiple services from one device. This will be
useful for the LE Audio profile.
Bug:
176477621
Tag: #feature
Test: manually tested with LE and dual mode devices
Change-Id: I58ec5ff1740a6197b1a26ec74d21bd70b2f244d4
Bill Yi [Tue, 5 Jan 2021 17:16:08 +0000 (09:16 -0800)]
Merge RQ1A.210105.003 to stage-aosp-master - DO NOT MERGE
Merged-In: I06871b929a75b955d19eba4395dc39fdc39383b6
Change-Id: Id037471b811c73822714e704f81ae9f2e72f0860
Chris Manton [Sat, 26 Dec 2020 23:45:32 +0000 (15:45 -0800)]
Properly type bta_ag_at_hsp_cback::tBTA_AG_EVT
Careful...integer width differs
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ia9c3051547825d6e48f55345ece973160e2aa429
Chris Manton [Thu, 5 Nov 2020 23:11:29 +0000 (15:11 -0800)]
Enum-ify stack/include/btm_api_types::tBTM_IO_CAP
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ie2fe04cda49801502d85d66091904d062e2d0064
Chris Manton [Thu, 15 Oct 2020 17:15:23 +0000 (10:15 -0700)]
Enum-ify bta/av/bta_av_int::BTA_AV_RS_
Also add BtaAvRoleSwitchText
Towards readable and loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I334e82ed2d5bb7860b4089b2f2c00158bfb7c2f3
Chris Manton [Fri, 16 Oct 2020 21:14:55 +0000 (14:14 -0700)]
Enum-ify stack/btm/security_device_record::tBTM_SM4_
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Idf55cc17565dcc19dec61d2d477438044af7e318
Chris Manton [Sun, 11 Oct 2020 23:57:42 +0000 (16:57 -0700)]
Enum-ify stack/include/l2cdefs::tL2CAP_CONN
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Id0815ac6ed901b03d660b84d044a0ef903e222ff
Chris Manton [Thu, 10 Sep 2020 03:34:37 +0000 (20:34 -0700)]
Enum-ify stack/include/btm_api_types::BTM_LE_KEY
Towards readable code
Bug:
163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ifb4af8cd36dd7e90f3491e271c7ec91a762c994e
Chris Manton [Sun, 20 Dec 2020 19:04:25 +0000 (11:04 -0800)]
Enum-ify stack/avdt/avdt_int::AVDT_CCB_
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I671c666b03bc7baed46901421ecbaf7c74ff9942
Chris Manton [Tue, 15 Dec 2020 02:17:13 +0000 (18:17 -0800)]
Enum-ify bta/include/bta_ag_api::tBTA_AG_EVT
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ic430d4ca56ce4c734e9f8cf3b157f466a646d8a6
Chris Manton [Tue, 15 Dec 2020 05:22:10 +0000 (21:22 -0800)]
Add bta/ag/bta_ag_int::tBTA_AG_API_RESULT::ToString
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I66a697dec3da605b3580975557bb17fe9e69b0ba
Chris Manton [Thu, 17 Dec 2020 06:50:17 +0000 (22:50 -0800)]
Consolidate exits stack/acl/btm_acl::hci_start_role_switch_to_central
Also add role switch into hci interface
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Icd473efe6ee8c6e0032dd5f5d4d4ed2880537ba1
Chris Manton [Wed, 16 Dec 2020 22:23:20 +0000 (14:23 -0800)]
Add BTM_LogHistory to BTM_RemoveSco
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ifabbe8cf65fc56dbe43105d9cd133a7b6ae97025
Chris Manton [Tue, 15 Dec 2020 05:22:28 +0000 (21:22 -0800)]
Enum-ify bta/include/bta_ag_api::tBTA_AG_RES
Also add bta_ag_result_text
Towards readable and loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I192fd3060cbf0ab739af37b8ebda29edab87c3c5
Chris Manton [Sat, 2 Jan 2021 03:11:49 +0000 (19:11 -0800)]
Add tACL_CONN::SupportsSecureConnections
Towards encapsulation
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I4ede2886aa5d90bfab8fccea5edaed70ad1514e7
Chris Manton [Mon, 14 Dec 2020 23:28:35 +0000 (15:28 -0800)]
Re-log stack/btm/btm_sco::btm_sco_disc_chk_pend_for_modechange
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I7ad0d2e091ae5e89718f9a5fddb74c2025afd909
Chris Manton [Mon, 14 Dec 2020 23:27:47 +0000 (15:27 -0800)]
Re-log bta/av/bta_av_main::bta_av_sco_chg_cback
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I2f5e63c5b647e0913a319808170cfd7983c59a5d
Chris Manton [Mon, 14 Dec 2020 23:27:32 +0000 (15:27 -0800)]
Re-log bta/ag/bta_ag_sco::bta_ag_sco_event
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I47a60377dd59377e757ccc8e675c477649f8bed0
Chris Manton [Mon, 14 Dec 2020 23:27:21 +0000 (15:27 -0800)]
Re-log bta/ag/bta_ag_sco::bta_ag_sco_disc_cback
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Idd8ec314c9fd1109f43f0aed4e0795d1281a97a9
Chienyuan [Tue, 5 Jan 2021 07:08:02 +0000 (15:08 +0800)]
gd: Implement register/unregister scanner
Tag: #refactor
Bug:
169390539
Test: gd/cert/run --host
Change-Id: I677c53501fc19cefa716d053b06698d2b29d4e6d
Chris Manton [Thu, 31 Dec 2020 01:12:15 +0000 (17:12 -0800)]
Add tACL_CONN::RemoteAddress
Towards encapsulation
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Ifc6ee3fe951a34d03a44bdd5273294651c4a0686
Chris Manton [Mon, 4 Jan 2021 01:35:22 +0000 (17:35 -0800)]
Introduce btm client interface
Eventually replace compile-time deps with interfaces
Towards modular code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: If50e41e9f4c2c7bff4eabebe34df9e485972928c
Chris Manton [Sun, 3 Jan 2021 18:51:37 +0000 (10:51 -0800)]
Properly include stack/include/hci_error_code::<string>
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I02a8eb926c478b40a8d6e37443ef2cbf2f2f5d0e
Chienyuan [Wed, 30 Dec 2020 09:55:49 +0000 (17:55 +0800)]
Refactor scanning callback mechanism for GD
Tag: #refactor
Bug:
169390539
Test: gd/cert/run --host
Test: test/run_unit_tests.sh bluetoothtbd_test
Change-Id: I95478172ae83028e377a0bc195fd90dd64e455b3
Chris Manton [Tue, 5 Jan 2021 01:02:36 +0000 (01:02 +0000)]
Re-log stack/l2cap/l2c_link::l2c_link_timeout am:
412744cff9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539059
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I60f609e26866873a2c21f4aa21098ea0cd9902f7
Chris Manton [Tue, 5 Jan 2021 01:02:34 +0000 (01:02 +0000)]
Re-log stack/btm/btm_sco.::btm_sco_removed am:
cca0b42dfd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539058
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6603d6e1bf0ffda4fa33ed25d4a7b95c4dd80ef3
Chris Manton [Tue, 5 Jan 2021 01:02:32 +0000 (01:02 +0000)]
btm_loghistory stack/btm/btm_sco::BTM_CreateSco am:
72c5656058
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539057
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0c1704904b0f20abadf29d86639f344f8a62b7ae
Chris Manton [Tue, 5 Jan 2021 01:02:29 +0000 (01:02 +0000)]
Re-log btif/src/btif_profile_queue::btif_queue_connect_next am:
01fb7747a4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539056
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idc224e5a8cc1179242b63f1bc408a8c9a12ad1c2
Chris Manton [Tue, 5 Jan 2021 01:02:27 +0000 (01:02 +0000)]
Re-log btif/src/btif_profile_queue::queue_int_add am:
eb4a8b6923
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539055
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3c5acbb8fb24d3b30a057a055decea41eda0f6fb
Chris Manton [Tue, 5 Jan 2021 01:02:24 +0000 (01:02 +0000)]
Re-log btif/src/btif_profile_queue::ConnectNode am:
7bcf7bcd49
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539054
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0961cac0dd461dcf4d4006f7818580d3fbd3d9d0
Chris Manton [Tue, 5 Jan 2021 01:02:22 +0000 (01:02 +0000)]
Re-log btif/src/btif_hf::HeadsetInterface::PhoneStateChange am:
a62beb27f7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539053
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I91f0915ce7fef5e97b2b4cb79c1c727af116b4cc
Chris Manton [Tue, 5 Jan 2021 01:02:20 +0000 (01:02 +0000)]
Re-log btif/src/btif_av::src_connect_sink am:
b53bf0ee77
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539052
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If9c2bce567e51894bdb19a88aa6f898cfcb567c7
Chris Manton [Tue, 5 Jan 2021 01:02:17 +0000 (01:02 +0000)]
btm_loghistory: btm_sec_auth_complete::Bonding am:
387de3d5c7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539051
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I294d4468b8f1d9e13bc5859ec132f7c236f89a9c
Chris Manton [Tue, 5 Jan 2021 01:02:15 +0000 (01:02 +0000)]
Consolidate exits stack/btm/btm_sec:NotifyBondingChange am:
bb55b22611
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539050
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6d0d27eaae40f275fb30293e4261364fe60f6f71
Chris Manton [Tue, 5 Jan 2021 01:02:13 +0000 (01:02 +0000)]
Add btm_history for btif/src/btif_av::a2dp am:
7cd78259c7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539049
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib52798f620ed350cc679296b616bfa450cb138ab
Chris Manton [Tue, 5 Jan 2021 01:02:11 +0000 (01:02 +0000)]
Remove friends stack/acl/acl:: am:
54262401dd
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539060
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I42fc16be684e5d91d11553d6435ab8240e819c95
Chris Manton [Tue, 5 Jan 2021 01:02:09 +0000 (01:02 +0000)]
Use tACL_CONN::is_transport_ am:
868d5854e9
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539047
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I48974a2370651218413ac1878030b662236a52e8
Chris Manton [Tue, 5 Jan 2021 01:02:06 +0000 (01:02 +0000)]
Re-log StackAclBtmAcl::btm_acl_role_changed am:
f7dd44fe24
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539046
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I45d9a75acbcc5e2275557fc7e247af0a4e2471b1
Chris Manton [Tue, 5 Jan 2021 01:02:04 +0000 (01:02 +0000)]
Re-log BTM_SetPowerMode am:
28c324a7fc
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539045
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1d40e439599fd88fd39b95cc9b7d1c61388e5d32
Chris Manton [Tue, 5 Jan 2021 01:02:02 +0000 (01:02 +0000)]
Remove #ifdef BTM_SSR_INCLUDED am:
62beadb1a2
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539044
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic9c2598301b0b6f1dc3861edd0d1cddbd72813d3
Chris Manton [Tue, 5 Jan 2021 01:02:00 +0000 (01:02 +0000)]
Add headless dumpsys and gd init flags options am:
3d41f6fb13
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539043
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5545796b858c36c5e2bb7b9400768722c579e57f
Chris Manton [Tue, 5 Jan 2021 01:01:57 +0000 (01:01 +0000)]
Plumb in main/shim/acl::connection interface am:
c39edb5ad1
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539042
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6e4dfb3dfc4c25cf4c7d86f038e52e4105c0887b
Chris Manton [Tue, 5 Jan 2021 01:01:55 +0000 (01:01 +0000)]
Introduce LinkConnectionInterface am:
a33fafce2a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539041
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I372e0b0314d1b47310858bb1580cb4cc24dfe4e1
Chris Manton [Tue, 5 Jan 2021 01:01:53 +0000 (01:01 +0000)]
Add tACL_CONN::Handle am:
5376c2f7f5
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1537183
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6dcf4598df2fba7d9a181497c4664063bfa112e4
Chris Manton [Tue, 5 Jan 2021 01:01:50 +0000 (01:01 +0000)]
Add headless::connect test am:
716caa982a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1536998
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I632459b435b6984c14482b53361d3e8f7f14cc4f
Chris Manton [Tue, 5 Jan 2021 01:01:46 +0000 (01:01 +0000)]
Check shim bluetooth::shim::is_gd_link_policy_enabled am:
864fa3f5b7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1538964
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7c8ea4d54ae9d7bc9167585aebc28ba10792dd56
Chris Manton [Tue, 5 Jan 2021 01:01:43 +0000 (01:01 +0000)]
Shim in is_gd_link_policy_enabled am:
a501724364
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1537185
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie089fb9194853091a43e05911483c0925fe30dfe
Chris Manton [Tue, 5 Jan 2021 01:01:40 +0000 (01:01 +0000)]
Add main::shim::link_policy implementation am:
2431029998
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1537181
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia4c9857212d30543ea8f16365cf5663b82c6cb44
Chris Manton [Tue, 5 Jan 2021 01:01:37 +0000 (01:01 +0000)]
Introduce tACL_CB_::Reset() am:
1ea74f39fb
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1536999
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1b2da8a753f9d6ef998393bfd5feeaacc77097c4
Chris Manton [Tue, 5 Jan 2021 01:01:34 +0000 (01:01 +0000)]
Add tACL_CB::tACL_CONN::policy am:
afd4446918
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1538962
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib6eeaa6c67b04469f8808308c6b26899e877aacc
Chris Manton [Tue, 5 Jan 2021 01:01:31 +0000 (01:01 +0000)]
De-anonymize stack/acl/acl::tACL_CONN am:
17ea907215
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1539442
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia93feb166fc0b9ba3059e30a14d3694902f4c8f9
Chris Manton [Tue, 5 Jan 2021 01:01:28 +0000 (01:01 +0000)]
gd_acl: Add link policy mode methods am:
46f68b9523
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1536994
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I43a25cb225fa72d2e16638d56a59bda2b00461cb
Chris Manton [Tue, 5 Jan 2021 01:01:25 +0000 (01:01 +0000)]
Introduce main/shim/link_policy.h am:
0ec232a884
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1538963
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic0934c54b1db60fc1f40c98e4b5e242a9aff4598
Chris Manton [Tue, 5 Jan 2021 01:01:21 +0000 (01:01 +0000)]
Connect gd acl shim sniff subrating am:
35a84a98c6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1538961
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I42ba5943477cb5be0505efcb54c4c9251bca0bde
Chris Manton [Tue, 5 Jan 2021 01:00:24 +0000 (01:00 +0000)]
gd: Handle EventCode::SNIFF_SUBRATING in acl connection am:
9bb2d05e5a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1536991
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3ace906e13deff8c3ea1b036b8bbd76b2874cc98
Chris Manton [Sat, 26 Dec 2020 23:06:35 +0000 (15:06 -0800)]
Re-log stack/l2cap/l2c_link::l2c_link_timeout
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I2b979cc5d9d38af829b03092a66f4e67b1bf05c5
Chris Manton [Sat, 26 Dec 2020 23:06:26 +0000 (15:06 -0800)]
Re-log stack/btm/btm_sco.::btm_sco_removed
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I41c61bab20c2b5fdd544dcb66fd6d0e8dab68813
Chris Manton [Sat, 26 Dec 2020 23:06:07 +0000 (15:06 -0800)]
btm_loghistory stack/btm/btm_sco::BTM_CreateSco
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I48603cf0fccc0eba5086ae9a6c0f3431382a824b
Chris Manton [Sat, 26 Dec 2020 23:05:35 +0000 (15:05 -0800)]
Re-log btif/src/btif_profile_queue::btif_queue_connect_next
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I4393c8c2a5a1e13500c782d4ad694c0194b226e0
Chris Manton [Sat, 26 Dec 2020 23:05:26 +0000 (15:05 -0800)]
Re-log btif/src/btif_profile_queue::queue_int_add
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I3c6f66f8bf3f02a6ad5d9029f8ff77aebb50a625
Chris Manton [Sat, 26 Dec 2020 23:05:07 +0000 (15:05 -0800)]
Re-log btif/src/btif_profile_queue::ConnectNode
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I8a11860ac67c7700b8fad18094ee1b334a08c7b5
Chris Manton [Sat, 26 Dec 2020 23:04:45 +0000 (15:04 -0800)]
Re-log btif/src/btif_hf::HeadsetInterface::PhoneStateChange
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I15eaff0ca87530a27c4ac52d85c1e38aa87fb4e0
Chris Manton [Sat, 26 Dec 2020 23:04:26 +0000 (15:04 -0800)]
Re-log btif/src/btif_av::src_connect_sink
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I2771820eb4a6cb4be372284d56b94ff6d4fdfce3
Chris Manton [Mon, 14 Dec 2020 06:47:17 +0000 (22:47 -0800)]
btm_loghistory: btm_sec_auth_complete::Bonding
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I785ae8c22b6fed7a7f95a46dc5d026a0ef9f7328
Chris Manton [Mon, 14 Dec 2020 06:46:37 +0000 (22:46 -0800)]
Consolidate exits stack/btm/btm_sec:NotifyBondingChange
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I60dbeba12920ef4434cf2ccc91dcd8821ce8fbab
Chris Manton [Mon, 14 Dec 2020 06:21:40 +0000 (22:21 -0800)]
Add btm_history for btif/src/btif_av::a2dp
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I72835a8d229002d9f963e2c8c476605bf125bd01
Chris Manton [Fri, 1 Jan 2021 01:15:43 +0000 (17:15 -0800)]
Remove friends stack/acl/acl::
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id:
I73de315993083bf7756fb9c33be4150e040bc89a
Change-Id: Ie104ecf307d2a620dc6187c9008222e2f43b2672
Chris Manton [Fri, 11 Dec 2020 00:28:58 +0000 (16:28 -0800)]
Use tACL_CONN::is_transport_
Towards encapsulated code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I065acf0d31c25750649249336120fa7acf62b33b
Chris Manton [Fri, 11 Dec 2020 00:28:48 +0000 (16:28 -0800)]
Re-log StackAclBtmAcl::btm_acl_role_changed
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I8161729fc4f71f2c7dcf1b33ec73dfe4f861b8c4
Chris Manton [Fri, 11 Dec 2020 00:21:10 +0000 (16:21 -0800)]
Re-log BTM_SetPowerMode
Towards loggable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: Id7c72fa3eff6a88d3574bcf2a8d715badd87e2c8
Chris Manton [Sun, 20 Dec 2020 17:14:05 +0000 (09:14 -0800)]
Remove #ifdef BTM_SSR_INCLUDED
SSR may not be used but will be compiled.
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I51cecc883443dcbfb84f78d1493e739060dbc04c
Chris Manton [Sun, 27 Dec 2020 22:00:46 +0000 (14:00 -0800)]
Add headless dumpsys and gd init flags options
Bug:
147316415
Test: cert
Tag: #refactor
Change-Id: Ifb4c21b0ee771e11f1d0aac7e8b963efde613fc8
Chris Manton [Sun, 27 Dec 2020 17:52:15 +0000 (09:52 -0800)]
Plumb in main/shim/acl::connection interface
Bug:
166280067
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I5646a63e9e9a686b1d5538d0d994f941233310cf
Chris Manton [Sun, 27 Dec 2020 17:47:40 +0000 (09:47 -0800)]
Introduce LinkConnectionInterface
Bug:
166280067
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I0b12d97ffee9db3cda508067836c85ceb8a04bda
Chris Manton [Tue, 29 Dec 2020 03:23:57 +0000 (19:23 -0800)]
Add tACL_CONN::Handle
Towards readable code
Bug:
163134718
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I7cd3c2a460f358e393ca6c84b1b3cf6ec845b83e