OSDN Git Service
Jakub Pawlowski [Wed, 24 Feb 2021 01:26:32 +0000 (01:26 +0000)]
Stabilize hci_layer_test am:
e26c52c7c6
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1602353
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I44db79e18f85f59d4372a497871845a9547b5bdf
Jakub Pawlowski [Wed, 24 Feb 2021 01:21:03 +0000 (01:21 +0000)]
Merge changes I5c8ad512,Idce102cd am:
730c48e66b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1601473
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3e2d596358b5b056410a25b6bc3e64afeaf1a0c0
Treehugger Robot [Wed, 24 Feb 2021 01:15:33 +0000 (01:15 +0000)]
Merge "BluetoothAudioHAL: Don't cache the providers factory locally" am:
0be218317a
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1601732
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6aa416cf79d878b7776e99b75ab7ce6de07ab033
More Kuo [Wed, 24 Feb 2021 00:39:44 +0000 (00:39 +0000)]
Merge "Rename for updating BluetoothA2dp API naming" am:
2443531023
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1596197
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id8d054015deabd492d92dfb3c93f41c5735246e6
Treehugger Robot [Wed, 24 Feb 2021 00:38:37 +0000 (00:38 +0000)]
Merge "Add explicit rate units for SCO fields" am:
ec25c520ed
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1595221
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic6582b7576547b9be28cddb4bd60f40653e77e16
Andrew Cheng [Tue, 23 Feb 2021 23:38:25 +0000 (23:38 +0000)]
Merge "Surface ACL disconnect reasons from native to Java" am:
ff63225f82
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1595219
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie1d0be92648da4263af4b68473161e105035c0fe
Jakub Pawlowski [Tue, 23 Feb 2021 18:26:22 +0000 (19:26 +0100)]
Stabilize hci_layer_test
Currently this test fails around 1 every 10 runs, with null pointer
exception.
Bug:
177907117
Tag: #feature
Test: atest bluetooth_test_gd --gtest_filter=HciTest.receiveMultiple* --gtest_repeat=100
Change-Id: I58de30ae493dc1a2764e36a4451906218632fd47
Jakub Pawlowski [Tue, 23 Feb 2021 15:44:22 +0000 (15:44 +0000)]
Merge changes I5c8ad512,Idce102cd
* changes:
Support Bluetooth HAL 1.1 in GD
Rust HAL: Store header size as constant rather than enum
Treehugger Robot [Tue, 23 Feb 2021 15:11:05 +0000 (15:11 +0000)]
Merge "BluetoothAudioHAL: Don't cache the providers factory locally"
Jakub Pawlowski [Tue, 23 Feb 2021 08:10:38 +0000 (09:10 +0100)]
Support Bluetooth HAL 1.1 in GD
Because ISO support is coming
Bug:
177907117
Tag: #feature
Test: run GD stack on device supporting 1.1HAL, verify it's choosen
Change-Id: I5c8ad512b93be443e09c02a435f9fd08179e4367
Jakub Pawlowski [Tue, 23 Feb 2021 10:35:53 +0000 (11:35 +0100)]
Rust HAL: Store header size as constant rather than enum
Enums are not appropriate here, headers size can be equal, i.e. for ACL
and upcoming ISO packets.
Bug:
177907117
Tag: #feature
Test: compilation
Change-Id: Idce102cd4f42fb37c723129e80671cedb5c6858a
Cheney Ni [Tue, 23 Feb 2021 12:03:45 +0000 (20:03 +0800)]
BluetoothAudioHAL: Don't cache the providers factory locally
This object is provided by Audio HAL, and we should get the
service every time while fetching a provider. It fixes the crash
which is due to out-of-sync in case of Audio HAL restarting.
Fixes:
173538746
Tag: #stability
Test: atest bluetooth-test-audio-hal-interface
restart Audio HAL when Bluetooth is ON
Change-Id: I1e88136c768a1d5fdcd70cfd9e5f1a3a13645333
TreeHugger Robot [Tue, 23 Feb 2021 08:43:25 +0000 (08:43 +0000)]
Merge "Merge ab/
7061308 into stage." into stage-aosp-master
More Kuo [Tue, 23 Feb 2021 02:37:41 +0000 (02:37 +0000)]
Merge "Rename for updating BluetoothA2dp API naming"
Treehugger Robot [Mon, 22 Feb 2021 21:13:39 +0000 (21:13 +0000)]
Merge "Add explicit rate units for SCO fields"
Andrew Cheng [Mon, 22 Feb 2021 19:25:13 +0000 (19:25 +0000)]
Merge "Surface ACL disconnect reasons from native to Java"
Myles Watson [Mon, 22 Feb 2021 17:22:02 +0000 (17:22 +0000)]
Use Builders for Iso and Sco am:
d5ddc63609
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1597673
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0f18413c10f8dfec22c6e58d07ba8e7aef1d6e53
Xin Li [Sun, 21 Feb 2021 17:25:20 +0000 (09:25 -0800)]
Merge ab/
7061308 into stage.
Bug:
180401296
Test: Manual
Tag: #compatibility
Merged-In: I7e4d41466d34c565f4f0f410292f84642c8ee1dd
Change-Id: I13a069c9e36cc2e91f51883e82243f3ad7f77cac
Myles Watson [Sat, 20 Feb 2021 04:57:57 +0000 (20:57 -0800)]
Use Builders for Iso and Sco
Change-Id: Ic0b237d6b48d3b7fe5b190a74940cb7eab3f9d14
Myles Watson [Sat, 20 Feb 2021 05:30:21 +0000 (05:30 +0000)]
Merge "Packet: Remove non-standard iterator cases" am:
32467ca636
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1585087
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia4aff902ec19e235d02a90b9eee92ff089972cc6
Chris Manton [Fri, 19 Feb 2021 21:33:12 +0000 (13:33 -0800)]
Add explicit rate units for SCO fields
Bug:
175844355
Test: gd/cert/run
Tag: #gd-refactor
Change-Id: I2ecc05a2ef46016929afedeafd44ef7d9a77f333
Myles Watson [Sat, 20 Feb 2021 04:47:25 +0000 (04:47 +0000)]
Merge "Packet: Remove non-standard iterator cases"
Andrew Cheng [Fri, 15 Jan 2021 01:28:13 +0000 (17:28 -0800)]
Surface ACL disconnect reasons from native to Java
HCI disconnect commands and events have an accompanying "reason"
parameter comprising of a HCI error code. This can be useful in both
debugging and re-connection logic at the Java level.
This CL grabs the HCI codes from native and passes it up to Java via an
extra parameter to existing ACL connection callbacks.
Tag: #feature
Bug:
177668957
Test: atest net_test_bluetooth # verify no regressions
Test: atest bluetoothtbd_test # verify no regressions
Test: atest bt_headless # verify test still builds
Test: manually disconnect local and remote devices and check logcats
from Java layer for disconnect reasons
Change-Id: Idcb1711345b515c5f60e55430352f5f4ff252d69
Chris Manton [Sat, 20 Feb 2021 01:53:06 +0000 (01:53 +0000)]
Merge changes I026085cc,I7b090528,I0223c420,I3884a9b3 am:
ddc0331c2d
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1574408
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I00558e8d1b535fcc6a96be4cdf95f5c40c84f3f2
Myles Watson [Sat, 20 Feb 2021 01:52:11 +0000 (01:52 +0000)]
Merge changes I453ace5a,I6184560e am:
872d614c0f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1597025
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie4c21bbe5c4d8fc863de9e4d9aa362cac55afafa
Chris Manton [Sat, 20 Feb 2021 01:50:08 +0000 (01:50 +0000)]
Merge changes I026085cc,I7b090528,I0223c420,I3884a9b3
* changes:
Re-include bta/av/bta_av_api.cc
Re-include bta/av/bta_av_act.cc
Re-include bta/av/bta_av_aact.cc
Re-include bta/ar/bta_ar.cc
Myles Watson [Sat, 20 Feb 2021 01:24:03 +0000 (01:24 +0000)]
Merge changes I453ace5a,I6184560e
* changes:
RootCanal: Support LeReadRemoteFeatures
RootCanal: Send LeReadRemoteFeaturesStatus
Michael Sun [Sat, 20 Feb 2021 01:18:26 +0000 (01:18 +0000)]
btaa: add btaa btif implementation am:
c33a6b3acc
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1508620
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I86ba41f9ea7506023f19f91e387e6901f8e08aa0
Myles Watson [Fri, 29 Jan 2021 23:54:18 +0000 (15:54 -0800)]
Packet: Remove non-standard iterator cases
Clang-tidy was complaining about the non-const iterators.
Bug:
180016989
Test: cert/run
Tag: #gd-refactor
Change-Id: I2223955ab35af4f20b9dccbc1313a4e66a4734fc
Treehugger Robot [Fri, 19 Feb 2021 23:15:56 +0000 (23:15 +0000)]
Merge "btaa: add btaa shim implementation" am:
51075f0932
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1508619
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I47335ca1a8ff52a3feba82770c32036a19710fb9
Myles Watson [Fri, 19 Feb 2021 23:15:39 +0000 (23:15 +0000)]
Merge "RootCanal: Check for disallowed commands" am:
7cc80fdcc8
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1585089
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib8b46700722b74a6e86839c3ce2dccbb05b3950c
Treehugger Robot [Fri, 19 Feb 2021 23:15:21 +0000 (23:15 +0000)]
Merge "Rootcanal: fix ISO packet routing" am:
8e094a75ed
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1596561
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I46192917ff91bc60ae747c8ca73ab867d5fcb3c1
Treehugger Robot [Fri, 19 Feb 2021 23:13:31 +0000 (23:13 +0000)]
Merge "[GD HCI] Add BtStopWatch log tag" am:
a8016ba3ba
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1595372
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ife249fc3cacec14252531f9014b2fb7cd30cb2f8
Michael Sun [Mon, 23 Nov 2020 18:54:29 +0000 (18:54 +0000)]
btaa: add btaa btif implementation
Implement the btaa btif layer to connect gd with btif through the shim
layer.
Tag: #feature
Bug:
172501038
Test: m
Change-Id: I5a463f854e6b4cd7cfae5f6b8100c62a1b8903d5
Treehugger Robot [Fri, 19 Feb 2021 23:04:05 +0000 (23:04 +0000)]
Merge "btaa: add btaa shim implementation"
Myles Watson [Fri, 19 Feb 2021 23:02:28 +0000 (15:02 -0800)]
RootCanal: Support LeReadRemoteFeatures
Bug:
180748274
Test: cert/run LeAclManagerTest
Tag: #root-canal
Change-Id: I453ace5a55170e58fd70b128d703b331d57ef219
Treehugger Robot [Fri, 19 Feb 2021 22:39:24 +0000 (22:39 +0000)]
Merge "Fix use-after-free in async_manager.cc." am:
8544b4dae4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1584463
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9c6a416d8c3624b72f5a3155ab844d8b265a2d43
Myles Watson [Fri, 19 Feb 2021 22:29:37 +0000 (22:29 +0000)]
Merge "RootCanal: Check for disallowed commands"
Treehugger Robot [Fri, 19 Feb 2021 22:27:23 +0000 (22:27 +0000)]
Merge "Rootcanal: fix ISO packet routing"
Treehugger Robot [Fri, 19 Feb 2021 22:20:12 +0000 (22:20 +0000)]
Merge "[GD HCI] Add BtStopWatch log tag"
Myles Watson [Fri, 19 Feb 2021 21:52:10 +0000 (13:52 -0800)]
RootCanal: Send LeReadRemoteFeaturesStatus
Bug:
180748274
Test: cert/run LeAclManagerTest
Tag: #root-canal
Change-Id: I6184560ed739563af1cc8224271c40f724f56577
Treehugger Robot [Fri, 19 Feb 2021 21:47:21 +0000 (21:47 +0000)]
Merge "Fix use-after-free in async_manager.cc."
Chris Manton [Thu, 28 Jan 2021 03:28:57 +0000 (19:28 -0800)]
Re-include bta/av/bta_av_api.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I026085cc77b19955f22a8524e6b303d1fe0de5ce
Chris Manton [Thu, 28 Jan 2021 03:24:29 +0000 (19:24 -0800)]
Re-include bta/av/bta_av_act.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I7b0905289b76cd444dac6f083f48df34b7d54a31
Chris Manton [Sat, 23 Jan 2021 17:36:58 +0000 (09:36 -0800)]
Re-include bta/av/bta_av_aact.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I0223c4201b359063f3ca4c97bd399d1bcf4df03a
Chris Manton [Thu, 28 Jan 2021 03:24:38 +0000 (19:24 -0800)]
Re-include bta/ar/bta_ar.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I3884a9b3c3fba6d2958ac058466521e1a6b547a8
Michael Sun [Mon, 23 Nov 2020 18:30:34 +0000 (18:30 +0000)]
btaa: add btaa shim implementation
Implement the btaa shim layer to connect gd with btif.
Tag: #feature
Bug:
172501038
Test: m
Change-Id: I8f6ec9d0b74425184ca19128167ed4ae554b4197
Treehugger Robot [Fri, 19 Feb 2021 19:49:35 +0000 (19:49 +0000)]
Merge "gd: Get local address from acl module for legacy SMP" am:
870b3090b4
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1596196
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5e7fcb0167036c5b1ed884d92321a330d010e0cf
Jakub Pawlowski [Fri, 19 Feb 2021 18:52:51 +0000 (19:52 +0100)]
Rootcanal: fix ISO packet routing
Bug:
177907117
Test: NotImlementedYet
Change-Id: Ic75f6a11b5494fd351a307647337817d2bbb13ea
Jack He [Thu, 18 Feb 2021 21:25:44 +0000 (13:25 -0800)]
[GD HCI] Add BtStopWatch log tag
* StopWatch logs are very verbose, adding a tag so that we can
filter or disable it via config setup
Bug:
164973960
Test: make and run BT stack
Tag: #gd-refactor
Change-Id: I5cd8f24228948559ecee180fb57727469fe7eeb8
Treehugger Robot [Fri, 19 Feb 2021 18:36:11 +0000 (18:36 +0000)]
Merge "gd: Get local address from acl module for legacy SMP"
Myles Watson [Wed, 10 Feb 2021 17:16:52 +0000 (09:16 -0800)]
RootCanal: Check for disallowed commands
Bug:
180015700
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I66b7fb35e470c543b040a3de094b650c59cf0e7e
More Kuo [Fri, 19 Feb 2021 10:32:10 +0000 (18:32 +0800)]
Rename for updating BluetoothA2dp API naming
- Rename setBufferMillis to setBufferLengthMillis
Bug:
179814567
Test: Build
Change-Id: I62bda971e57667daa8a75ebaa7099fae01aacf02
Chienyuan [Fri, 19 Feb 2021 09:19:07 +0000 (17:19 +0800)]
gd: Get local address from acl module for legacy SMP
Tag: #gd-refactor
Bug:
179452679
Test: gd/cert/run --host
Test: manual, pair LE device
Change-Id: I35e4ef614272865bd52ec66959384279705cc042
Josh Wu [Fri, 19 Feb 2021 04:01:34 +0000 (04:01 +0000)]
Merge changes I8c94b803,Ie96668df am:
fa4e77c825
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1542612
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I70b4dc0fd23090b4688586cfbaa02c9c667b2015
Josh Wu [Fri, 19 Feb 2021 02:54:26 +0000 (02:54 +0000)]
Merge changes I8c94b803,Ie96668df
* changes:
SCO: codec parameters refactor
HFP: Refactor HFP version flags
Chris Manton [Fri, 19 Feb 2021 01:06:20 +0000 (01:06 +0000)]
Re-include bta/ag/bta_ag_rfc.cc am:
8c72e6e048
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1574402
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I0f60905f853364a670fd0ddea93f5cf6fd090ef3
Chris Manton [Fri, 19 Feb 2021 01:06:17 +0000 (01:06 +0000)]
Re-include bta/ag/bta_ag_main.cc am:
2379f18fd7
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1574401
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I32d39b1ddddbe848ffda5360377310c6eb65c650
Chris Manton [Fri, 19 Feb 2021 01:06:13 +0000 (01:06 +0000)]
Re-include bta/ag/bta_ag_cmd.cc am:
8a1425a9ff
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1574400
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I157eaac308b5b5210566ca280d8e9d44c901749b
Chris Manton [Fri, 19 Feb 2021 01:06:10 +0000 (01:06 +0000)]
Re-include bta/ag/bta_ag_cfg.cc am:
6fcb70998f
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1572919
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8efc1288541ac65a13134cf43bb03b6da6bc54a1
Chris Manton [Fri, 19 Feb 2021 01:06:07 +0000 (01:06 +0000)]
Re-include bta/ag/bta_ag_at.cc am:
0b2647153b
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1572917
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iae0d883c96ab96b44e7f6b273e7302570f1e9900
Chris Manton [Fri, 19 Feb 2021 01:06:03 +0000 (01:06 +0000)]
Re-include bta/ag/bta_ag_api.cc am:
0eb06df009
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1572916
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If0164c15eadb9277ed0b088ce041e3507d5f1459
Chris Manton [Fri, 19 Feb 2021 01:05:12 +0000 (01:05 +0000)]
Re-include bta/ag/bta_ag_act.cc am:
10af6e5603
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1572915
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8747ee2d3e57354dea2a4864831e8e914254617d
Chris Manton [Fri, 22 Jan 2021 17:14:20 +0000 (09:14 -0800)]
Re-include bta/ag/bta_ag_rfc.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: Idb7801752398c852ae1855f0812b2f6b99e5ac80
Chris Manton [Sun, 24 Jan 2021 23:49:40 +0000 (15:49 -0800)]
Re-include bta/ag/bta_ag_main.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I872bd18433ab622509de50100d397fd78b28cfa4
Chris Manton [Thu, 28 Jan 2021 03:12:03 +0000 (19:12 -0800)]
Re-include bta/ag/bta_ag_cmd.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I4e6871177c308eedf56050ade5b20400e35482c4
Chris Manton [Thu, 28 Jan 2021 03:07:26 +0000 (19:07 -0800)]
Re-include bta/ag/bta_ag_cfg.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: Ia338b436c41ff1aca7bb1f40c6029a0a041cde51
Chris Manton [Thu, 18 Feb 2021 17:00:00 +0000 (09:00 -0800)]
Re-include bta/ag/bta_ag_at.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I0f6ef323bad78c04b67d96ba861c6132be793b6a
Chris Manton [Thu, 28 Jan 2021 02:59:56 +0000 (18:59 -0800)]
Re-include bta/ag/bta_ag_api.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I55f3cb8055e9f126605d4976a4568256db090772
Chris Manton [Thu, 28 Jan 2021 02:56:11 +0000 (18:56 -0800)]
Re-include bta/ag/bta_ag_act.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I5f09d63761b01c9f6ce96670aa30766e42b64443
Hansong Zhang [Thu, 18 Feb 2021 21:42:31 +0000 (21:42 +0000)]
L2cap: Don't erase link when outgoing packet pending am:
680c06cb37
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1576743
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I932ca21b25b6f41361708e4691ef4c28de488510
Hansong Zhang [Thu, 4 Feb 2021 22:51:18 +0000 (14:51 -0800)]
L2cap: Don't erase link when outgoing packet pending
Otherwise we will post to L2cap handler DataController::OnSdu with
deleted object.
Test: LE mouse
Bug:
179326888
Tag: #gd-refactor
Change-Id: I517ac9890cc8d3894067bcad346a80765d24aeca
Treehugger Robot [Thu, 18 Feb 2021 19:59:35 +0000 (19:59 +0000)]
Merge changes Ib334609b,Ic94f70fc am:
355d5188cf
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1593216
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iffab76de05ac8c953886dd127cdb6fc1bda65911
Treehugger Robot [Thu, 18 Feb 2021 19:58:33 +0000 (19:58 +0000)]
Merge "Rootcanal: fix typos in handling CIS" am:
1556cb8a14
Original change: https://android-review.googlesource.com/c/platform/system/bt/+/
1591915
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I19f4fdccb4901e75d58e7463fc2ff3bef09ed8b2
Treehugger Robot [Thu, 18 Feb 2021 19:22:55 +0000 (19:22 +0000)]
Merge changes Ib334609b,Ic94f70fc
* changes:
[GD ACL] Add btsnooz support in GD
GD-Common: Add CircularBuffer::Drain() method
Treehugger Robot [Thu, 18 Feb 2021 18:21:11 +0000 (18:21 +0000)]
Merge "Rootcanal: fix typos in handling CIS"
Jack He [Thu, 18 Feb 2021 07:52:51 +0000 (23:52 -0800)]
[GD ACL] Add btsnooz support in GD
* Support in-memory btsnooz log in GD
* It uses maximum of 256KB of memory to store HCI commands, events,
L2CAP signaling channel data, and first 14 bytes of other ACL
packet
* The data is dumped to a log file when dumpsys is taken for the
Bluetooth module and when Bluetooth stack shutsdown so that
developer can debug Bluetooth issues with it
Bug:
180569201
Test: gd/cert/run
Test: bluetooth_test_gd
Tag: #gd-refactor
Change-Id: Ib334609b0f6667846f458d2967ffa520d3af39e3
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"
Jack He [Thu, 18 Feb 2021 07:44:57 +0000 (23:44 -0800)]
GD-Common: Add CircularBuffer::Drain() method
* Drain() allows a circular buffer to return and clear
its content so that one can clear a circular buffer
in-place
* Moreover, Drain() uses move semantic to avoid copying
its content and hence is more efficient
* Modify Pull() to use range-based initialization to do
blocked copy that tends to be more efficient
* Add circular buffer unit test to compilation target
and presubmit
Bug:
180569201
Test: gd/cert/run
Test: bluetooth_test_gd
Tag: #gd-refactor
Change-Id: Ic94f70fc862f244dcdc6b9d5f2526c45d0b8eb52
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:44:08 +0000 (16:44 +0100)]
Rootcanal: fix typos in handling CIS
* fix order of some badly passed parameters
* add/fix error log messages
Change-Id: Ie13580b6051a6afa15615b634d9c42ae0fd5f5d6
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