platform_system_sepolicy/prebuilts/api/29.0/private/usbd.te
Ian Pedowitz 94b7372534 SEPolicy Prebuilts for Q
Bug: 129943426
Test: Build
Change-Id: I3e091652fa8d1757b1f71f7559186d5b32f000d5
2019-05-14 21:42:22 -07:00

12 lines
260 B
Text

typeattribute usbd coredomain;
init_daemon_domain(usbd)
# Access usb gadget hal
hal_client_domain(usbd, hal_usb_gadget)
# Access persist.sys.usb.config
get_prop(usbd, system_prop)
# start adbd during boot if adb is enabled
set_prop(usbd, ctl_default_prop)