1type hal_usb_impl, domain; 2hal_server_domain(hal_usb_impl, hal_usb) 3hal_server_domain(hal_usb_impl, hal_usb_gadget) 4 5type hal_usb_impl_exec, exec_type, vendor_file_type, file_type; 6init_daemon_domain(hal_usb_impl) 7 8set_prop(hal_usb_impl, vendor_usb_prop) 9 10allow hal_usb_impl sysfs_typec_info:dir r_dir_perms; 11allow hal_usb_impl sysfs_typec_info:file rw_file_perms; 12allow hal_usb_impl sysfs_batteryinfo:dir search; 13allow hal_usb_impl sysfs_batteryinfo:file r_file_perms; 14allow hal_usb_impl sysfs_contaminant:file rw_file_perms; 15