You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
781 B
24 lines
781 B
# ==============================================================================
|
|
# Type Declaration
|
|
# ==============================================================================
|
|
type mtk_hal_light, domain;
|
|
type mtk_hal_light_exec, exec_type, file_type, vendor_file_type;
|
|
|
|
# hwbinder access
|
|
init_daemon_domain(mtk_hal_light)
|
|
hwbinder_use(mtk_hal_light)
|
|
|
|
# call into system_server process (callbacks)
|
|
binder_call(mtk_hal_light, system_server)
|
|
|
|
# system file
|
|
allow mtk_hal_light system_file:dir read;
|
|
allow mtk_hal_light system_file:dir open;
|
|
|
|
allow mtk_hal_light sysfs_leds:lnk_file read;
|
|
allow mtk_hal_light sysfs_leds:file rw_file_perms;
|
|
allow mtk_hal_light sysfs_leds:dir r_dir_perms;
|
|
|
|
get_prop(mtk_hal_light, hwservicemanager_prop)
|
|
hal_server_domain(mtk_hal_light,hal_light);
|