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 5 add_hwservice(hal_usb_server, hal_usb_hwservice) 6 allow hal_usb_client hal_usb_hwservice:hwservice_manager find; 7 8 allow hal_usb self:netlink_kobject_uevent_socket create; 9 allow hal_usb self:netlink_kobject_uevent_socket setopt; 10 allow hal_usb self:netlink_kobject_uevent_socket bind; 11 allow hal_usb self:netlink_kobject_uevent_socket read; 12 allow hal_usb sysfs:dir open; 13 allow hal_usb sysfs:dir read; 14 allow hal_usb sysfs:file read; 15 allow hal_usb sysfs:file open; 16 allow hal_usb sysfs:file write; 17 allow hal_usb sysfs:file getattr; 18 19