1# HwBinder IPC from client to server 2binder_call(hal_uwb_vendor_client, hal_uwb_vendor_server) 3binder_call(hal_uwb_vendor_server, hal_uwb_vendor_client) 4 5hal_attribute_service(hal_uwb_vendor, hal_uwb_vendor_service) 6 7binder_call(hal_uwb_vendor_server, servicemanager) 8 9# allow hal_uwb_vendor to set wpan interfaces up and down 10allow hal_uwb_vendor self:udp_socket create_socket_perms; 11allowxperm hal_uwb_vendor self:udp_socket ioctl { SIOCSIFFLAGS SIOCSIFHWADDR SIOCETHTOOL }; 12# TODO(b/190461440): Find a long term solution for this. 13allow hal_uwb_vendor self:global_capability_class_set { net_admin }; 14 15# allow hal_uwb_vendor to speak to nl802154 in the kernel 16allow hal_uwb_vendor self:netlink_generic_socket create_socket_perms_no_ioctl; 17