Lines Matching refs:monitorFfs
126 Status addGenericAndroidFunctions(MonitorFfs* monitorFfs, uint64_t functions, bool* ffsEnabled, in addGenericAndroidFunctions() argument
133 if (!monitorFfs->addInotifyFd("/dev/usb-ffs/mtp/")) return Status::ERROR; in addGenericAndroidFunctions()
138 monitorFfs->addEndPoint("/dev/usb-ffs/mtp/ep1"); in addGenericAndroidFunctions()
139 monitorFfs->addEndPoint("/dev/usb-ffs/mtp/ep2"); in addGenericAndroidFunctions()
140 monitorFfs->addEndPoint("/dev/usb-ffs/mtp/ep3"); in addGenericAndroidFunctions()
146 if (!monitorFfs->addInotifyFd("/dev/usb-ffs/ptp/")) return Status::ERROR; in addGenericAndroidFunctions()
151 monitorFfs->addEndPoint("/dev/usb-ffs/ptp/ep1"); in addGenericAndroidFunctions()
152 monitorFfs->addEndPoint("/dev/usb-ffs/ptp/ep2"); in addGenericAndroidFunctions()
153 monitorFfs->addEndPoint("/dev/usb-ffs/ptp/ep3"); in addGenericAndroidFunctions()
191 Status addAdb(MonitorFfs* monitorFfs, int* functionCount) { in addAdb() argument
193 if (!monitorFfs->addInotifyFd("/dev/usb-ffs/adb/")) return Status::ERROR; in addAdb()
196 monitorFfs->addEndPoint("/dev/usb-ffs/adb/ep1"); in addAdb()
197 monitorFfs->addEndPoint("/dev/usb-ffs/adb/ep2"); in addAdb()