Lines Matching defs:command
103 static const char *COMMAND_FILE = "/cache/recovery/command";
144 * /cache/recovery/command - INPUT - command line for tool, one arg per line
147 * The arguments which may be supplied in the recovery.command file:
156 * After completing, we remove /cache/recovery/command and reboot.
162 * 2. main system writes "--wipe_data" to /cache/recovery/command
218 bool reboot(const std::string& command) {
219 std::string cmd = command;
312 // command line args come from, in decreasing precedence:
313 // - the actual command line
328 if (boot.command[0] != 0) {
329 std::string boot_command = std::string(boot.command, sizeof(boot.command));
330 LOG(INFO) << "Boot command: " << boot_command;
356 // --- if that doesn't work, try the command file (if we have /cache).
486 // Clear the recovery command and prepare to boot a (hopefully working) system,
509 // Remove the command file, so recovery won't repeat indefinitely.
1406 // 'sideload' command. Note this must be a real argument, not
1407 // anything in the command file or bootloader control block; the
1499 LOG(ERROR) << "Invalid command argument";
1661 // If this is an eng or userdebug build, automatically turn on the text display if no command
1667 status = INSTALL_NONE; // No command specified