• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
8allow hal_usb_impl sysfs_msm_subsys:dir search;
9allow hal_usb_impl sysfs_msm_subsys:file r_file_perms;
10r_dir_file(hal_usb_impl, sysfs_usb_c)
11allow hal_usb_impl sysfs_usb_c:file w_file_perms;
12allow hal_usb_impl sysfs_usb_device:dir r_dir_perms;
13allow hal_usb_impl sysfs_usb_device:file rw_file_perms;
14allow hal_usb_impl configfs:file create_file_perms;
15
16set_prop(hal_usb_impl, vendor_usb_config_prop)
17get_prop(hal_usb_impl, vendor_usb_prop)
18