type bbd_device, dev_type;
type bt_device, dev_type;
+type cpu_dma_device, dev_type;
type drb_device, dev_type;
type epic_device, dev_type;
type fp_sensor_device, dev_type;
# bluetooth
/dev/ttySAC[0-9] u:object_r:bt_device:s0
+# cpu
+/dev/cpu_dma_latency u:object_r:cpu_dma_device:s0
+
### epic
/dev/mode u:object_r:epic_device:s0
/dev/socket/epic u:object_r:epicd_socket:s0
# hal_power_default.te
+# /dev/cpu_dma_latency
+allow hal_power_default cpu_dma_device:file rw_file_perms;
+
+# /dev/stune/top-app/schedtune.boost
+allow hal_power_default cgroup:file rw_file_perms;
+
# /sys/class/input/
allow hal_power_default sysfs_input:dir r_dir_perms;
# /sys/class/sec/tsp/input/{cmd,enabled}
allow hal_power_default sysfs_touchscreen_writable:file rw_file_perms;
+
+# /sys/devices/system/cpu/cpu[0-9]/cpufreq/scaling_max_freq
+allow hal_power_default sysfs_devices_system_cpu:file rw_file_perms;