/device/linaro/dragonboard/ |
D | init.common.usb.rc | 22 mkdir /dev/usb-ffs 0775 shell shell 23 mkdir /dev/usb-ffs/adb 0770 shell shell 24 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 25 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 26 mkdir /dev/usb-ffs/ptp 0770 mtp mtp 27 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 28 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 29 setprop sys.usb.controller "a600000.dwc3" 31 setprop sys.usb.mtp.device_type 3 32 setprop sys.usb.configfs 1 [all …]
|
/device/linaro/hikey/ |
D | init.common.usb.rc | 23 mkdir /dev/usb-ffs 0775 shell shell 24 mkdir /dev/usb-ffs/adb 0770 shell shell 25 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 26 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 27 mkdir /dev/usb-ffs/ptp 0770 mtp mtp 28 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 29 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 30 setprop sys.usb.mtp.device_type 3 31 setprop sys.usb.configfs 1 32 setprop sys.usb.ffs.aio_compat 1 [all …]
|
/device/linaro/poplar/vendor/ |
D | init.poplar.usb.rc | 2 mkdir /dev/usb-ffs 0770 shell shell 3 mkdir /dev/usb-ffs/adb 0770 shell shell 25 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 26 setprop sys.usb.configfs 1 27 setprop sys.usb.controller "f98c0000.usb" 29 on property:sys.usb.config=none && property:sys.usb.configfs=1 31 setprop sys.usb.ffs.ready 0 34 setprop sys.usb.ffs.ready 0 36 on property:sys.usb.config=mtp && property:sys.usb.configfs=1 41 on property:sys.usb.config=mtp,adb && property:sys.usb.configfs=1 [all …]
|
/device/amlogic/yukawa/ |
D | init.recovery.hardware.rc | 16 mkdir /dev/usb-ffs 0775 shell shell 17 mkdir /dev/usb-ffs/adb 0770 shell shell 18 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 19 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 20 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 21 setprop sys.usb.mtp.device_type 3 22 setprop sys.usb.configfs 1 23 setprop sys.usb.controller "ff400000.usb" 24 setprop sys.usb.ffs.aio_compat 1 27 on property:sys.usb.config=none && property:sys.usb.configfs=1 [all …]
|
D | init.yukawa.usb.rc | 18 mkdir /dev/usb-ffs 0775 shell shell 19 mkdir /dev/usb-ffs/adb 0770 shell shell 20 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 21 mkdir /dev/usb-ffs/ptp 0770 mtp mtp 22 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 23 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 24 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 25 setprop sys.usb.mtp.device_type 3 26 setprop sys.usb.configfs 1 27 setprop sys.usb.controller "ff400000.usb" [all …]
|
/device/google/coral/ |
D | init.msm.usb.configfs.rc | 30 on property:sys.usb.config=none && property:sys.usb.configfs=1 41 on property:sys.usb.config=mass_storage && property:sys.usb.configfs=1 55 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 56 setprop sys.usb.state ${sys.usb.config} 58 on property:sys.usb.config=mass_storage,adb && property:sys.usb.configfs=1 61 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mass_storage,adb && property:sys.usb.con… 76 write /config/usb_gadget/g1/UDC ${sys.usb.controller} 77 setprop sys.usb.state ${sys.usb.config} 79 on property:sys.usb.config=diag,adb && property:sys.usb.configfs=1 82 on property:sys.usb.ffs.ready=1 && property:sys.usb.config=diag,adb && property:sys.usb.configfs=1 [all …]
|
D | init.qcom.usb.rc | 30 setprop sys.usb.controller ${ro.boot.usbcontroller} 33 setprop sys.usb.controller ${ro.boot.usbcontroller} 36 mkdir /dev/usb-ffs 0770 shell shell 37 mkdir /dev/usb-ffs/adb 0770 shell shell 52 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 54 enable vendor.qcom-usb-sh 55 start vendor.qcom-usb-sh 56 setprop sys.usb.config mass_storage 60 mkdir /dev/usb-ffs 0770 shell shell 61 mkdir /dev/usb-ffs/adb 0770 shell shell [all …]
|
D | init.qcom.usb.sh | 75 usb_config=`getprop persist.vendor.usb.config` 78 setprop persist.vendor.usb.config diag,diag_mdm,qdss,qdss_mdm,serial_cdev,dpl,rmnet,adb 82 setprop persist.vendor.usb.config diag,adb 87 setprop persist.vendor.usb.config diag,adb 93 setprop persist.vendor.usb.config diag,adb 98 … setprop persist.vendor.usb.config diag,serial_cdev,serial_tty,rmnet_ipa,mass_storage,adb 101 setprop persist.vendor.usb.config diag,serial_smd,rmnet_qti_bam,adb 105 setprop persist.vendor.usb.config diag,serial_cdev,rmnet,dpl,adb 110 setprop persist.vendor.usb.config diag,serial_smd,rmnet_ipa,adb 113 setprop persist.vendor.usb.config diag,serial_smd,rmnet_qti_bam,adb [all …]
|
D | init.hardware.usb.rc | 45 mkdir /dev/usb-ffs 0775 shell shell 46 mkdir /dev/usb-ffs/adb 0770 shell shell 47 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 48 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 49 mkdir /dev/usb-ffs/ptp 0770 mtp mtp 50 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 51 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 52 setprop sys.usb.mtp.device_type 3 53 setprop sys.usb.controller "a600000.dwc3" 59 write /sys/class/power_supply/usb/moisture_detection_enabled 0 [all …]
|
/device/ti/beagle_x15/ |
D | init.beagle_x15board.usb.rc | 18 mkdir /dev/usb-ffs 0775 shell shell 19 mkdir /dev/usb-ffs/adb 0770 shell shell 20 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 21 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 22 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 23 setprop sys.usb.mtp.device_type 3 24 setprop sys.usb.configfs 1 27 on property:sys.usb.config=none && property:sys.usb.configfs=1 30 on property:sys.usb.ffs.mtp.ready=1 && property:sys.usb.config=mtp && property:sys.usb.configfs=1 35 on property:sys.usb.ffs.ready=1 && property:sys.usb.ffs.mtp.ready=1 && property:sys.usb.config=mtp,… [all …]
|
/device/google/coral/usb/ |
D | Usb.h | 19 namespace usb { 30 using ::android::hardware::usb::V1_0::PortDataRole; 31 using ::android::hardware::usb::V1_0::PortPowerRole; 32 using ::android::hardware::usb::V1_0::PortRole; 33 using ::android::hardware::usb::V1_0::PortRoleType; 34 using ::android::hardware::usb::V1_0::Status; 35 using ::android::hardware::usb::V1_2::IUsb; 36 using ::android::hardware::usb::V1_2::IUsbCallback; 38 using ::android::hardware::usb::V1_1::PortMode_1_1; 39 using ::android::hardware::usb::V1_1::PortStatus_1_1; [all …]
|
D | UsbGadget.h | 38 namespace usb { 54 using ::android::hardware::google::pixel::usb::addAdb; 55 using ::android::hardware::google::pixel::usb::addEpollFd; 56 using ::android::hardware::google::pixel::usb::getVendorFunctions; 57 using ::android::hardware::google::pixel::usb::kDebug; 58 using ::android::hardware::google::pixel::usb::kDisconnectWaitUs; 59 using ::android::hardware::google::pixel::usb::linkFunction; 60 using ::android::hardware::google::pixel::usb::MonitorFfs; 61 using ::android::hardware::google::pixel::usb::resetGadget; 62 using ::android::hardware::google::pixel::usb::setVidPid; [all …]
|
D | Android.bp | 17 name: "android.hardware.usb@1.2-service.coral", 19 init_rc: ["android.hardware.usb@1.2-service.coral.rc"], 22 "android.hardware.usb@1.0", 23 "android.hardware.usb@1.1", 24 "android.hardware.usb@1.2", 25 "android.hardware.usb.gadget@1.0",
|
D | Usb.cpp | 43 namespace usb { namespace 55 void queryVersionHelper(android::hardware::usb::V1_2::implementation::Usb *usb, 224 bool switchMode(const hidl_string &portName, const PortRole &newRole, struct Usb *usb) { in switchMode() argument 240 pthread_mutex_lock(&usb->mPartnerLock); in switchMode() 241 usb->mPartnerUp = false; in switchMode() 254 int err = pthread_cond_timedwait(&usb->mPartnerCV, &usb->mPartnerLock, &to); in switchMode() 259 } else if (!usb->mPartnerUp) { in switchMode() 268 pthread_mutex_unlock(&usb->mPartnerLock); in switchMode() 555 void queryVersionHelper(android::hardware::usb::V1_2::implementation::Usb *usb, in queryVersionHelper() argument 560 sp<V1_1::IUsbCallback> callback_V1_1 = V1_1::IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper() [all …]
|
D | service.cpp | 30 using android::hardware::usb::gadget::V1_0::IUsbGadget; 31 using android::hardware::usb::gadget::V1_0::implementation::UsbGadget; 32 using android::hardware::usb::V1_2::IUsb; 33 using android::hardware::usb::V1_2::implementation::Usb;
|
/device/google/crosshatch/usb/ |
D | Usb.h | 19 namespace usb { 23 using ::android::hardware::usb::V1_0::PortRole; 24 using ::android::hardware::usb::V1_0::PortRoleType; 25 using ::android::hardware::usb::V1_0::PortDataRole; 26 using ::android::hardware::usb::V1_0::PortPowerRole; 27 using ::android::hardware::usb::V1_0::Status; 28 using ::android::hardware::usb::V1_1::IUsb; 29 using ::android::hardware::usb::V1_1::IUsbCallback; 30 using ::android::hardware::usb::V1_1::PortMode_1_1; 31 using ::android::hardware::usb::V1_1::PortStatus_1_1;
|
D | service.cpp | 30 using android::hardware::usb::V1_1::IUsb; 31 using android::hardware::usb::gadget::V1_0::IUsbGadget; 32 using android::hardware::usb::V1_1::implementation::Usb; 33 using android::hardware::usb::gadget::V1_0::implementation::UsbGadget;
|
/device/google/wahoo/usb/ |
D | Usb.h | 19 namespace usb { 23 using ::android::hardware::usb::V1_0::PortRole; 24 using ::android::hardware::usb::V1_0::PortRoleType; 25 using ::android::hardware::usb::V1_0::PortDataRole; 26 using ::android::hardware::usb::V1_0::PortPowerRole; 27 using ::android::hardware::usb::V1_0::Status; 28 using ::android::hardware::usb::V1_1::IUsb; 29 using ::android::hardware::usb::V1_1::IUsbCallback; 30 using ::android::hardware::usb::V1_1::PortMode_1_1; 31 using ::android::hardware::usb::V1_1::PortStatus_1_1;
|
D | service.cpp | 30 using android::hardware::usb::V1_1::IUsb; 31 using android::hardware::usb::gadget::V1_0::IUsbGadget; 32 using android::hardware::usb::V1_1::implementation::Usb; 33 using android::hardware::usb::gadget::V1_0::implementation::UsbGadget;
|
/device/google/bonito/usb/ |
D | Usb.h | 19 namespace usb { 23 using ::android::hardware::usb::V1_0::PortRole; 24 using ::android::hardware::usb::V1_0::PortRoleType; 25 using ::android::hardware::usb::V1_0::PortDataRole; 26 using ::android::hardware::usb::V1_0::PortPowerRole; 27 using ::android::hardware::usb::V1_0::Status; 28 using ::android::hardware::usb::V1_1::IUsb; 29 using ::android::hardware::usb::V1_1::IUsbCallback; 30 using ::android::hardware::usb::V1_1::PortMode_1_1; 31 using ::android::hardware::usb::V1_1::PortStatus_1_1;
|
/device/google/crosshatch/ |
D | init.hardware.usb.rc | 43 mkdir /dev/usb-ffs 0775 shell shell 44 mkdir /dev/usb-ffs/adb 0770 shell shell 45 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 46 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 47 mkdir /dev/usb-ffs/ptp 0770 mtp mtp 48 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 49 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 50 setprop sys.usb.mtp.device_type 3 51 setprop sys.usb.controller "a600000.dwc3" 57 setprop sys.usb.configfs 2 [all …]
|
/device/google/bonito/ |
D | init.hardware.usb.rc | 43 mkdir /dev/usb-ffs 0775 shell shell 44 mkdir /dev/usb-ffs/adb 0770 shell shell 45 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 46 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 47 mkdir /dev/usb-ffs/ptp 0770 mtp mtp 48 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 49 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 50 setprop sys.usb.mtp.device_type 3 51 setprop sys.usb.controller "a600000.dwc3" 57 setprop sys.usb.configfs 2 [all …]
|
/device/google/muskie/ |
D | init.common.usb.rc | 1 import /vendor/etc/init/hw/init.wahoo.usb.rc 3 on boot && property:ro.bootmode=usbradio && property:persist.sys.usb.usbradio.config=* 4 setprop sys.usb.config "none" 5 setprop sys.usb.config ${persist.sys.usb.usbradio.config}
|
/device/linaro/poplar/installer/recovery_files/ |
D | install | 2 fatload usb 0:1 0x08000000 recovery_files/mbr.bin.gz 7 fatload usb 0:1 0x08000000 recovery_files/ebr5.bin.gz 12 fatload usb 0:1 0x08000000 recovery_files/ebr6.bin.gz 17 fatload usb 0:1 0x08000000 recovery_files/ebr7.bin.gz 23 fatload usb 0:1 0x08000000 recovery_files/loader.bin.gz
|
/device/google/wahoo/ |
D | init.hardware.usb.rc | 44 mkdir /dev/usb-ffs 0775 shell shell 45 mkdir /dev/usb-ffs/adb 0770 shell shell 46 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 47 mkdir /dev/usb-ffs/mtp 0770 mtp mtp 48 mkdir /dev/usb-ffs/ptp 0770 mtp mtp 49 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 50 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 51 setprop sys.usb.mtp.device_type 3 52 setprop sys.usb.controller "a800000.dwc3" 58 setprop sys.usb.configfs 2
|