Searched refs:command (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/ |
D | install.cpp | 149 char* command = strtok(buffer, " \n"); in try_update_binary() local 150 if (command == NULL) { in try_update_binary() 152 } else if (strcmp(command, "progress") == 0) { in try_update_binary() 160 } else if (strcmp(command, "set_progress") == 0) { in try_update_binary() 164 } else if (strcmp(command, "ui_print") == 0) { in try_update_binary() 172 } else if (strcmp(command, "wipe_cache") == 0) { in try_update_binary() 174 } else if (strcmp(command, "clear_display") == 0) { in try_update_binary() 176 } else if (strcmp(command, "enable_reboot") == 0) { in try_update_binary() 182 LOGE("unknown command [%s]\n", command); in try_update_binary()
|
D | bootloader.h | 48 char command[32]; member
|
D | recovery.cpp | 199 if (boot.command[0] != 0 && boot.command[0] != 255) { in get_args() 200 LOGI("Boot command: %.*s\n", (int)sizeof(boot.command), boot.command); in get_args() 251 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in get_args() 265 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in set_sdcard_update_bootloader_message()
|
D | bootloader.cpp | 137 LOGI("Set boot command \"%s\"\n", in->command[0] != 255 ? in->command : ""); in set_bootloader_message_mtd()
|
/bootable/recovery/updater/ |
D | install.c | 1435 memset(buffer, 0, sizeof(((struct bootloader_message*)0)->command)); in RebootNowFn() 1437 fseek(f, offsetof(struct bootloader_message, command), SEEK_SET); in RebootNowFn() 1438 fwrite(buffer, sizeof(((struct bootloader_message*)0)->command), 1, f); in RebootNowFn()
|