sm8350-common: Move to Xiaomi IR AIDL

Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
This commit is contained in:
Sebastiano Barezzi 2024-08-18 23:59:08 +02:00 committed by Arian
parent 0ced5f6337
commit 3969a26b43
5 changed files with 5 additions and 17 deletions

View File

@ -276,8 +276,7 @@ PRODUCT_PACKAGES += \
# IR
PRODUCT_PACKAGES += \
android.hardware.ir@1.0-impl \
android.hardware.ir@1.0-service
android.hardware.ir-service.xiaomi
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml

View File

@ -1,13 +1,4 @@
<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">
<name>vendor.xiaomi.hardware.campostproc</name>
<transport>hwbinder</transport>

View File

@ -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/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
vendor/etc/display/DPU660.xml|b26dd73e361546d89bf3d7082a471703dc6ac2cb
vendor/etc/display/DPU670.xml|e5131a60ceff29ca5eb561eec7eddadef1d0486f

View File

@ -23,7 +23,8 @@
/vendor/lib(64)?/rfsa/adsp/libsnpe_htp_v68_skel\.so u:object_r:same_process_hal_file:s0
# 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
/(vendor|system/vendor)/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0

View File

@ -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;