device_google_gs201/legacy/hal_wlc.te
Adam Shih c1ffe9c177 Initialize gs201 to zero
Bug: 196916111
Test: boot to home with all services launched
Change-Id: I3453fc01cec5fd7b2b2a44a6f20c64e818ce1acd
2021-08-18 09:46:14 +08:00

16 lines
No EOL
488 B
Text

type hal_wlc, domain;
type hal_wlc_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_wlc)
hwbinder_use(hal_wlc)
add_hwservice(hal_wlc, hal_wlc_hwservice)
get_prop(hal_wlc, hwservicemanager_prop)
r_dir_file(hal_wlc, sysfs_batteryinfo)
allow hal_wlc sysfs_wlc:dir r_dir_perms;
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)
binder_call(hal_wlc, system_app)