huangcm
2025-07-01 676035278781360996553c427a12bf358249ebf7
1
2
3
4
5
6
7
8
9
10
11
12
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)