Lines Matching refs:linkFunction
261 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()
508 if (linkFunction("ffs.adb", i++)) return Status::ERROR; in setupFunctions()