Lines Matching refs:command
435 static std::string format_host_command(const char* command, transport_type type, const char* serial… in format_host_command() argument
437 return android::base::StringPrintf("host-serial:%s:%s", serial, command); in format_host_command()
446 return android::base::StringPrintf("%s:%s", prefix, command); in format_host_command()
702 const std::string& command) { in send_shell_command() argument
706 fd = adb_connect(command, &error); in send_shell_command()
929 static int adb_connect_command(const std::string& command) { in adb_connect_command() argument
931 int fd = adb_connect(command, &error); in adb_connect_command()
941 static int adb_query_command(const std::string& command) { in adb_query_command() argument
944 if (!adb_query(command, &result, &error)) { in adb_query_command()
1257 std::string command; in adb_commandline() local
1259 command = "reboot:bootloader"; in adb_commandline()
1261 command = android::base::StringPrintf("%s:%s", argv[0], argv[1]); in adb_commandline()
1263 command = android::base::StringPrintf("%s:", argv[0]); in adb_commandline()
1265 return adb_connect_command(command); in adb_commandline()
1345 const char* command = no_rebind ? "forward:norebind" : "forward"; in adb_commandline() local
1346 … cmd = android::base::StringPrintf("%s:%s:%s;%s", host_prefix, command, argv[1], argv[2]); in adb_commandline()