Lines Matching refs:monitorFfs
139 Status addGenericAndroidFunctions(MonitorFfs *monitorFfs, uint64_t functions, bool *ffsEnabled, in addGenericAndroidFunctions() argument
147 if (!monitorFfs->addInotifyFd("/dev/usb-ffs/mtp/")) in addGenericAndroidFunctions()
154 monitorFfs->addEndPoint("/dev/usb-ffs/mtp/ep1"); in addGenericAndroidFunctions()
155 monitorFfs->addEndPoint("/dev/usb-ffs/mtp/ep2"); in addGenericAndroidFunctions()
156 monitorFfs->addEndPoint("/dev/usb-ffs/mtp/ep3"); in addGenericAndroidFunctions()
163 if (!monitorFfs->addInotifyFd("/dev/usb-ffs/ptp/")) in addGenericAndroidFunctions()
170 monitorFfs->addEndPoint("/dev/usb-ffs/ptp/ep1"); in addGenericAndroidFunctions()
171 monitorFfs->addEndPoint("/dev/usb-ffs/ptp/ep2"); in addGenericAndroidFunctions()
172 monitorFfs->addEndPoint("/dev/usb-ffs/ptp/ep3"); in addGenericAndroidFunctions()
202 Status addAdb(MonitorFfs *monitorFfs, int *functionCount) { in addAdb() argument
207 if (!monitorFfs->addInotifyFd("/dev/usb-ffs/adb/")) in addAdb()
212 monitorFfs->addEndPoint("/dev/usb-ffs/adb/ep1"); in addAdb()
213 monitorFfs->addEndPoint("/dev/usb-ffs/adb/ep2"); in addAdb()