1typeattribute usbd coredomain; 2 3init_daemon_domain(usbd) 4 5# Access usb gadget hal 6hal_client_domain(usbd, hal_usb_gadget) 7 8# Access persist.sys.usb.config 9get_prop(usbd, system_prop) 10 11# start adbd during boot if adb is enabled 12set_prop(usbd, ctl_default_prop) 13 14# Start/stop adbd via ctl.start adbd 15set_prop(usbd, ctl_adbd_prop) 16