1type hal_wlc, domain; 2type hal_wlc_exec, exec_type, vendor_file_type, file_type; 3 4hwbinder_use(hal_wlc) 5add_hwservice(hal_wlc, hal_wlc_hwservice) 6get_prop(hal_wlc, hwservicemanager_prop) 7 8init_daemon_domain(hal_wlc) 9 10# Allow access to /sys/class/power_supply/wireless 11r_dir_file(hal_wlc, sysfs_batteryinfo) 12 13# Allow access to /sys/devices/platform/soc/a88000.i2c/i2c-0/0-0061 14r_dir_file(hal_wlc, sysfs_wlc) 15allow hal_wlc sysfs_wlc:file rw_file_perms; 16