msm8974-common: Binderize them all

* Switch to binderized HAL services as possible and update
   HIDL manifest accordingly.

Change-Id: Id50291488d655187aa013c51bdd6890dca010564
This commit is contained in:
Bruno Martins 2018-01-26 11:27:35 +00:00 committed by Kevin F. Haggerty
parent e9a18e2d9e
commit eac9496d05
No known key found for this signature in database
GPG Key ID: 6D95512933112729
3 changed files with 18 additions and 5 deletions

View File

@ -19,7 +19,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.bluetooth</name>
<transport arch="32">passthrough</transport>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBluetoothHci</name>
@ -59,7 +59,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.gnss</name>
<transport arch="32">passthrough</transport>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IGnss</name>
@ -113,7 +113,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.keymaster</name>
<transport arch="32">passthrough</transport>
<transport>hwbinder</transport>
<version>3.0</version>
<interface>
<name>IKeymasterDevice</name>
@ -144,7 +144,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.memtrack</name>
<transport arch="32">passthrough</transport>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IMemtrack</name>

View File

@ -63,6 +63,7 @@ PRODUCT_PACKAGES += \
# Bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0-impl \
android.hardware.bluetooth@1.0-service \
libbt-vendor
# Boot animation
@ -75,6 +76,7 @@ PRODUCT_PACKAGES += \
android.hardware.graphics.composer@2.1-impl \
android.hardware.graphics.mapper@2.0-impl-2.1 \
android.hardware.memtrack@1.0-impl \
android.hardware.memtrack@1.0-service \
copybit.msm8974 \
gralloc.msm8974 \
hwcomposer.msm8974 \
@ -103,6 +105,7 @@ PRODUCT_PACKAGES += \
# GPS
PRODUCT_PACKAGES += \
android.hardware.gnss@1.0-impl \
android.hardware.gnss@1.0-service \
gps.msm8974
PRODUCT_COPY_FILES += \
@ -121,7 +124,8 @@ PRODUCT_COPY_FILES += \
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@3.0-impl
android.hardware.keymaster@3.0-impl \
android.hardware.keymaster@3.0-service
# Lights
PRODUCT_PACKAGES += \

View File

@ -0,0 +1,9 @@
allow hal_bluetooth_default {
bt_fw_file
wifi_data_file
}:file r_file_perms;
allow hal_bluetooth_default bluetooth_device:chr_file w_file_perms;
allow hal_bluetooth_default firmware_file:dir r_dir_perms;
allow hal_bluetooth_default proc_bt_sleep:dir w_dir_perms;
allow hal_bluetooth_default proc_bt_sleep:file w_file_perms;