OSDN Git Service
Chris Manton [Fri, 26 Feb 2021 18:08:27 +0000 (10:08 -0800)]
Stat-ify bta/hh/bta_hh_le::bta_hh_le_deregister_input_notif
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I17a8ef4f1794f23760cf480c161d82b621bbde46
Chris Manton [Fri, 26 Feb 2021 03:16:37 +0000 (19:16 -0800)]
Streamline bta/hh/bta_hh_le::bta_hh_le_remove_dev_bg_conn
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I7e7fe917cbf8b4695f2c209ace1bc0783e5adef9
Chris Manton [Fri, 26 Feb 2021 03:16:26 +0000 (19:16 -0800)]
Streamline bta/hh/bta_hh_le::bta_hh_gatt_close
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I02e2cd2064b387d42269b08fd178c74222cbf2d3
Chris Manton [Fri, 26 Feb 2021 03:15:54 +0000 (19:15 -0800)]
Streamline bta/gatt/bta_gattc_act::bta_gattc_process_api_open_cancel
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I7dbfd0e27fee14ad0161fbe96b6f4a9412503cbb
Chris Manton [Fri, 26 Feb 2021 03:02:54 +0000 (19:02 -0800)]
Streamline stack/hid/hidh_conn::hidh_conn_disconnect
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I9cec9a720ef56e5e73f5830884dcd12abdc875fb
Chris Manton [Fri, 26 Feb 2021 03:02:40 +0000 (19:02 -0800)]
Streamline stack/hid/hidh_conn::hidh_l2cif_disconnect
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I5ee1f8e3f3ec1c1783dab96bd27693721608fdf2
Chris Manton [Fri, 26 Feb 2021 02:53:38 +0000 (18:53 -0800)]
Canonicalize stack/hid/hidh_conn.cc
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I9e233853056f4694d484212c9252fb3e0e9ab41b
Chris Manton [Fri, 26 Feb 2021 02:31:51 +0000 (18:31 -0800)]
Streamline bta/hh/bta_hh_act::bta_hh_api_disc_act
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I7fca94e52935f0280e1e03d869a4711d7d843aab
Chris Manton [Fri, 26 Feb 2021 21:01:31 +0000 (13:01 -0800)]
Remove unnecessary declarations btif/src/btif_hh
And unused #defs
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: Ia1ff2588ee93c7df4f913dafb8a7ff8af31923a8
Chris Manton [Fri, 26 Feb 2021 02:04:39 +0000 (18:04 -0800)]
Streamline btif/src/btif_hh::btif_hh_disconnect
And remove unused #defs
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I0842b2c97e08e1c29138f6c5cf9eecbd061a296b
Chris Manton [Sat, 27 Feb 2021 00:29:30 +0000 (16:29 -0800)]
Add le acceptlist size to dumpsys
Bug:
180781174
Test: cert
Tag: #refactor
Change-Id: I5473b335da078b21b8e9cebf06c21da150473dd2
Chris Manton [Fri, 26 Feb 2021 02:04:27 +0000 (18:04 -0800)]
Remove unnecessary #def guard bta/hh/bta_hh_main::BTA_HH_DEBUG
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I3c36cac4e582ff83e4ffe5a116c0dc0d750d3ea7
Chris Manton [Fri, 26 Feb 2021 23:12:03 +0000 (15:12 -0800)]
Explicitly name stack/acl::tACL_CONN
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: Id7b934e9676e356d5f5580398c0268b42f557778
Chris Manton [Fri, 26 Feb 2021 02:39:13 +0000 (18:39 -0800)]
Enum-ify stack/include/hiddefs::tHID_STATUS
Also add tHID_STATUS::_text and CASE_RETURN_TEXT cleanup
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I3f9189f01907ef9e6e7253a5d1b4a2a55534d05c
Grzegorz Kołodziejczyk [Thu, 25 Feb 2021 17:11:15 +0000 (17:11 +0000)]
BluetoothAudioHAL: Avoid deadlock for get Providers Factory 2.1
Single instance of mutex is used for getting all Providers Factories.
Calling GetProvidersFactory 2.0 but having 2.1 instance can cause dead
lock scenario.
Bug:
173538746
Tag: #feature
Test: start Bluetooth with set vinf ProvidersFactory set to 2.1
Sponsor: jpawlowski@
Change-Id: I642adb779391196296dfe8db2a352ebdcf711070
Chris Manton [Fri, 26 Feb 2021 20:43:12 +0000 (12:43 -0800)]
Pull up ACL_AcceptLeConnectionFrom stack
A more appropriate stack level for this conditional
Bug:
180781174
Test: cert
Tag: #refactor
Change-Id: I3dd5ad22d96a5ac785b63ce28351631c0b1a9537
Treehugger Robot [Tue, 2 Mar 2021 03:56:14 +0000 (03:56 +0000)]
Merge "HFPClient: HF Indicators support"
Treehugger Robot [Tue, 2 Mar 2021 03:21:14 +0000 (03:21 +0000)]
Merge "export async_fd_watcher"
Hansong Zhang [Mon, 1 Mar 2021 20:55:37 +0000 (12:55 -0800)]
Add host support for btif/
Move some dependencies to Android only.
Bug:
181590011
Tag: #refactor
Test: compile
Change-Id: I37812378210e822d1d36fcf24aaadbcf9f4a5084
Treehugger Robot [Mon, 1 Mar 2021 22:58:55 +0000 (22:58 +0000)]
Merge "Remove additional handle mapping between C++ and Python"
Jakub Pawlowski [Mon, 1 Mar 2021 14:52:06 +0000 (15:52 +0100)]
Remove additional handle mapping between C++ and Python
We must be able to access ACL handle from upcoming ISO module.
Tag: #feature
Bug:
177907117
Test: cert/run LeL2capTest
Change-Id: I3124bff551930158ae80c43166dd9d95201ce6a2
Treehugger Robot [Mon, 1 Mar 2021 19:31:29 +0000 (19:31 +0000)]
Merge changes I0d082b14,I868d5eb4,I32c5931e
* changes:
PyLeAclManager: Implement connection cancel
RootCanal: Send ConnectionComplete after Cancel
RootCanal: Disallow configuring ongoing scans
Grzegorz Kołodziejczyk [Tue, 9 Feb 2021 14:48:25 +0000 (14:48 +0000)]
hal: Add input port for bluetooth audio HAL
Patch adds input port for bluetooth audio HAL.
Bug:
150670922
Tag: #feature
Test: atest bluetooth-test-audio-hal-interface
Sponsor: jpawlowski@
Change-Id: I7f9a12bcf13d7ce44f1f9a73d8b8a9bf4c764f92
Treehugger Robot [Mon, 1 Mar 2021 03:58:55 +0000 (03:58 +0000)]
Merge "[LSC] Add LOCAL_LICENSE_KINDS to system/bt"
Hansong Zhang [Fri, 26 Feb 2021 23:06:23 +0000 (15:06 -0800)]
Remove unused AIDL API
Test: compile
Change-Id: Ia7bfd2d6f8bbedc17b54e6d3c56581cb28945e0e
Hansong Zhang [Tue, 23 Feb 2021 23:52:11 +0000 (15:52 -0800)]
Add host support for bta/
Test: compile
Change-Id: Ife3e7c386b4384907c1b39f921812c337becab52
Hansong Zhang [Thu, 25 Feb 2021 23:46:09 +0000 (15:46 -0800)]
Add host support for udrv/
Test: compile
Change-Id: I04394268d6259ccd08e5b5964cbcadb89209da91
Chris Manton [Fri, 26 Feb 2021 23:34:30 +0000 (15:34 -0800)]
Re-include stack/gatt/gatt_utils
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I732e977ead70a48031e5cee3d7a9a06be3ce49bb
Jakub Pawlowski [Fri, 26 Feb 2021 09:04:50 +0000 (10:04 +0100)]
GD HCI packets: add LeCisParametersTestConfig
Tag: #feature
Test: Added LeIsoTest
Bug:
177907117
Change-Id: I2ab56dc30bf02a9ea07cd0ea11135c06a77cb018
Myles Watson [Sat, 27 Feb 2021 00:05:23 +0000 (16:05 -0800)]
PyLeAclManager: Implement connection cancel
Bug:
181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I0d082b143f4a0638695af9eeb20337f185d89af2
Myles Watson [Fri, 26 Feb 2021 23:44:30 +0000 (15:44 -0800)]
RootCanal: Send ConnectionComplete after Cancel
Bug:
181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I868d5eb48ec7eca7f0ecf10ad3014f8c57634d85
Myles Watson [Fri, 26 Feb 2021 23:06:41 +0000 (15:06 -0800)]
RootCanal: Disallow configuring ongoing scans
Bug:
181371297
Test: cert/run LeAclManagerTest
Tag: #gd-refactor
Change-Id: I32c5931e69b7ab64e4d2c2f9558efa69ea9c34fb
Christopher Di Bella [Sat, 27 Feb 2021 00:20:29 +0000 (00:20 +0000)]
Merge "follows the advice of -Wsign-compare"
Hansong Zhang [Tue, 23 Feb 2021 23:31:20 +0000 (15:31 -0800)]
Simplify build target
Test: compile
Change-Id: Icf7a2665bf9b4b0dee651fe99d4763ab013834f3
Hansong Zhang [Wed, 24 Feb 2021 01:22:26 +0000 (17:22 -0800)]
Add host support for embdrv/
Test: compile
Change-Id: I2b52c3012c37dfa19e49812c3b217b8716765437
Hansong Zhang [Wed, 24 Feb 2021 00:35:31 +0000 (16:35 -0800)]
Add host support for stack/
Test: compile
Change-Id: Ie3c4f7c7625a50863200930c71f2e66a1cb77a9b
Christopher Di Bella [Thu, 25 Feb 2021 02:16:59 +0000 (02:16 +0000)]
follows the advice of -Wsign-compare
Bug:
181177782
Test: #stability #security
Change-Id: Icf11ac28caf05e1bdfcb9453153723f40d147090
Qasim Javed [Fri, 26 Feb 2021 18:45:33 +0000 (18:45 +0000)]
Merge "rusty-gd: Use spawn instead of block_on"
Treehugger Robot [Fri, 26 Feb 2021 17:59:20 +0000 (17:59 +0000)]
Merge "GD Scanning: Always disable scan before set parameter"
Jakub Pawlowski [Tue, 23 Feb 2021 17:39:51 +0000 (18:39 +0100)]
Add HCI ISO tests for GD
Bug:
177907117
Tag: #feature
Test: atest bluetooth_test_gd --gtest_filter=HciTest.receiveMultiple* --gtest_repeat=100
Change-Id: I1baa6406bd9f51c002c73039a09a4a0da9439bfc
Bob Badour [Fri, 26 Feb 2021 11:40:36 +0000 (03:40 -0800)]
[LSC] Add LOCAL_LICENSE_KINDS to system/bt
Added SPDX-license-identifier-Apache-2.0 to:
gd/btaa/Android.bp
Bug:
68860345
Bug:
151177513
Bug:
151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ic6943c23145d418527f3e3d5abc152a3d211402a
Treehugger Robot [Fri, 26 Feb 2021 10:44:48 +0000 (10:44 +0000)]
Merge "Shim ACL: Implement OnLocalAddressUpdate"
Treehugger Robot [Fri, 26 Feb 2021 07:33:07 +0000 (07:33 +0000)]
Merge "Controller: Debug message for unuspported opcodes"
Chienyuan [Thu, 25 Feb 2021 07:20:59 +0000 (15:20 +0800)]
GD Scanning: Always disable scan before set parameter
Tag: #gd-refactor
Bug:
181184816
Test: gd/cert/run
Test: manual, start scan from settings then start scan via other app
Change-Id: I7971d0ec674312b2cdc8b17c3532071377255ff7
Treehugger Robot [Fri, 26 Feb 2021 05:01:01 +0000 (05:01 +0000)]
Merge "Properly include bta when BTA_PAN_INCLUDED != TRUE"
Jizheng Chu [Thu, 25 Feb 2021 23:34:54 +0000 (23:34 +0000)]
Merge "Unbind gd_base_test from ACTS"
Qasim Javed [Mon, 22 Feb 2021 21:53:40 +0000 (13:53 -0800)]
rusty-gd: Use spawn instead of block_on
Using block_on causes panic since the runtime is being used to drive
asynchornous tasks.
tokio::runtime::Handle has a spawn_blocking method but that can only be
called from async context. Use spawn instead.
With this change, I tested pairing with Pixel Buds and it works.
Bug:
171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest
Change-Id: Ife8904181bd570336e80b7980435808deba7f423
Chris Manton [Thu, 25 Feb 2021 17:52:36 +0000 (09:52 -0800)]
Properly include bta when BTA_PAN_INCLUDED != TRUE
Bug:
181201483
Test: sc-tv-dev:: lunch inuvik && make libbluetooth
Tag: #refactor
Change-Id: Ic07bf040122696dc65748185dbf8cc6caa651e12
Chienyuan [Thu, 25 Feb 2021 14:18:46 +0000 (22:18 +0800)]
Shim ACL: Implement OnLocalAddressUpdate
Tag: #gd-refactor
Bug:
181090402
Test: gd/cert/run
Test: manual, bond from remote device via nRF app
Change-Id: I3e570d0459d3d5fe6315b3416b7253aa9d9f1422
Josh Wu [Thu, 28 Jan 2021 12:14:17 +0000 (20:14 +0800)]
HFPClient: HF Indicators support
* Support HF indicators(BIND+BIEV)
Tag: #feature
Test: atest BluetoothInstrumentationTests
Bug:
176275446
Change-Id: I9880aa57ddc638a3415653955ea614532ba7a0e4
Myles Watson [Wed, 24 Feb 2021 15:41:39 +0000 (07:41 -0800)]
Controller: Debug message for unuspported opcodes
Bug:
181159438
Test: cert/run
Tag: #gd-refactor
Change-Id: Iebee00b614da04cac77f9b2a8c104f16c97a8252
Jakub Pawlowski [Wed, 17 Feb 2021 15:45:41 +0000 (16:45 +0100)]
RootCanal: Iso support
Add remote_handle to ISO connections.
Tag: #feature
Test: cert/run LeIsoTest
Bug:
177907117
Change-Id: I55cca5f758264c1fb408623ed8a85110076f9bd9
Myles Watson [Tue, 23 Feb 2021 20:29:37 +0000 (12:29 -0800)]
RootCanal: Silence unused using warnings
Tag: #feature
Test: cert/run LeIsoTest
Bug:
177907117
Change-Id: Ic0737634e3d5ebe3db102453eac792c890195d00
Chris Manton [Wed, 24 Feb 2021 19:35:46 +0000 (19:35 +0000)]
Merge "Re-include bta/..."
Hansong Zhang [Wed, 24 Feb 2021 00:40:00 +0000 (16:40 -0800)]
Add host support for utils/
Test: compile
Change-Id: Ib6dce1c141d483ed1be261db6257110932c3efd8
Michael Sun [Wed, 24 Feb 2021 18:01:53 +0000 (18:01 +0000)]
Merge "btaa: route HCI packet to BTAA module"
Jeongik Cha [Wed, 24 Feb 2021 13:29:18 +0000 (22:29 +0900)]
export async_fd_watcher
extract async_fd_watcher into library to be shared with remote HAL
implementation for BT
Bug:
181112377
Test: check building successfully
Change-Id: I7eef789e37e70f94a50f9ee15f0f80e0bb2da82a
Chris Manton [Fri, 22 Jan 2021 17:26:40 +0000 (09:26 -0800)]
Re-include bta/...
and some btif/...
Bug:
163134718
Test: cert
Tag: #refactor
Change-Id: I87fc3a29e6451aa2e743c57e136675b6546e694f
Treehugger Robot [Wed, 24 Feb 2021 02:15:06 +0000 (02:15 +0000)]
Merge "Fix the delta_time_ms types mismtach in btsnooz.py"
Sonny Sasaka [Tue, 9 Feb 2021 06:09:59 +0000 (22:09 -0800)]
Add gn builds for main/shim
This adds GN builds for main/shim, along the way adding some fixes:
* Add message_loop_thread_bridge_header to use Rust's message loop
* Add some missing includes
* Build files for dumpsys
* Add gd/hci gn build
Bug:
176847216
Tag: #refactor
Test: atest --host bluetooth_test_common
Change-Id: Ide1edbb70076c4dcc4a4e6ee41303a9e315d52af
Michael Sun [Wed, 30 Dec 2020 23:57:53 +0000 (23:57 +0000)]
btaa: route HCI packet to BTAA module
Route HCI packets to BTAA for attribution analysis processing.
Tag: #feature
Bug:
177230507
Test: mmma -j system/bt
BYPASS_LONG_LINES_REASON: consist with gd format
Change-Id: Ic26c472758547fa7eeac1ff39c81a78c2545ad5d
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
Alice Kuo [Tue, 23 Feb 2021 03:11:12 +0000 (11:11 +0800)]
Fix the delta_time_ms types mismtach in btsnooz.py
The delta_time_ms field in btif_debug_btsnoop.h is 32 bits. The offset
count for 64 bits, and cause the decoder error. Change the offset back
for 32 bits.
Bug:
175283029
Test: ./btsnooz.py bugreport-WXYZ.txt
Change-Id: I28324c4ff33ab817dbad5c813616a8e8c994ff2a
Jizheng Chu [Tue, 23 Feb 2021 02:49:36 +0000 (18:49 -0800)]
Unbind gd_base_test from ACTS
Test: gd/cert/run
Change-Id: If09e5ef2296e8964217e9542c1269549eb5e1b93
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 [Sat, 20 Feb 2021 04:57:57 +0000 (20:57 -0800)]
Use Builders for Iso and Sco
Change-Id: Ic0b237d6b48d3b7fe5b190a74940cb7eab3f9d14
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: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
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
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
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
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 02:54:26 +0000 (02:54 +0000)]
Merge changes I8c94b803,Ie96668df
* changes:
SCO: codec parameters refactor
HFP: Refactor HFP version flags
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