Lines Matching refs:command
85 " -d - directs command to the only connected USB device\n"
87 " -e - directs command to the only running emulator.\n"
89 " -s <specific device> - directs command to the device or emulator with the given\n"
106 " Using this command with no additional arguments\n"
116 " adb shell <command> - run remote shell command\n"
117 " adb emu <command> - run emulator console command\n"
164 " command line will be included even if -nosystem would\n"
374 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* serial)
377 snprintf(buffer, buflen, "host-serial:%s:%s", serial, command);
385 snprintf(buffer, buflen, "%s:%s", prefix, command);
468 char command[4096];
482 format_host_command(command, sizeof command, "get-state", ttype, serial);
492 state = adb_query(command);
940 * command requires this information, then the user must
1220 char command[100];
1222 snprintf(command, sizeof(command), "reboot:bootloader");
1224 snprintf(command, sizeof(command), "%s:%s", argv[0], argv[1]);
1226 snprintf(command, sizeof(command), "%s:", argv[0]);
1227 int fd = adb_connect(command);
1265 /* Allow a command to be run after wait-for-device,
1305 // Determine the <host-prefix> for this command.
1352 const char* command = no_rebind ? "forward:norebind:" : "forward";
1353 snprintf(buf, sizeof buf, "%s:%s:%s;%s", host_prefix, command, argv[1], argv[2]);