OSDN Git Service

Add HIDL HAL for Bluetooth
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 6 Dec 2017 09:40:56 +0000 (17:40 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 6 Dec 2017 09:40:56 +0000 (17:40 +0800)
Set android.hardware.bluetooth@1.0 to binderized.

manifest.xml
treble.mk

index a2e82a9..d61329a 100644 (file)
         </interface>
     </hal>
     <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>android.hardware.configstore</name>
         <transport>hwbinder</transport>
         <version>1.0</version>
index f351a57..b25e89b 100644 (file)
--- a/treble.mk
+++ b/treble.mk
@@ -17,7 +17,9 @@ PRODUCT_PACKAGES += \
 
 # Bluetooth HAL
 PRODUCT_PACKAGES += \
-    android.hardware.bluetooth@1.0-impl
+    android.hardware.bluetooth@1.0-impl \
+    android.hardware.bluetooth@1.0-service \
+    libbt-vendor
 
 # Camera HAL
 #PRODUCT_PACKAGES += \