The sepolicy must be self-contained without including wirelss_charger to avoid build break in AOSP Bug: 263830018 Change-Id: Ib3e36c9bb4b3048ce97592c3f68260035a32239d Signed-off-by: Ken Yang <yangken@google.com>
14 lines
404 B
Text
14 lines
404 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 self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
|
|
|
|
binder_call(hal_wlc, platform_app)
|
|
binder_call(hal_wlc, system_app)
|