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_usb_client, hal_usb_server) |
| 3 | binder_call(hal_usb_server, hal_usb_client) |
| 4 | |
Steven Moreland | 9234e00 | 2018-06-06 09:30:18 -0700 | [diff] [blame] | 5 | hal_attribute_hwservice(hal_usb, hal_usb_hwservice) |
Badhri Jagan Sridharan | b6e4d4b | 2017-01-12 17:18:52 -0800 | [diff] [blame] | 6 | |
| 7 | allow hal_usb self:netlink_kobject_uevent_socket create; |
| 8 | allow hal_usb self:netlink_kobject_uevent_socket setopt; |
| 9 | allow hal_usb self:netlink_kobject_uevent_socket bind; |
| 10 | allow hal_usb self:netlink_kobject_uevent_socket read; |
| 11 | allow hal_usb sysfs:dir open; |
| 12 | allow hal_usb sysfs:dir read; |
| 13 | allow hal_usb sysfs:file read; |
| 14 | allow hal_usb sysfs:file open; |
| 15 | allow hal_usb sysfs:file write; |
| 16 | allow hal_usb sysfs:file getattr; |
Badhri Jagan Sridharan | b6e4d4b | 2017-01-12 17:18:52 -0800 | [diff] [blame] | 17 | |