Home
last modified time | relevance | path

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

/bootable/recovery/
Dinstall.cpp136 char* command = strtok(buffer, " \n"); in try_update_binary() local
137 if (command == NULL) { in try_update_binary()
139 } else if (strcmp(command, "progress") == 0) { in try_update_binary()
147 } else if (strcmp(command, "set_progress") == 0) { in try_update_binary()
151 } else if (strcmp(command, "ui_print") == 0) { in try_update_binary()
159 } else if (strcmp(command, "wipe_cache") == 0) { in try_update_binary()
161 } else if (strcmp(command, "clear_display") == 0) { in try_update_binary()
163 } else if (strcmp(command, "enable_reboot") == 0) { in try_update_binary()
169 LOGE("unknown command [%s]\n", command); in try_update_binary()
Dbootloader.h48 char command[32]; member
Drecovery.cpp197 if (boot.command[0] != 0 && boot.command[0] != 255) { in get_args()
198 LOGI("Boot command: %.*s\n", (int)sizeof(boot.command), boot.command); in get_args()
249 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in get_args()
263 strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); in set_sdcard_update_bootloader_message()
Dbootloader.cpp137 LOGI("Set boot command \"%s\"\n", in->command[0] != 255 ? in->command : ""); in set_bootloader_message_mtd()
/bootable/recovery/minadbd/
Dadb.c162 switch(p->msg.command){ in print_packet()
198 p->msg.command = A_OKAY; in send_ready()
208 p->msg.command = A_CLSE; in send_close()
218 cp->msg.command = A_CNXN; in send_connect()
287 D("handle_packet() %c%c%c%c\n", ((char*) (&(p->msg.command)))[0], in handle_packet()
288 ((char*) (&(p->msg.command)))[1], in handle_packet()
289 ((char*) (&(p->msg.command)))[2], in handle_packet()
290 ((char*) (&(p->msg.command)))[3]); in handle_packet()
293 switch(p->msg.command){ in handle_packet()
368 printf("handle_packet: what is %08x?!\n", p->msg.command); in handle_packet()
Dtransport.c100 unsigned command = p->msg.command; in dump_packet() local
107 int b = (command >> (n*8)) & 255; in dump_packet()
117 snprintf(cmd, sizeof cmd, "%08x", command); in dump_packet()
218 p->msg.magic = p->msg.command ^ 0xffffffff; in send_packet()
263 p->msg.command = A_SYNC; in output_thread()
294 p->msg.command = A_SYNC; in output_thread()
325 if(p->msg.command == A_SYNC){ in input_thread()
773 if(p->msg.magic != (p->msg.command ^ 0xffffffff)) { in check_header()
Dtransport_usb.c30 p->msg.command = H4(p->msg.command); in fix_endians()
Dsockets.c429 p->msg.command = A_WRTE; in remote_socket_enqueue()
442 p->msg.command = A_OKAY; in remote_socket_ready()
453 p->msg.command = A_CLSE; in remote_socket_close()
512 p->msg.command = A_OPEN; in connect_to_remote()
Dadb.h50 unsigned command; /* command identifier constant */ member
/bootable/recovery/updater/
Dinstall.c1435 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()