platform_system_sepolicy/prebuilts/api/32.0/private/usbd.te
Inseob Kim 43b6a317bc Add SEPolicy prebuilts for Sv2 (API 32)
Bug: 206330997
Test: Build
Change-Id: I26082be343b15c9d6c7cabf0acd44711fbcc8113
2021-11-30 12:04:43 +09: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)