1# HwBinder IPC from client to server, and callbacks 2binder_call(hal_light_client, hal_light_server) 3binder_call(hal_light_server, hal_light_client) 4 5hal_attribute_hwservice(hal_light, hal_light_hwservice) 6hal_attribute_service(hal_light, hal_light_service) 7 8binder_call(hal_light_server, servicemanager) 9binder_use(hal_light_client) 10 11allow hal_light_server dumpstate:fifo_file write; 12 13allow hal_light sysfs_leds:lnk_file read; 14allow hal_light sysfs_leds:file rw_file_perms; 15allow hal_light sysfs_leds:dir r_dir_perms; 16