platform_hardware_interfaces/bluetooth/aidl/default
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
..
test Bluetooth HAL: Add an AIDL default implementation 2022-11-01 09:29:23 -07:00
Android.bp Remove PDL from the HAL 2023-08-28 15:24:36 -07:00
bluetooth-service-default.rc bluetooth: Add support for linux bluetooth raw hci sockets 2023-01-05 17:09:09 -08:00
bluetooth-service-default.xml Bluetooth HAL: Add an AIDL default implementation 2022-11-01 09:29:23 -07:00
BluetoothHci.cpp Fix bluetooth aidl crash 2023-11-13 13:39:19 +08:00
BluetoothHci.h Fix null dereference read in android::hardware::bluetooth::hci::H4Protocol::Send 2023-04-20 21:37:50 +00:00
net_bluetooth_mgmt.cpp Allow non-zero HCI interface numbers 2023-12-07 02:07:58 +00:00
net_bluetooth_mgmt.h bluetooth: Add support for linux bluetooth raw hci sockets 2023-01-05 17:09:09 -08:00
service.cpp Bluetooth AIDL: Set max thread count to 0 2023-04-18 15:46:32 -07:00