veux: 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 Onelots
parent f3025a6b08
commit 24a1854cfa
6 changed files with 6 additions and 16 deletions

View File

@@ -96,14 +96,6 @@
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.ir</name>
<version>1</version>
<interface>
<name>IConsumerIr</name>
<instance>default</instance>
</interface>
</hal>
<hal format="aidl" optional="true">
<name>android.hardware.sensors</name>
<version>2</version>
<interface>

View File

@@ -243,7 +243,7 @@ PRODUCT_PACKAGES += \
# IR
PRODUCT_PACKAGES += \
android.hardware.ir-service.example
android.hardware.ir-service.xiaomi
# IRQ
PRODUCT_COPY_FILES += \

View File

@@ -17,4 +17,4 @@
<instance>default</instance>
</interface>
</hal>
</manifest>
</manifest>

View File

@@ -555,9 +555,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.default.so:vendor/lib64/hw/consumerir.holi.so;FIX_SONAME
# Diag
system_ext/lib64/libdiag_system.so
system_ext/lib64/vendor.qti.diaghal@1.0.so

View File

@@ -51,7 +51,8 @@
/vendor/bin/hw/vendor\.dolby\.hardware\.dms@2\.0-service u:object_r:hal_dms_default_exec: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;