msm8974-common: Transition to consumerir HIDL hal

Change-Id: I85950a46eebec0e9a4b34681b2042467231b33b3
This commit is contained in:
Paul Keith 2020-01-28 08:13:36 -06:00
parent 24300422f6
commit 50045fa46e
5 changed files with 6 additions and 5 deletions

View File

@ -115,7 +115,7 @@
</hal> </hal>
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.ir</name> <name>android.hardware.ir</name>
<transport arch="32">passthrough</transport> <transport>hwbinder</transport>
<version>1.0</version> <version>1.0</version>
<interface> <interface>
<name>IConsumerIr</name> <name>IConsumerIr</name>

View File

@ -1,5 +1,5 @@
# Copyright (C) 2012 The CyanogenMod Project # Copyright (C) 2012 The CyanogenMod Project
# Copyright (C) 2017-2019 The LineageOS Project # Copyright (C) 2017-2020 The LineageOS Project
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -128,8 +128,7 @@ PRODUCT_COPY_FILES += \
# IR Blaster # IR Blaster
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.ir@1.0-impl \ android.hardware.ir@1.0-service.samsung
consumerir.msm8974
# Keylayouts # Keylayouts
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \

View File

@ -20,6 +20,7 @@
# executeables # executeables
/system/vendor/bin/macloader u:object_r:macloader_exec:s0 /system/vendor/bin/macloader u:object_r:macloader_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service\.samsung u:object_r:hal_ir_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8974 u:object_r:hal_sensors_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8974 u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.samsung u:object_r:hal_lineage_touch_default_exec:s0

View File

@ -0,0 +1,2 @@
allow hal_ir_default sysfs_sec_ir:dir search;
allow hal_ir_default sysfs_sec_ir:file w_file_perms;

View File

@ -9,7 +9,6 @@ allow system_server {
}:file r_file_perms; }:file r_file_perms;
allow system_server { allow system_server {
sysfs_sec_ir
sysfs_sec_led sysfs_sec_led
sysfs_sec_touchkey sysfs_sec_touchkey
}:file w_file_perms; }:file w_file_perms;