platform_system_sepolicy/prebuilts/api/31.0/private/usbd.te
Jeff Sharkey 6a5fd26e7a platform/system/sepolicy - SEPolicy Prebuilts for S
Bug: 171506470
Test: Build
Change-Id: I8bf6c8833ecc65ca241fb9bc8be1b7b919825414
2021-06-01 06:49:23 -06:00

15 lines
328 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)
# Start/stop adbd via ctl.start adbd
set_prop(usbd, ctl_adbd_prop)