sdm845-common: Add power hal

Change-Id: I764cccb93b01ea2bfaca4cfe93ac314b7c680d5d
This commit is contained in:
Luca Stefani
2018-07-15 00:11:17 +02:00
committed by LuK1337
parent 3c7edbc4a3
commit 924e50ddc2
21 changed files with 2131 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ type firmware_file, file_type;
type op1_file, file_type;
type op2_file, file_type;
type persist_file, file_type;
type proc_touchpanel, fs_type;

View File

@@ -9,5 +9,9 @@
# Lights
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
# Power HAL
/system/lib64/hw/power\.qcom\.so u:object_r:vendor_file:s0
/system/lib/hw/power\.qcom\.so u:object_r:vendor_file:s0
# tri-state-key
/system/bin/tri-state-key_daemon u:object_r:tri-state-key_daemon_exec:s0

View File

@@ -0,0 +1,2 @@
allow hal_power proc_touchpanel:dir search;
allow hal_power proc_touchpanel:file w_file_perms;