lights hal: fully binderized

Muskie device will have all hals binderized.

Bug: 32022100
Bug: 35356977
Test: led lights work
Change-Id: I4a1a7b54af5b7d92b4ed167bcf9d517fbff70111
This commit is contained in:
Steven Moreland
2017-01-04 18:12:13 -08:00
parent 708736ade6
commit 5e9b3914a7
3 changed files with 10 additions and 1 deletions

View File

@@ -168,7 +168,8 @@ PRODUCT_PACKAGES += \
# Light HAL
PRODUCT_PACKAGES += \
lights.$(PRODUCT_HARDWARE) \
android.hardware.light@2.0-impl
android.hardware.light@2.0-impl \
android.hardware.light@2.0-service
# gatekeeper HAL
PRODUCT_PACKAGES += \

View File

@@ -40,6 +40,8 @@
# dev block nodes
/dev/block/sdd[0-9]+ u:object_r:sdd_block_device:s0
# files in sysfs
/sys/devices/soc/c900000.qcom,mdss_mdp/c900000.qcom,mdss_mdp:qcom,mdss_fb_primary/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pmi8998@3:qcom,leds@d000/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0
/sys/module/msm_thermal(/.*)? u:object_r:sysfs_thermal:s0
/sys/devices/virtual/graphics/fb([0-2])+/idle_time u:object_r:sysfs_graphics:s0

View File

@@ -1,3 +1,9 @@
<manifest version="1.0">
<hal format="hidl">
<name>android.hardware.light</name>
<transport>hwbinder</transport>
<impl level="generic"></impl>
<version>2.0</version>
</hal>
</manifest>