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:
parent
e9a18e2d9e
commit
eac9496d05
@ -19,7 +19,7 @@
|
|||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.bluetooth</name>
|
<name>android.hardware.bluetooth</name>
|
||||||
<transport arch="32">passthrough</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IBluetoothHci</name>
|
<name>IBluetoothHci</name>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.gnss</name>
|
<name>android.hardware.gnss</name>
|
||||||
<transport arch="32">passthrough</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IGnss</name>
|
<name>IGnss</name>
|
||||||
@ -113,7 +113,7 @@
|
|||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.keymaster</name>
|
<name>android.hardware.keymaster</name>
|
||||||
<transport arch="32">passthrough</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>3.0</version>
|
<version>3.0</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IKeymasterDevice</name>
|
<name>IKeymasterDevice</name>
|
||||||
@ -144,7 +144,7 @@
|
|||||||
</hal>
|
</hal>
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>android.hardware.memtrack</name>
|
<name>android.hardware.memtrack</name>
|
||||||
<transport arch="32">passthrough</transport>
|
<transport>hwbinder</transport>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<interface>
|
<interface>
|
||||||
<name>IMemtrack</name>
|
<name>IMemtrack</name>
|
||||||
|
@ -63,6 +63,7 @@ PRODUCT_PACKAGES += \
|
|||||||
# Bluetooth
|
# Bluetooth
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.bluetooth@1.0-impl \
|
android.hardware.bluetooth@1.0-impl \
|
||||||
|
android.hardware.bluetooth@1.0-service \
|
||||||
libbt-vendor
|
libbt-vendor
|
||||||
|
|
||||||
# Boot animation
|
# Boot animation
|
||||||
@ -75,6 +76,7 @@ PRODUCT_PACKAGES += \
|
|||||||
android.hardware.graphics.composer@2.1-impl \
|
android.hardware.graphics.composer@2.1-impl \
|
||||||
android.hardware.graphics.mapper@2.0-impl-2.1 \
|
android.hardware.graphics.mapper@2.0-impl-2.1 \
|
||||||
android.hardware.memtrack@1.0-impl \
|
android.hardware.memtrack@1.0-impl \
|
||||||
|
android.hardware.memtrack@1.0-service \
|
||||||
copybit.msm8974 \
|
copybit.msm8974 \
|
||||||
gralloc.msm8974 \
|
gralloc.msm8974 \
|
||||||
hwcomposer.msm8974 \
|
hwcomposer.msm8974 \
|
||||||
@ -103,6 +105,7 @@ PRODUCT_PACKAGES += \
|
|||||||
# GPS
|
# GPS
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.gnss@1.0-impl \
|
android.hardware.gnss@1.0-impl \
|
||||||
|
android.hardware.gnss@1.0-service \
|
||||||
gps.msm8974
|
gps.msm8974
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
@ -121,7 +124,8 @@ PRODUCT_COPY_FILES += \
|
|||||||
|
|
||||||
# Keymaster
|
# Keymaster
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.keymaster@3.0-impl
|
android.hardware.keymaster@3.0-impl \
|
||||||
|
android.hardware.keymaster@3.0-service
|
||||||
|
|
||||||
# Lights
|
# Lights
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
9
sepolicy/common/hal_bluetooth_default.te
Normal file
9
sepolicy/common/hal_bluetooth_default.te
Normal 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;
|
Loading…
Reference in New Issue
Block a user