sm8250-common: Implement vendor.lineage.powershare@1.0 HAL

This commit is contained in:
LuK1337
2020-07-07 12:47:29 +02:00
parent 89b4f0377f
commit 28e667380b
10 changed files with 226 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ type op2_file, file_type;
# proc
type proc_touchpanel, fs_type, proc_type;
type procfs_oem_wireless, fs_type, proc_type;
# sysfs
type sysfs_battery_supply, sysfs_type, fs_type;

View File

@@ -13,6 +13,7 @@
/(product|system/product)/vendor_overlay/[0-9]+/bin/hw/android\.hardware\.power@1\.2-service u:object_r:hal_power_default_exec:s0
/system/bin/hw/lineage\.biometrics\.fingerprint\.inscreen@1.0-service\.oneplus_kona u:object_r:hal_fod_kona_exec:s0
/system/bin/hw/lineage\.livedisplay@2\.0-service\.oneplus_kona u:object_r:hal_livedisplay_kona_exec:s0
/system/bin/hw/lineage\.powershare@1\.0-service\.oneplus_kona u:object_r:hal_powershare_kona_exec:s0
/system/bin/hw/lineage\.touch@1\.0-service\.oneplus_kona u:object_r:hal_touch_kona_exec:s0
# DASH

View File

@@ -0,0 +1,9 @@
type hal_powershare_kona, coredomain, domain;
hal_server_domain(hal_powershare_kona, hal_lineage_powershare)
type hal_powershare_kona_exec, system_file_type, exec_type, file_type;
init_daemon_domain(hal_powershare_kona)
# Allow access to wireless rx enable nodes
allow hal_powershare_kona procfs_oem_wireless:dir search;
allow hal_powershare_kona procfs_oem_wireless:file rw_file_perms;