Inseob Kim | 34ad1d0 | 2023-06-23 14:18:50 +0900 | [diff] [blame] | 1 | typeattribute usbd coredomain; |
2 | |||||
3 | init_daemon_domain(usbd) | ||||
4 | |||||
5 | # Access usb gadget hal | ||||
6 | hal_client_domain(usbd, hal_usb_gadget) | ||||
7 | |||||
8 | # Access persist.sys.usb.config | ||||
9 | get_prop(usbd, system_prop) | ||||
10 | |||||
11 | # start adbd during boot if adb is enabled | ||||
12 | set_prop(usbd, ctl_default_prop) | ||||
13 | |||||
14 | # Start/stop adbd via ctl.start adbd | ||||
15 | set_prop(usbd, ctl_adbd_prop) |