blob: 1e70b74d505433176e249b6b5c9cd668dde87449 [file] [log] [blame]
Alex Klyubin53656c12017-04-13 19:05:27 -07001# 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
Steven Moreland9234e002018-06-06 09:30:18 -07005hal_attribute_hwservice(hal_light, hal_light_hwservice)
Steven Moreland62aee3b2017-01-04 17:56:04 -08006
Ivailo Karamanolev254d7572020-01-21 16:37:44 +01007add_service(hal_light_server, hal_light_service)
8binder_call(hal_light_server, servicemanager)
9
10allow hal_light_client hal_light_service:service_manager find;
11
12allow hal_light_server dumpstate:fifo_file write;
13
Steven Moreland62aee3b2017-01-04 17:56:04 -080014allow hal_light sysfs_leds:lnk_file read;
15allow hal_light sysfs_leds:file rw_file_perms;
16allow hal_light sysfs_leds:dir r_dir_perms;