Lines Matching refs:Command
380 IN CHAR8 *Command
385 Status = mPlatform->DoOemCommand (Command);
387 SEND_LITERAL ("FAILOEM Command not recognised.");
389 SEND_LITERAL ("FAILError while executing command");
405 CHAR8 Command[FASTBOOT_COMMAND_MAX_LENGTH + 1];
407 // Max command size is 64 bytes
414 AsciiStrnCpyS (Command, sizeof Command, Data, Size);
416 // Parse command
417 if (MATCH_CMD_LITERAL ("getvar", Command)) {
418 HandleGetVar (Command + sizeof ("getvar"));
419 } else if (MATCH_CMD_LITERAL ("download", Command)) {
420 HandleDownload (Command + sizeof ("download"));
421 } else if (MATCH_CMD_LITERAL ("verify", Command)) {
423 } else if (MATCH_CMD_LITERAL ("flash", Command)) {
424 HandleFlash (Command + sizeof ("flash"));
425 } else if (MATCH_CMD_LITERAL ("erase", Command)) {
426 HandleErase (Command + sizeof ("erase"));
427 } else if (MATCH_CMD_LITERAL ("boot", Command)) {
429 } else if (MATCH_CMD_LITERAL ("continue", Command)) {
431 mTextOut->OutputString (mTextOut, L"Received 'continue' command. Exiting Fastboot mode\r\n");
434 } else if (MATCH_CMD_LITERAL ("reboot", Command)) {
435 if (MATCH_CMD_LITERAL ("reboot-bootloader", Command)) {
446 } else if (MATCH_CMD_LITERAL ("powerdown", Command)) {
452 } else if (MATCH_CMD_LITERAL ("oem", Command)) {
453 // The "oem" command isn't in the specification, but it was observed in the
454 // wild, followed by a space, followed by the actual command.
455 HandleOemCommand (Command + sizeof ("oem"));
456 } else if (IS_LOWERCASE_ASCII (Command[0])) {
460 // (By the way, the "oem" command mentioned above makes this reservation
464 HandleOemCommand (Command);
569 mTextOut->OutputString (mTextOut, L"Fatal error sending command response. Exiting.\r\n");
641 // Create event for exiting application when "continue" command is received