Alex Klyubin | 53656c1 | 2017-04-13 19:05:27 -0700 | [diff] [blame] | 1 | # HwBinder IPC from client to server, and callbacks |
| 2 | binder_call(hal_light_client, hal_light_server) |
| 3 | binder_call(hal_light_server, hal_light_client) |
| 4 | |
Steven Moreland | 9234e00 | 2018-06-06 09:30:18 -0700 | [diff] [blame] | 5 | hal_attribute_hwservice(hal_light, hal_light_hwservice) |
Steven Moreland | 82f7900 | 2020-09-10 22:57:51 +0000 | [diff] [blame^] | 6 | hal_attribute_service(hal_light, hal_light_service) |
Steven Moreland | 62aee3b | 2017-01-04 17:56:04 -0800 | [diff] [blame] | 7 | |
Ivailo Karamanolev | 254d757 | 2020-01-21 16:37:44 +0100 | [diff] [blame] | 8 | binder_call(hal_light_server, servicemanager) |
Robin Lee | e58b2d4 | 2020-04-02 18:38:15 +0200 | [diff] [blame] | 9 | binder_use(hal_light_client) |
Ivailo Karamanolev | 254d757 | 2020-01-21 16:37:44 +0100 | [diff] [blame] | 10 | |
| 11 | allow hal_light_server dumpstate:fifo_file write; |
| 12 | |
Steven Moreland | 62aee3b | 2017-01-04 17:56:04 -0800 | [diff] [blame] | 13 | allow hal_light sysfs_leds:lnk_file read; |
| 14 | allow hal_light sysfs_leds:file rw_file_perms; |
| 15 | allow hal_light sysfs_leds:dir r_dir_perms; |