/device/google/sunfish/ |
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 …]
|
/device/google/redbull/ |
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.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.mtp.batchcancel true 53 setprop sys.usb.controller "a600000.dwc3" [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 …]
|
/device/linaro/hikey/hikey/ |
D | init.hikey.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 31 setprop sys.usb.controller "f72c0000.usb" 33 setprop sys.usb.mtp.device_type 3 34 setprop sys.usb.configfs 1 [all …]
|
/device/linaro/hikey/hikey960/ |
D | init.hikey960.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 31 setprop sys.usb.controller "ff100000.dwc3" 33 setprop sys.usb.mtp.device_type 3 34 setprop sys.usb.configfs 1 [all …]
|
/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 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/google/zumapro/usb/usb/ |
D | Usb.cpp | 52 namespace usb_flags = android::hardware::usb::flags; 63 using android::hardware::google::pixel::usb::getI2cClientPath; 70 namespace usb { namespace 119 void queryVersionHelper(android::hardware::usb::Usb *usb, 295 Status queryMoistureDetectionStatus(android::hardware::usb::Usb *usb, in queryMoistureDetectionStatus() argument 306 if (usb->mI2cClientPath.empty()) { in queryMoistureDetectionStatus() 308 usb->mI2cClientPath = getI2cClientPath(kHsi2cPaths[i], kTcpcDevName, kI2cClientId); in queryMoistureDetectionStatus() 309 if (usb->mI2cClientPath.empty()) { in queryMoistureDetectionStatus() 317 enabledPath = usb->mI2cClientPath + kContaminantDetectionPath; in queryMoistureDetectionStatus() 325 DetectedPath = usb->mI2cClientPath + kStatusPath; in queryMoistureDetectionStatus() [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" 26 on property:sys.usb.config=none && property:sys.usb.configfs=1 29 on property:sys.usb.ffs.mtp.ready=1 && property:sys.usb.config=mtp && 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/zuma/usb/usb/ |
D | Usb.cpp | 48 namespace usb_flags = android::hardware::usb::flags; 63 namespace usb { namespace 108 void queryVersionHelper(android::hardware::usb::Usb *usb, 460 bool switchMode(const string &portName, const PortRole &in_role, struct Usb *usb) { in switchMode() argument 476 pthread_mutex_lock(&usb->mPartnerLock); in switchMode() 477 usb->mPartnerUp = false; in switchMode() 490 int err = pthread_cond_timedwait(&usb->mPartnerCV, &usb->mPartnerLock, &to); in switchMode() 495 } else if (!usb->mPartnerUp) { in switchMode() 504 pthread_mutex_unlock(&usb->mPartnerLock); in switchMode() 513 void updatePortStatus(android::hardware::usb::Usb *usb) { in updatePortStatus() argument [all …]
|
/device/google/gs201/usb/usb/ |
D | Usb.cpp | 50 namespace usb_flags = android::hardware::usb::flags; 59 using android::hardware::google::pixel::usb::getI2cClientPath; 66 namespace usb { namespace 109 void queryVersionHelper(android::hardware::usb::Usb *usb, 251 Status queryMoistureDetectionStatus(android::hardware::usb::Usb *usb, in queryMoistureDetectionStatus() argument 262 if (usb->mI2cClientPath.empty()) { in queryMoistureDetectionStatus() 263 usb->mI2cClientPath = getI2cClientPath(kHsi2cPath, kTcpcDevName, kI2cClientId); in queryMoistureDetectionStatus() 264 if (usb->mI2cClientPath.empty()) { in queryMoistureDetectionStatus() 270 enabledPath = usb->mI2cClientPath + kContaminantDetectionPath; in queryMoistureDetectionStatus() 278 DetectedPath = usb->mI2cClientPath + kStatusPath; in queryMoistureDetectionStatus() [all …]
|
/device/google/gs101/usb/usb/ |
D | Usb.cpp | 45 namespace usb_flags = android::hardware::usb::flags; 58 namespace usb { namespace 100 void queryVersionHelper(android::hardware::usb::Usb *usb, 303 Status queryMoistureDetectionStatus(android::hardware::usb::Usb *usb, in queryMoistureDetectionStatus() argument 316 i2cPath = usb->getI2cClientPath(); in queryMoistureDetectionStatus() 472 bool switchMode(const string &portName, const PortRole &in_role, struct Usb *usb) { in switchMode() argument 488 pthread_mutex_lock(&usb->mPartnerLock); in switchMode() 489 usb->mPartnerUp = false; in switchMode() 502 int err = pthread_cond_timedwait(&usb->mPartnerCV, &usb->mPartnerLock, &to); in switchMode() 507 } else if (!usb->mPartnerUp) { in switchMode() [all …]
|
/device/google/zuma/usb/gadget/ |
D | UsbGadget.h | 43 namespace usb { 46 using ::aidl::android::hardware::usb::gadget::GadgetFunction; 47 using ::aidl::android::hardware::usb::gadget::IUsbGadgetCallback; 48 using ::aidl::android::hardware::usb::gadget::IUsbGadget; 49 using ::aidl::android::hardware::usb::gadget::Status; 50 using ::aidl::android::hardware::usb::gadget::UsbSpeed; 58 using ::android::hardware::google::pixel::usb::addAdb; 59 using ::android::hardware::google::pixel::usb::addEpollFd; 60 using ::android::hardware::google::pixel::usb::getVendorFunctions; 61 using ::android::hardware::google::pixel::usb::kDebug; [all …]
|
/device/google/gs101/usb/gadget/ |
D | UsbGadget.h | 43 namespace usb { 46 using ::aidl::android::hardware::usb::gadget::GadgetFunction; 47 using ::aidl::android::hardware::usb::gadget::IUsbGadgetCallback; 48 using ::aidl::android::hardware::usb::gadget::IUsbGadget; 49 using ::aidl::android::hardware::usb::gadget::Status; 50 using ::aidl::android::hardware::usb::gadget::UsbSpeed; 58 using ::android::hardware::google::pixel::usb::addAdb; 59 using ::android::hardware::google::pixel::usb::addEpollFd; 60 using ::android::hardware::google::pixel::usb::getVendorFunctions; 61 using ::android::hardware::google::pixel::usb::kDebug; [all …]
|
/device/google/gs201/usb/gadget/ |
D | UsbGadget.h | 43 namespace usb { 46 using ::aidl::android::hardware::usb::gadget::GadgetFunction; 47 using ::aidl::android::hardware::usb::gadget::IUsbGadgetCallback; 48 using ::aidl::android::hardware::usb::gadget::IUsbGadget; 49 using ::aidl::android::hardware::usb::gadget::Status; 50 using ::aidl::android::hardware::usb::gadget::UsbSpeed; 58 using ::android::hardware::google::pixel::usb::addAdb; 59 using ::android::hardware::google::pixel::usb::addEpollFd; 60 using ::android::hardware::google::pixel::usb::getVendorFunctions; 61 using ::android::hardware::google::pixel::usb::kDebug; [all …]
|
/device/google/zumapro/usb/gadget/ |
D | UsbGadget.h | 43 namespace usb { 46 using ::aidl::android::hardware::usb::gadget::GadgetFunction; 47 using ::aidl::android::hardware::usb::gadget::IUsbGadgetCallback; 48 using ::aidl::android::hardware::usb::gadget::IUsbGadget; 49 using ::aidl::android::hardware::usb::gadget::Status; 50 using ::aidl::android::hardware::usb::gadget::UsbSpeed; 58 using ::android::hardware::google::pixel::usb::addAdb; 59 using ::android::hardware::google::pixel::usb::addEpollFd; 60 using ::android::hardware::google::pixel::usb::getVendorFunctions; 61 using ::android::hardware::google::pixel::usb::kDebug; [all …]
|
/device/google/coral/usb/gadget/ |
D | UsbGadget.h | 37 namespace usb { 53 using ::android::hardware::google::pixel::usb::addAdb; 54 using ::android::hardware::google::pixel::usb::addEpollFd; 55 using ::android::hardware::google::pixel::usb::getVendorFunctions; 56 using ::android::hardware::google::pixel::usb::kDebug; 57 using ::android::hardware::google::pixel::usb::kDisconnectWaitUs; 58 using ::android::hardware::google::pixel::usb::linkFunction; 59 using ::android::hardware::google::pixel::usb::MonitorFfs; 60 using ::android::hardware::google::pixel::usb::resetGadget; 61 using ::android::hardware::google::pixel::usb::setVidPid; [all …]
|
/device/google/redfin/usb/gadget/ |
D | UsbGadget.h | 37 namespace usb { 53 using ::android::hardware::google::pixel::usb::addAdb; 54 using ::android::hardware::google::pixel::usb::addEpollFd; 55 using ::android::hardware::google::pixel::usb::getVendorFunctions; 56 using ::android::hardware::google::pixel::usb::kDebug; 57 using ::android::hardware::google::pixel::usb::kDisconnectWaitUs; 58 using ::android::hardware::google::pixel::usb::linkFunction; 59 using ::android::hardware::google::pixel::usb::MonitorFfs; 60 using ::android::hardware::google::pixel::usb::resetGadget; 61 using ::android::hardware::google::pixel::usb::setVidPid; [all …]
|
/device/google/sunfish/usb/gadget/ |
D | UsbGadget.h | 37 namespace usb { 53 using ::android::hardware::google::pixel::usb::addAdb; 54 using ::android::hardware::google::pixel::usb::addEpollFd; 55 using ::android::hardware::google::pixel::usb::getVendorFunctions; 56 using ::android::hardware::google::pixel::usb::kDebug; 57 using ::android::hardware::google::pixel::usb::kDisconnectWaitUs; 58 using ::android::hardware::google::pixel::usb::linkFunction; 59 using ::android::hardware::google::pixel::usb::MonitorFfs; 60 using ::android::hardware::google::pixel::usb::resetGadget; 61 using ::android::hardware::google::pixel::usb::setVidPid; [all …]
|
/device/google/barbet/usb/gadget/ |
D | UsbGadget.h | 37 namespace usb { 53 using ::android::hardware::google::pixel::usb::addAdb; 54 using ::android::hardware::google::pixel::usb::addEpollFd; 55 using ::android::hardware::google::pixel::usb::getVendorFunctions; 56 using ::android::hardware::google::pixel::usb::kDebug; 57 using ::android::hardware::google::pixel::usb::kDisconnectWaitUs; 58 using ::android::hardware::google::pixel::usb::linkFunction; 59 using ::android::hardware::google::pixel::usb::MonitorFfs; 60 using ::android::hardware::google::pixel::usb::resetGadget; 61 using ::android::hardware::google::pixel::usb::setVidPid; [all …]
|