sm8350-common: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
This commit is contained in:
parent
0ced5f6337
commit
3969a26b43
@ -276,8 +276,7 @@ PRODUCT_PACKAGES += \
|
|||||||
|
|
||||||
# IR
|
# IR
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.ir@1.0-impl \
|
android.hardware.ir-service.xiaomi
|
||||||
android.hardware.ir@1.0-service
|
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
|
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
|
||||||
|
@ -1,13 +1,4 @@
|
|||||||
<manifest version="1.0" type="device">
|
<manifest version="1.0" type="device">
|
||||||
<hal format="hidl">
|
|
||||||
<name>android.hardware.ir</name>
|
|
||||||
<transport>hwbinder</transport>
|
|
||||||
<version>1.0</version>
|
|
||||||
<interface>
|
|
||||||
<name>IConsumerIr</name>
|
|
||||||
<instance>default</instance>
|
|
||||||
</interface>
|
|
||||||
</hal>
|
|
||||||
<hal format="hidl">
|
<hal format="hidl">
|
||||||
<name>vendor.xiaomi.hardware.campostproc</name>
|
<name>vendor.xiaomi.hardware.campostproc</name>
|
||||||
<transport>hwbinder</transport>
|
<transport>hwbinder</transport>
|
||||||
|
@ -118,9 +118,6 @@ vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service
|
|||||||
vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc
|
vendor/etc/init/vendor.qti.hardware.capabilityconfigstore@1.0-service.rc
|
||||||
vendor/lib64/hw/vendor.qti.hardware.capabilityconfigstore@1.0-impl.so
|
vendor/lib64/hw/vendor.qti.hardware.capabilityconfigstore@1.0-impl.so
|
||||||
|
|
||||||
# Consumer IR
|
|
||||||
vendor/lib64/hw/consumerir.lahaina.so
|
|
||||||
|
|
||||||
# Display - from XQ-BC72 61.2.A.0.410
|
# Display - from XQ-BC72 61.2.A.0.410
|
||||||
vendor/etc/display/DPU660.xml|b26dd73e361546d89bf3d7082a471703dc6ac2cb
|
vendor/etc/display/DPU660.xml|b26dd73e361546d89bf3d7082a471703dc6ac2cb
|
||||||
vendor/etc/display/DPU670.xml|e5131a60ceff29ca5eb561eec7eddadef1d0486f
|
vendor/etc/display/DPU670.xml|e5131a60ceff29ca5eb561eec7eddadef1d0486f
|
||||||
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@ -23,7 +23,8 @@
|
|||||||
/vendor/lib(64)?/rfsa/adsp/libsnpe_htp_v68_skel\.so u:object_r:same_process_hal_file:s0
|
/vendor/lib(64)?/rfsa/adsp/libsnpe_htp_v68_skel\.so u:object_r:same_process_hal_file:s0
|
||||||
|
|
||||||
# IR
|
# IR
|
||||||
/dev/ir_spi u:object_r:ir_spi_device:s0
|
/dev/lirc[0-9]+ u:object_r:lirc_device:s0
|
||||||
|
/vendor/bin/hw/android\.hardware\.ir-service\.xiaomi u:object_r:hal_ir_default_exec:s0
|
||||||
|
|
||||||
# Mlipay
|
# Mlipay
|
||||||
/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0
|
/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0
|
||||||
|
4
sepolicy/vendor/hal_ir_default.te
vendored
4
sepolicy/vendor/hal_ir_default.te
vendored
@ -1,3 +1,3 @@
|
|||||||
type ir_spi_device, dev_type;
|
type lirc_device, dev_type;
|
||||||
|
|
||||||
allow hal_ir_default ir_spi_device:chr_file rw_file_perms;
|
allow hal_ir_default lirc_device:chr_file rw_file_perms;
|
||||||
|
Loading…
Reference in New Issue
Block a user