type init_qti_chg_policy, domain; | |
type init_qti_chg_policy_exec, exec_type, vendor_file_type, file_type; | |
init_daemon_domain(init_qti_chg_policy) | |
allow init_qti_chg_policy self:capability chown; | |
allow init_qti_chg_policy vendor_toolbox_exec:file rx_file_perms; | |
allow init_qti_chg_policy sysfs_batteryinfo:file create_file_perms; | |
allow init_qti_chg_policy sysfs_batteryinfo:dir r_dir_perms; | |
set_prop(init_qti_chg_policy, vendor_hvdcp_opti_prop) |