Home
last modified time | relevance | path

Searched refs:cmd_pipe (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/updater/
Dupdater.c66 FILE* cmd_pipe = fdopen(fd, "wb"); in main() local
67 setlinebuf(cmd_pipe); in main()
124 fprintf(cmd_pipe, "ui_print Warning: No file_contexts\n"); in main()
130 updater_info.cmd_pipe = cmd_pipe; in main()
145 fprintf(cmd_pipe, "ui_print script aborted (no error message)\n"); in main()
150 fprintf(cmd_pipe, "ui_print %s\n", line); in main()
153 fprintf(cmd_pipe, "ui_print\n"); in main()
158 fprintf(cmd_pipe, "ui_print script succeeded: result was [%s]\n", result); in main()
Dupdater.h27 FILE* cmd_pipe; member
Dblockimg.c1532 FILE* cmd_pipe = NULL; in PerformBlockImageUpdate() local
1581 cmd_pipe = ui->cmd_pipe; in PerformBlockImageUpdate()
1584 if (cmd_pipe == NULL || za == NULL) { in PerformBlockImageUpdate()
1729 fprintf(cmd_pipe, "set_progress %.4f\n", (double) params.written / total_blocks); in PerformBlockImageUpdate()
1730 fflush(cmd_pipe); in PerformBlockImageUpdate()
Dinstall.c60 fprintf(ui->cmd_pipe, "ui_print %s\n", line); in uiPrint()
63 fprintf(ui->cmd_pipe, "ui_print\n"); in uiPrint()
460 fprintf(ui->cmd_pipe, "progress %f %d\n", frac, sec); in ShowProgressFn()
478 fprintf(ui->cmd_pipe, "set_progress %f\n", frac); in SetProgressFn()
1279 fprintf(((UpdaterInfo*)(state->cookie))->cmd_pipe, "wipe_cache\n"); in WipeCacheFn()
1539 fprintf(ui->cmd_pipe, "enable_reboot\n"); in EnableRebootFn()