android_device_samsung_msm8.../sepolicy/charger.te
Deokgyu Yang c484f16bcb gts3l-common: lpm: Enable the power-off mode charging using Samsung LPM
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I834d67453b2057e88d3e1cd1b1a4c6fac0c85f72
2021-09-22 21:59:35 +09:00

25 lines
No EOL
850 B
Text

binder_use(charger)
allow charger ashmem_device:chr_file execute;
allow charger input_device:chr_file write;
allow charger sysfs_graphics:dir search;
allow charger sysfs_graphics:file rw_file_perms;
allow charger sysfs_usb_supply:dir search;
allow charger sysfs_usb_supply:file rw_file_perms;
allow charger sysfs_batteryinfo:file rw_file_perms;
allow charger sysfs_rtc:file r_file_perms;
allow charger sysfs_sec_keypad:file r_file_perms;
allow charger app_efs_file:dir search;
allow charger app_efs_file:file rw_file_perms;
allow charger battery_efs_file:dir rw_dir_perms;
allow charger battery_efs_file:file create_file_perms;
allow charger efs_file:dir rw_dir_perms;
allow charger efs_file:file create_file_perms;
allow charger sec_efs_file:dir rw_dir_perms;
allow charger sec_efs_file:file create_file_perms;
set_prop(charger, powerctl_prop)