Home
last modified time | relevance | path

Searched refs:command (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/
Dfirmware.c89 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in maybe_install_firmware_update()
90 strlcpy(boot.recovery, "recovery\n--wipe_cache\n", sizeof(boot.command)); in maybe_install_firmware_update()
120 snprintf(boot.command, sizeof(boot.command), "update-%s", update_type); in maybe_install_firmware_update()
Dinstall.c181 char* command = strtok(buffer, " \n"); in try_update_binary() local
182 if (command == NULL) { in try_update_binary()
184 } else if (strcmp(command, "progress") == 0) { in try_update_binary()
193 } else if (strcmp(command, "set_progress") == 0) { in try_update_binary()
197 } else if (strcmp(command, "firmware") == 0) { in try_update_binary()
209 } else if (strcmp(command, "ui_print") == 0) { in try_update_binary()
217 LOGE("unknown command [%s]\n", command); in try_update_binary()
Dbootloader.h39 char command[32]; member
Drecovery.c154 if (boot.command[0] != 0 && boot.command[0] != 255) { in get_args()
155 LOGI("Boot command: %.*s\n", sizeof(boot.command), boot.command); in get_args()
200 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in get_args()
Dbootloader.c119 LOGI("Set boot command \"%s\"\n", in->command[0] != 255 ? in->command : ""); in set_bootloader_message()
/bootable/bootloader/legacy/
Dfastboot_protocol.txt24 1. Host sends a command, which is an ascii string in a single
36 b. FAIL -> the requested command failed. The remaining 60 bytes
40 c. OKAY -> the requested command completed successfully. Go to #5
42 d. DATA -> the requested command is ready for the data phase.
47 3. Data phase. Depending on the command, the host or client will
60 reason and consider the command failed. Stop.
92 Host: "powerdown" send a command
94 Client: "FAILunknown command" indicate failure
148 The "getvar:%s" command is used to read client variables which
/bootable/bootloader/legacy/arch_msm7k/
Dsmem.c47 unsigned command; member