Home
last modified time | relevance | path

Searched refs:status (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/
Dadb_install.cpp95 int status; in apply_from_adb() local
99 if (waitpid(child, &status, WNOHANG) != 0) { in apply_from_adb()
129 waitpid(child, &status, 0); in apply_from_adb()
132 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { in apply_from_adb()
133 if (WEXITSTATUS(status) == 3) { in apply_from_adb()
135 } else if (!WIFSIGNALED(status)) { in apply_from_adb()
136 ui->Print("\n(adbd status %d)\n", WEXITSTATUS(status)); in apply_from_adb()
Drecovery.cpp203 if (boot.status[0] != 0 && boot.status[0] != 255) { in get_args()
204 LOGI("Boot status: %.*s\n", (int)sizeof(boot.status), boot.status); in get_args()
768 int status = install_package(FUSE_SIDELOAD_HOST_PATHNAME, wipe_cache, in apply_from_sdcard() local
773 return status; in apply_from_sdcard()
780 prompt_and_wait(Device* device, int status) { in prompt_and_wait() argument
783 switch (status) { in prompt_and_wait()
828 status = apply_from_adb(ui, &should_wipe_cache, TEMPORARY_INSTALL_FILE); in prompt_and_wait()
830 status = apply_from_sdcard(device, &should_wipe_cache); in prompt_and_wait()
833 if (status == INSTALL_SUCCESS && should_wipe_cache) { in prompt_and_wait()
835 status = INSTALL_ERROR; in prompt_and_wait()
[all …]
Droots.cpp157 int status; in exec_cmd() local
163 waitpid(child, &status, 0); in exec_cmd()
164 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { in exec_cmd()
165 LOGE("%s failed with status %d\n", path, WEXITSTATUS(status)); in exec_cmd()
167 return WEXITSTATUS(status); in exec_cmd()
Dinstall.cpp187 int status; in try_update_binary() local
188 waitpid(pid, &status, 0); in try_update_binary()
189 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { in try_update_binary()
190 LOGE("Error in %s\n(Status %d)\n", path, WEXITSTATUS(status)); in try_update_binary()
Dbootloader.h49 char status[32]; member
/bootable/recovery/updater/
Dinstall.c252 int status; in exec_cmd() local
258 waitpid(child, &status, 0); in exec_cmd()
259 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { in exec_cmd()
260 printf("%s failed with status %d\n", path, WEXITSTATUS(status)); in exec_cmd()
262 return WEXITSTATUS(status); in exec_cmd()
337 int status = make_ext4fs(location, atoll(fs_size), mount_point, sehandle); in FormatFn() local
338 if (status != 0) { in FormatFn()
340 name, status, location); in FormatFn()
354 int status = exec_cmd(f2fs_path, (char* const*)f2fs_argv); in FormatFn() local
356 if (status != 0) { in FormatFn()
[all …]
Dblockimg.c1127 int status = 0; in PerformCommandMove() local
1135 status = LoadSrcTgtVersion1(&params->cpos, &tgt, &blocks, &params->buffer, in PerformCommandMove()
1138 status = LoadSrcTgtVersion2(&params->cpos, &tgt, &blocks, &params->buffer, in PerformCommandMove()
1141 status = LoadSrcTgtVersion3(params, &tgt, &blocks, 1, &overlap); in PerformCommandMove()
1144 if (status == -1) { in PerformCommandMove()
1149 if (status == 0) { in PerformCommandMove()
1156 if (status == 0) { in PerformCommandMove()
1318 int status = 0; in PerformCommandDiff() local
1349 status = LoadSrcTgtVersion1(&params->cpos, &tgt, &blocks, &params->buffer, in PerformCommandDiff()
1352 status = LoadSrcTgtVersion2(&params->cpos, &tgt, &blocks, &params->buffer, in PerformCommandDiff()
[all …]
/bootable/recovery/uncrypt/
Duncrypt.cpp453 int status = uncrypt(input_path, map_file, status_fd); in main() local
454 if (status != 0) { in main()