Home
last modified time | relevance | path

Searched refs:usb (Results 1 – 25 of 123) sorted by relevance

12345

/system/core/rootdir/
Dinit.usb.configfs.rc1 on property:sys.usb.config=none && property:sys.usb.configfs=1
4 setprop sys.usb.ffs.ready 0
12 setprop sys.usb.state ${sys.usb.config}
15 setprop sys.usb.ffs.ready 0
17 on property:sys.usb.config=adb && property:sys.usb.configfs=1
20 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=adb && property:sys.usb.configfs=1
23 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
24 setprop sys.usb.state ${sys.usb.config}
26 on property:sys.usb.config=mtp && property:sys.usb.configfs=1
29 write /config/usb_gadget/g1/UDC ${sys.usb.controller}
[all …]
Dinit.usb.rc14 # adbd is controlled via property triggers in init.<platform>.usb.rc
22 on property:vendor.sys.usb.adb.disabled=*
23 setprop sys.usb.adb.disabled ${vendor.sys.usb.adb.disabled}
25 # Set default value on sys.usb.configfs early in boot sequence. It will be
28 setprop sys.usb.configfs 0
31 on property:sys.usb.config=none && property:sys.usb.configfs=0
35 setprop sys.usb.state ${sys.usb.config}
40 on property:sys.usb.config=adb && property:sys.usb.configfs=0
44 write /sys/class/android_usb/android0/functions ${sys.usb.config}
47 setprop sys.usb.state ${sys.usb.config}
[all …]
Dueventd.rc62 /dev/bus/usb/* 0660 root usb
64 /dev/usb_accessory 0660 root usb
/system/sepolicy/prebuilts/api/30.0/private/
Dusbd.te5 # Access usb gadget hal
8 # Access persist.sys.usb.config
Dmediaprovider.te37 # MtpServer uses /dev/usb-ffs/mtp
42 # MtpServer sets sys.usb.ffs.mtp.ready
/system/sepolicy/prebuilts/api/28.0/private/
Dusbd.te5 # Access usb gadget hal
8 # Access persist.sys.usb.config
Dmediaprovider.te37 # MtpServer uses /dev/usb-ffs/mtp
41 # MtpServer sets sys.usb.ffs.mtp.ready
/system/sepolicy/prebuilts/api/29.0/private/
Dusbd.te5 # Access usb gadget hal
8 # Access persist.sys.usb.config
Dmediaprovider.te37 # MtpServer uses /dev/usb-ffs/mtp
42 # MtpServer sets sys.usb.ffs.mtp.ready
/system/sepolicy/private/
Dusbd.te5 # Access usb gadget hal
8 # Access persist.sys.usb.config
Drecovery.te12 # Set sys.usb.ffs.ready when starting minadbd for sideload.
16 # Set sys.usb.config when switching into fastboot.
Dmediaprovider.te38 # MtpServer uses /dev/usb-ffs/mtp
43 # MtpServer sets sys.usb.ffs.mtp.ready
/system/sepolicy/prebuilts/api/31.0/private/
Dusbd.te5 # Access usb gadget hal
8 # Access persist.sys.usb.config
Drecovery.te12 # Set sys.usb.ffs.ready when starting minadbd for sideload.
16 # Set sys.usb.config when switching into fastboot.
Dmediaprovider.te38 # MtpServer uses /dev/usb-ffs/mtp
43 # MtpServer sets sys.usb.ffs.mtp.ready
/system/core/fastboot/
Dusb_linux.cpp347 std::unique_ptr<usb_handle> usb; in find_usb_device() local
359 while ((de = readdir(busdir.get())) && (usb == nullptr)) { in find_usb_device()
378 usb.reset(new usb_handle()); in find_usb_device()
379 strcpy(usb->fname, devname); in find_usb_device()
380 usb->ep_in = in; in find_usb_device()
381 usb->ep_out = out; in find_usb_device()
382 usb->desc = fd; in find_usb_device()
387 usb.reset(); in find_usb_device()
396 return usb; in find_usb_device()
/system/core/usbd/
Dusbd.cpp30 using android::hardware::usb::gadget::V1_0::GadgetFunction;
31 using android::hardware::usb::gadget::V1_0::IUsbGadget;
Dusbd.rc5 group root usb system
DAndroid.bp15 "android.hardware.usb.gadget@1.0",
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp131 std::unique_ptr<UsbTransport> usb(usb_open(matcher, USB_TIMEOUT)); in SetUp() local
132 if (usb) in SetUp()
134 new TransportSniffer(std::move(usb), serial_port)); in SetUp()
215 std::unique_ptr<UsbTransport> usb(usb_open(matcher, USB_TIMEOUT)); in ReconnectFastbootDevice() local
216 if (usb) { in ReconnectFastbootDevice()
218 new TransportSniffer(std::move(usb), serial_port)); in ReconnectFastbootDevice()
/system/sepolicy/prebuilts/api/27.0/private/
Dmediaprovider.te30 # MtpServer uses /dev/usb-ffs/mtp
34 # MtpServer sets sys.usb.ffs.mtp.ready
/system/sepolicy/public/
Dhal_usb_gadget.te7 # Configuring usb gadget functions
/system/sepolicy/prebuilts/api/31.0/public/
Dhal_usb_gadget.te7 # Configuring usb gadget functions
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_usb_gadget.te7 # Configuring usb gadget functions
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_usb_gadget.te7 # Configuring usb gadget functions

12345