blob: 52fdce224d01c8a6b870b368ccbe23b5269b3f1c [file] [log] [blame]
Alex Klyubin53656c12017-04-13 19:05:27 -07001# HwBinder IPC from client to server, and callbacks
2binder_call(hal_usb_client, hal_usb_server)
3binder_call(hal_usb_server, hal_usb_client)
4
5add_hwservice(hal_usb_server, hal_usb_hwservice)
Steven Moreland8fc79812018-05-30 16:43:17 -07006hal_attribute_hwservice_client(hal_usb, hal_usb_hwservice)
Badhri Jagan Sridharanb6e4d4b2017-01-12 17:18:52 -08007
8allow hal_usb self:netlink_kobject_uevent_socket create;
9allow hal_usb self:netlink_kobject_uevent_socket setopt;
10allow hal_usb self:netlink_kobject_uevent_socket bind;
11allow hal_usb self:netlink_kobject_uevent_socket read;
12allow hal_usb sysfs:dir open;
13allow hal_usb sysfs:dir read;
14allow hal_usb sysfs:file read;
15allow hal_usb sysfs:file open;
16allow hal_usb sysfs:file write;
17allow hal_usb sysfs:file getattr;
Badhri Jagan Sridharanb6e4d4b2017-01-12 17:18:52 -080018