platform_hardware_interfaces/bluetooth/aidl
yanggang.yang c59d2d80ee Allow non-zero HCI interface numbers
[Description]
when driver re-register hci device, it may register hci 1
[Root Cause]
In the kernel mechanism, there may be a timing issue. when driver re-register hci device,kernel may not completely unregister hci 0.But aidl only open hci 0.
[Solution]
assign a value to the hci interface based on the device node found by AIDL

[Test Report]
Insert the bt chip into the usb 2.0 port, and then suspend the TV. The bt chip will be disconnected due to the USB power outage. And then quickly resume the TV,check whether the Bluetooth state is on. Suspend and resume for several times, check for bt state.

Change-Id: I57fd4a22c956e0cf2b4a516247c258493163e51a
BUG: 314149416
2023-12-07 02:07:58 +00:00
..
aidl_api/android.hardware.bluetooth UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
android/hardware/bluetooth VtsHalBluetooth: Add test for double init 2023-02-01 17:17:58 -08:00
default Allow non-zero HCI interface numbers 2023-12-07 02:07:58 +00:00
vts Use the PDL library for HCI packets 2023-09-01 18:02:53 +00:00
Android.bp UpsideDownCake is now 34 2023-04-07 23:41:20 +00:00
TEST_MAPPING Bluetooth: Enable test Cdd_C_12_1_Bluetooth5Requirements 2023-04-20 23:12:06 +00:00