Lines Matching defs:command
79 " -d - directs command to the only connected USB device\n"
81 " -e - directs command to the only running emulator.\n"
83 " -s <specific device> - directs command to the device or emulator with the given\n"
100 " Using this command with no additional arguments\n"
115 " adb shell <command> - run remote shell command\n"
116 " adb emu <command> - run emulator console command\n"
187 " command line will be included even if -nosystem would\n"
435 static std::string format_host_command(const char* command, transport_type type, const char* serial) {
437 return android::base::StringPrintf("host-serial:%s:%s", serial, command);
446 return android::base::StringPrintf("%s:%s", prefix, command);
502 * command line) to the client, using a simple protocol:
552 fprintf(stderr, "* failed to read command: %s\n", strerror(errno));
702 const std::string& command) {
706 fd = adb_connect(command, &error);
929 static int adb_connect_command(const std::string& command) {
931 int fd = adb_connect(command, &error);
941 static int adb_query_command(const std::string& command) {
944 if (!adb_query(command, &result, &error)) {
965 // command requires this information, then the user must
1098 // Allow a command to be run after wait-for-device,
1257 std::string command;
1259 command = "reboot:bootloader";
1261 command = android::base::StringPrintf("%s:%s", argv[0], argv[1]);
1263 command = android::base::StringPrintf("%s:", argv[0]);
1265 return adb_connect_command(command);
1303 // Determine the <host-prefix> for this command.
1345 const char* command = no_rebind ? "forward:norebind" : "forward";
1346 cmd = android::base::StringPrintf("%s:%s:%s;%s", host_prefix, command, argv[1], argv[2]);