mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 14:29:33 +00:00
Add SE policies for memtrack HAL
Bug: 220360577 Test: adb shell dumpsys meminfo Change-Id: I4dfc0c016ccf980b4f7dabd2fb70d2466b69b5cc
This commit is contained in:
committed by
TreeHugger Robot
parent
eb4d432dd8
commit
5be857af43
@@ -42,6 +42,7 @@
|
||||
/vendor/bin/rlsservice u:object_r:rlsservice_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.fpc u:object_r:fingerprint_factory_service_exec:s0
|
||||
/vendor/bin/hw/battery_mitigation u:object_r:battery_mitigation_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.memtrack-service\.pixel u:object_r:hal_memtrack_default_exec:s0
|
||||
|
||||
# Vendor Firmwares
|
||||
/vendor/firmware(/.*)? u:object_r:vendor_fw_file:s0
|
||||
|
||||
@@ -47,6 +47,9 @@ genfscon sysfs /module/bcmdhd4389 u
|
||||
# GPU
|
||||
genfscon sysfs /devices/platform/28000000.mali/hint_min_freq u:object_r:sysfs_gpu:s0
|
||||
genfscon sysfs /devices/platform/28000000.mali/power_policy u:object_r:sysfs_gpu:s0
|
||||
genfscon sysfs /devices/platform/28000000.mali/dma_buf_gpu_mem u:object_r:sysfs_gpu:s0
|
||||
genfscon sysfs /devices/platform/28000000.mali/total_gpu_mem u:object_r:sysfs_gpu:s0
|
||||
genfscon sysfs /devices/platform/28000000.mali/kprcs u:object_r:sysfs_gpu:s0
|
||||
|
||||
# Fabric
|
||||
genfscon sysfs /devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/min_freq u:object_r:sysfs_fabric:s0
|
||||
|
||||
1
whitechapel_pro/hal_memtrack_default.te
Normal file
1
whitechapel_pro/hal_memtrack_default.te
Normal file
@@ -0,0 +1 @@
|
||||
r_dir_file(hal_memtrack_default, sysfs_gpu)
|
||||
Reference in New Issue
Block a user