Switch to AIDL vendor service

Bug: 274906319
Test: build pass
Change-Id: Ic1b8cb6aec6c0ed48f3450d6e9db5a3aaf38f1c3
This commit is contained in:
Ted Wang 2023-03-27 09:13:18 +00:00
parent 3eec125efe
commit 411813f472
3 changed files with 6 additions and 9 deletions

View File

@ -1,6 +1,7 @@
PRODUCT_SOONG_NAMESPACES += vendor/broadcom/bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.1-service.bcmbtlinux \
android.hardware.bluetooth-V1-ndk.so \
android.hardware.bluetooth-service.bcmbtlinux \
bt_vendor.conf \
android.hardware.bluetooth.prebuilt.xml \
android.hardware.bluetooth_le.prebuilt.xml

View File

@ -1,12 +1,8 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<hal format="aidl">
<name>android.hardware.bluetooth</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IBluetoothHci</name>
<instance>default</instance>
</interface>
<version>1</version>
<fqname>IBluetoothHci/default</fqname>
</hal>
<hal format="hidl">
<name>hardware.google.bluetooth.bt_channel_avoidance</name>

View File

@ -1,5 +1,5 @@
# Bluetooth
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.1-service\.bcmbtlinux u:object_r:hal_bluetooth_btlinux_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth-service\.bcmbtlinux u:object_r:hal_bluetooth_btlinux_exec:s0
/dev/wbrc u:object_r:wb_coexistence_dev:s0
/dev/ttySAC16 u:object_r:hci_attach_dev:s0