1# 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 5hal_attribute_service(hal_usb, hal_usb_service) 6binder_call(hal_usb_server, servicemanager) 7 8hal_attribute_hwservice(hal_usb, hal_usb_hwservice) 9 10allow hal_usb self:netlink_kobject_uevent_socket create; 11allow hal_usb self:netlink_kobject_uevent_socket setopt; 12allow hal_usb self:netlink_kobject_uevent_socket getopt; 13allow hal_usb self:netlink_kobject_uevent_socket bind; 14allow hal_usb self:netlink_kobject_uevent_socket read; 15allow hal_usb sysfs:dir open; 16allow hal_usb sysfs:dir read; 17allow hal_usb sysfs:file read; 18allow hal_usb sysfs:file open; 19allow hal_usb sysfs:file write; 20allow hal_usb sysfs:file getattr; 21 22