2017-12-03 23:23:16 +01:00
|
|
|
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)
|
2020-03-04 09:20:35 +01:00
|
|
|
|
|
|
|
# Start/stop adbd via ctl.start adbd
|
|
|
|
set_prop(usbd, ctl_adbd_prop)
|