Searched refs:cmd_pipe (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/updater/ |
D | updater.cpp | 86 FILE* cmd_pipe = fdopen(fd, "wb"); in main() local 87 setlinebuf(cmd_pipe); in main() 147 fprintf(cmd_pipe, "ui_print Warning: No file_contexts\n"); in main() 153 updater_info.cmd_pipe = cmd_pipe; in main() 174 fprintf(cmd_pipe, "retry_update\n"); in main() 180 fprintf(cmd_pipe, "ui_print script aborted (no error message)\n"); in main() 192 fprintf(cmd_pipe, "ui_print %s\n", line.c_str()); in main() 201 fprintf(cmd_pipe, "log error: %d\n", state.error_code); in main() 204 fprintf(cmd_pipe, "log cause: %d\n", state.cause_code); in main() 207 fprintf(cmd_pipe, "retry_update\n"); in main() [all …]
|
D | blockimg.cpp | 1445 FILE* cmd_pipe = ui->cmd_pipe; in PerformBlockImageUpdate() local 1448 if (cmd_pipe == nullptr || za == nullptr) { in PerformBlockImageUpdate() 1589 fprintf(cmd_pipe, "set_progress %.4f\n", static_cast<double>(params.written) / total_blocks); in PerformBlockImageUpdate() 1590 fflush(cmd_pipe); in PerformBlockImageUpdate() 1603 fprintf(cmd_pipe, "log bytes_written_%s: %zu\n", partition + 1, params.written * BLOCKSIZE); in PerformBlockImageUpdate() 1604 fprintf(cmd_pipe, "log bytes_stashed_%s: %zu\n", partition + 1, params.stashed * BLOCKSIZE); in PerformBlockImageUpdate() 1605 fflush(cmd_pipe); in PerformBlockImageUpdate()
|
D | install.cpp | 77 fprintf(ui->cmd_pipe, "ui_print %s\n", line.c_str()); in uiPrint() 385 fprintf(ui->cmd_pipe, "progress %f %d\n", frac, sec); in ShowProgressFn() 408 fprintf(ui->cmd_pipe, "set_progress %f\n", frac); in SetProgressFn() 713 fprintf(static_cast<UpdaterInfo*>(state->cookie)->cmd_pipe, "wipe_cache\n"); in WipeCacheFn() 991 fprintf(ui->cmd_pipe, "enable_reboot\n"); in EnableRebootFn()
|
/bootable/recovery/updater/include/updater/ |
D | updater.h | 24 FILE* cmd_pipe; member
|
/bootable/recovery/tests/component/ |
D | updater_test.cpp | 386 updater_info.cmd_pipe = fdopen(tf.fd, "w"); in TEST_F() 388 fflush(updater_info.cmd_pipe); in TEST_F() 410 updater_info.cmd_pipe = fdopen(tf.fd, "w"); in TEST_F() 412 fflush(updater_info.cmd_pipe); in TEST_F() 488 updater_info.cmd_pipe = fopen(temp_pipe.path, "wbe");
|