Jelajahi Sumber

Bluetooth: Add Bluetooth HAL compatibility by projects

Bug: 202113218
Test: manually
Change-Id: I6d22935ff2ddb7325cf4f946ea4a71e625427d86
Cheney Ni 3 tahun lalu
induk
melakukan
01e538c5c3
2 mengubah file dengan 40 tambahan dan 0 penghapusan
  1. 38 0
      bluetooth/manifest_bluetooth.xml
  2. 2 0
      device-lynx.mk

+ 38 - 0
bluetooth/manifest_bluetooth.xml

@@ -0,0 +1,38 @@
+<manifest version="1.0" type="device">
+    <hal format="hidl">
+        <name>android.hardware.bluetooth</name>
+        <transport>hwbinder</transport>
+        <version>1.0</version>
+        <interface>
+            <name>IBluetoothHci</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
+    <hal format="hidl">
+        <name>hardware.google.bluetooth.bt_channel_avoidance</name>
+        <transport>hwbinder</transport>
+        <version>1.0</version>
+        <interface>
+            <name>IBTChannelAvoidance</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
+    <hal format="hidl">
+        <name>hardware.google.bluetooth.sar</name>
+        <transport>hwbinder</transport>
+        <version>1.1</version>
+        <interface>
+            <name>IBluetoothSar</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
+    <hal format="hidl">
+        <name>hardware.google.bluetooth.ccc</name>
+        <transport>hwbinder</transport>
+        <version>1.0</version>
+        <interface>
+            <name>IBluetoothCcc</name>
+            <instance>default</instance>
+        </interface>
+    </hal>
+</manifest>

+ 2 - 0
device-lynx.mk

@@ -82,6 +82,8 @@ PRODUCT_COPY_FILES += \
 	device/google/lynx/thermal_info_config_lynx.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json
 
 # Bluetooth HAL
+DEVICE_MANIFEST_FILE += \
+	device/google/lynx/bluetooth/manifest_bluetooth.xml
 PRODUCT_SOONG_NAMESPACES += \
         vendor/broadcom/bluetooth
 PRODUCT_PACKAGES += \