blob: 40829b6bb0071f975372ea9746e4c2a2ff9181fe [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 Moreland82f79002020-09-10 22:57:51 +00006hal_attribute_service(hal_light, hal_light_service)
Steven Moreland62aee3b2017-01-04 17:56:04 -08007
Ivailo Karamanolev254d7572020-01-21 16:37:44 +01008binder_call(hal_light_server, servicemanager)
Robin Leee58b2d42020-04-02 18:38:15 +02009binder_use(hal_light_client)
Ivailo Karamanolev254d7572020-01-21 16:37:44 +010010
11allow hal_light_server dumpstate:fifo_file write;
12
Steven Moreland62aee3b2017-01-04 17:56:04 -080013allow 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;