blob: 716ed246873154d600d0ca647ba84e6fda0e4cd0 [file] [log] [blame]
type hal_wlc, domain;
type hal_wlc_exec, exec_type, vendor_file_type, file_type;
hwbinder_use(hal_wlc)
add_hwservice(hal_wlc, hal_wlc_hwservice)
get_prop(hal_wlc, hwservicemanager_prop)
init_daemon_domain(hal_wlc)
# Allow access to /sys/class/power_supply/wireless
r_dir_file(hal_wlc, sysfs_batteryinfo)
# Allow access to /sys/devices/platform/soc/a88000.i2c/i2c-0/0-0061
r_dir_file(hal_wlc, sysfs_wlc)
allow hal_wlc sysfs_wlc:file rw_file_perms;
allow hal_wlc self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
binder_call(hal_wlc, platform_app)