Home
last modified time | relevance | path

Searched refs:linkFunction (Results 1 – 5 of 5) sorted by relevance

/device/google/coral/usb/
DUsbGadget.cpp234 if (string(function) == "diag" && linkFunction("diag.diag", i++)) in setupFunctions()
236 if (string(function) == "diag_mdm" && linkFunction("diag.diag_mdm", i++)) in setupFunctions()
238 if (string(function) == "qdss" && linkFunction("qdss.qdss", i++)) in setupFunctions()
240 if (string(function) == "qdss_mdm" && linkFunction("qdss.qdss_mdm", i++)) in setupFunctions()
242 if (string(function) == "serial_cdev" && linkFunction("cser.dun.0", i++)) in setupFunctions()
244 if (string(function) == "dpl_gsi" && linkFunction("gsi.dpl", i++)) in setupFunctions()
246 if (string(function) == "rmnet_gsi" && linkFunction("gsi.rmnet", i++)) in setupFunctions()
DUsbGadget.h59 using ::android::hardware::google::pixel::usb::linkFunction;
/device/google/wahoo/usb/
DUsbGadget.cpp261 static int linkFunction(const char *function, int index) { in linkFunction() function
444 if (linkFunction("ffs.mtp", i++)) return Status::ERROR; in setupFunctions()
459 if (linkFunction("ffs.ptp", i++)) return Status::ERROR; in setupFunctions()
469 if (linkFunction("midi.gs5", i++)) return Status::ERROR; in setupFunctions()
474 if (linkFunction("accessory.gs2", i++)) return Status::ERROR; in setupFunctions()
479 if (linkFunction("audio_source.gs3", i++)) return Status::ERROR; in setupFunctions()
484 if (linkFunction("gsi.rndis", i++)) return Status::ERROR; in setupFunctions()
492 if (string(function) == "diag" && linkFunction("diag.diag", i++)) in setupFunctions()
494 if (string(function) == "serial_cdev" && linkFunction("cser.dun.0", i++)) in setupFunctions()
496 if (string(function) == "rmnet_gsi" && linkFunction("gsi.rmnet", i++)) in setupFunctions()
[all …]
/device/google/bonito/usb/
DUsbGadget.cpp286 static int linkFunction(const char *function, int index) { in linkFunction() function
469 if (linkFunction("ffs.mtp", i++)) return Status::ERROR; in setupFunctions()
484 if (linkFunction("ffs.ptp", i++)) return Status::ERROR; in setupFunctions()
494 if (linkFunction("midi.gs5", i++)) return Status::ERROR; in setupFunctions()
499 if (linkFunction("accessory.gs2", i++)) return Status::ERROR; in setupFunctions()
504 if (linkFunction("audio_source.gs3", i++)) return Status::ERROR; in setupFunctions()
509 if (linkFunction("gsi.rndis", i++)) return Status::ERROR; in setupFunctions()
517 if (string(function) == "diag" && linkFunction("diag.diag", i++)) in setupFunctions()
519 if (string(function) == "serial_cdev" && linkFunction("cser.dun.0", i++)) in setupFunctions()
521 if (string(function) == "rmnet_gsi" && linkFunction("gsi.rmnet", i++)) in setupFunctions()
[all …]
/device/google/crosshatch/usb/
DUsbGadget.cpp286 static int linkFunction(const char *function, int index) { in linkFunction() function
469 if (linkFunction("ffs.mtp", i++)) return Status::ERROR; in setupFunctions()
484 if (linkFunction("ffs.ptp", i++)) return Status::ERROR; in setupFunctions()
494 if (linkFunction("midi.gs5", i++)) return Status::ERROR; in setupFunctions()
499 if (linkFunction("accessory.gs2", i++)) return Status::ERROR; in setupFunctions()
504 if (linkFunction("audio_source.gs3", i++)) return Status::ERROR; in setupFunctions()
509 if (linkFunction("gsi.rndis", i++)) return Status::ERROR; in setupFunctions()
517 if (string(function) == "diag" && linkFunction("diag.diag", i++)) in setupFunctions()
519 if (string(function) == "serial_cdev" && linkFunction("cser.dun.0", i++)) in setupFunctions()
521 if (string(function) == "rmnet_gsi" && linkFunction("gsi.rmnet", i++)) in setupFunctions()
[all …]