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