Lines Matching refs:sys
7 chown system system /sys/class/android_usb/android0/f_mass_storage/lun/file
8 chmod 0660 /sys/class/android_usb/android0/f_mass_storage/lun/file
9 chown system system /sys/class/android_usb/android0/f_rndis/ethaddr
10 chmod 0660 /sys/class/android_usb/android0/f_rndis/ethaddr
26 setprop sys.usb.configfs 0
29 on property:sys.usb.config=none && property:sys.usb.configfs=0
31 write /sys/class/android_usb/android0/enable 0
32 write /sys/class/android_usb/android0/bDeviceClass 0
33 setprop sys.usb.state ${sys.usb.config}
38 on property:sys.usb.config=adb && property:sys.usb.configfs=0
39 write /sys/class/android_usb/android0/enable 0
40 write /sys/class/android_usb/android0/idVendor 18d1
41 write /sys/class/android_usb/android0/idProduct 4EE7
42 write /sys/class/android_usb/android0/functions ${sys.usb.config}
43 write /sys/class/android_usb/android0/enable 1
45 setprop sys.usb.state ${sys.usb.config}
48 on property:sys.usb.config=accessory && property:sys.usb.configfs=0
49 write /sys/class/android_usb/android0/enable 0
50 write /sys/class/android_usb/android0/idVendor 18d1
51 write /sys/class/android_usb/android0/idProduct 2d00
52 write /sys/class/android_usb/android0/functions ${sys.usb.config}
53 write /sys/class/android_usb/android0/enable 1
54 setprop sys.usb.state ${sys.usb.config}
57 on property:sys.usb.config=accessory,adb && property:sys.usb.configfs=0
58 write /sys/class/android_usb/android0/enable 0
59 write /sys/class/android_usb/android0/idVendor 18d1
60 write /sys/class/android_usb/android0/idProduct 2d01
61 write /sys/class/android_usb/android0/functions ${sys.usb.config}
62 write /sys/class/android_usb/android0/enable 1
64 setprop sys.usb.state ${sys.usb.config}
67 on property:sys.usb.config=audio_source && property:sys.usb.configfs=0
68 write /sys/class/android_usb/android0/enable 0
69 write /sys/class/android_usb/android0/idVendor 18d1
70 write /sys/class/android_usb/android0/idProduct 2d02
71 write /sys/class/android_usb/android0/functions ${sys.usb.config}
72 write /sys/class/android_usb/android0/enable 1
73 setprop sys.usb.state ${sys.usb.config}
76 on property:sys.usb.config=audio_source,adb && property:sys.usb.configfs=0
77 write /sys/class/android_usb/android0/enable 0
78 write /sys/class/android_usb/android0/idVendor 18d1
79 write /sys/class/android_usb/android0/idProduct 2d03
80 write /sys/class/android_usb/android0/functions ${sys.usb.config}
81 write /sys/class/android_usb/android0/enable 1
83 setprop sys.usb.state ${sys.usb.config}
86 on property:sys.usb.config=accessory,audio_source && property:sys.usb.configfs=0
87 write /sys/class/android_usb/android0/enable 0
88 write /sys/class/android_usb/android0/idVendor 18d1
89 write /sys/class/android_usb/android0/idProduct 2d04
90 write /sys/class/android_usb/android0/functions ${sys.usb.config}
91 write /sys/class/android_usb/android0/enable 1
92 setprop sys.usb.state ${sys.usb.config}
95 on property:sys.usb.config=accessory,audio_source,adb && property:sys.usb.configfs=0
96 write /sys/class/android_usb/android0/enable 0
97 write /sys/class/android_usb/android0/idVendor 18d1
98 write /sys/class/android_usb/android0/idProduct 2d05
99 write /sys/class/android_usb/android0/functions ${sys.usb.config}
100 write /sys/class/android_usb/android0/enable 1
102 setprop sys.usb.state ${sys.usb.config}
106 on boot && property:persist.sys.usb.config=*
107 setprop sys.usb.config ${persist.sys.usb.config}
114 on property:sys.usb.typec.mode=dfp
115 write /sys/class/dual_role_usb/otg_default/mode ${sys.usb.typec.mode}
116 setprop sys.usb.typec.state ${sys.usb.typec.mode}
118 on property:sys.usb.typec.mode=ufp
119 write /sys/class/dual_role_usb/otg_default/mode ${sys.usb.typec.mode}
120 setprop sys.usb.typec.state ${sys.usb.typec.mode}
123 on property:sys.usb.typec.data_role=device
124 write /sys/class/dual_role_usb/otg_default/data_role ${sys.usb.typec.data_role}
125 setprop sys.usb.typec.state ${sys.usb.typec.data_role}
127 on property:sys.usb.typec.data_role=host
128 write /sys/class/dual_role_usb/otg_default/data_role ${sys.usb.typec.data_role}
129 setprop sys.usb.typec.state ${sys.usb.typec.data_role}
132 on property:sys.usb.typec.power_role=source
133 write /sys/class/dual_role_usb/otg_default/power_role ${sys.usb.typec.power_role}
134 setprop sys.usb.typec.state ${sys.usb.typec.power_role}
136 on property:sys.usb.typec.power_role=sink
137 write /sys/class/dual_role_usb/otg_default/power_role ${sys.usb.typec.power_role}
138 setprop sys.usb.typec.state ${sys.usb.typec.power_role}