/bootable/recovery/ |
H A D | adb_install.cpp | 95 int status; local 98 if (waitpid(child, &status, WNOHANG) != 0) { 128 waitpid(child, &status, 0); 131 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { 132 if (WEXITSTATUS(status) == 3) { 134 } else if (!WIFSIGNALED(status)) { 135 ui->Print("\n(adbd status %d)\n", WEXITSTATUS(status));
|
H A D | roots.cpp | 197 int status; local 198 waitpid(child, &status, 0); 199 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { 200 LOG(ERROR) << args[0] << " failed with status " << WEXITSTATUS(status); 202 return WEXITSTATUS(status);
|
H A D | install.cpp | 478 int status; local 479 waitpid(pid, &status, 0); 488 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { 489 LOG(ERROR) << "Error in " << package << " (Status " << WEXITSTATUS(status) << ")"; 665 PLOG(WARNING) << "failed to read uncrypt status";
|
H A D | recovery.cpp | 333 if (boot.status[0] != 0) { 334 std::string boot_status = std::string(boot.status, sizeof(boot.status)); 335 LOG(INFO) << "Boot status: " << boot_status; 1064 bool status = start_sdcard_fuse(path.c_str()); local 1066 _exit(status ? EXIT_SUCCESS : EXIT_FAILURE); 1072 int status; local 1075 if (waitpid(child, &status, WNOHANG) == -1) { 1105 waitpid(child, &status, 0); 1108 if (!WIFEXITED(status) || WEXITSTATU 1118 prompt_and_wait(Device* device, int status) argument 1562 int status = INSTALL_SUCCESS; local [all...] |
/bootable/recovery/otafault/ |
H A D | config.cpp | 55 int status = FindEntry(archive, zip_type_path, &entry); local 56 should_inject_cache[type_path] = (status == 0); 57 return (status == 0);
|
H A D | ota_io.cpp | 125 size_t status = fread(ptr, size, nitems, stream); local 127 if (status != nitems && errno == EIO) { 130 return status; 146 ssize_t status = read(fd, buf, nbyte); local 147 if (status == -1 && errno == EIO) { 150 return status; 166 size_t status = fwrite(ptr, size, count, stream); local 167 if (status != count && errno == EIO) { 170 return status; 186 ssize_t status local 206 int status = fsync(fd); local [all...] |
/bootable/recovery/tests/component/ |
H A D | edify_test.cpp | 33 bool status = Evaluate(&state, e, &result); local 36 EXPECT_FALSE(status);
|
H A D | sideload_test.cpp | 70 int status; local 73 ASSERT_NE(-1, waitpid(pid, &status, WNOHANG)); 95 waitpid(pid, &status, 0); 96 ASSERT_EQ(0, WEXITSTATUS(status)); 97 ASSERT_EQ(EXIT_SUCCESS, WEXITSTATUS(status));
|
H A D | uncrypt_test.cpp | 118 // Check the status code from uncrypt. 119 int status; local 120 ASSERT_TRUE(android::base::ReadFully(sockfd, &status, sizeof(int))); 121 ASSERT_EQ(100U, ntohl(status)); 123 // Ack having received the status code.
|
H A D | updater_test.cpp | 63 bool status = Evaluate(&state, e, &result); local 66 ASSERT_FALSE(status); 68 ASSERT_TRUE(status);
|
/bootable/recovery/updater/ |
H A D | updater.cpp | 173 bool status = Evaluate(&state, root, &result); local 179 if (!status) {
|
H A D | install.cpp | 461 int status; local 462 waitpid(child, &status, 0); 463 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { 464 LOG(ERROR) << path << " failed with status " << WEXITSTATUS(status); 466 return WEXITSTATUS(status); 522 int status = exec_cmd(mke2fs_argv[0], const_cast<char**>(mke2fs_argv)); local 523 if (status != 0) { 524 LOG(ERROR) << name << ": mke2fs failed (" << status << ") o 554 int status = exec_cmd(f2fs_path, const_cast<char**>(f2fs_argv)); local 776 int status; local 970 int status = wipe_block_device(fd, len); local [all...] |
H A D | blockimg.cpp | 446 << size - available_in << ", decoder status " << result; 1201 int status = LoadSrcTgtVersion3(params, tgt, &blocks, true, &overlap); local 1203 if (status == -1) { 1208 if (status == 0) { 1218 if (status == 0) { 1405 int status = LoadSrcTgtVersion3(params, tgt, &blocks, false, &overlap); local 1407 if (status == -1) { 1412 if (status == 0) { 1422 if (status == 0) { 2089 fec_status status; local [all...] |
/bootable/recovery/bootloader_message/include/bootloader_message/ |
H A D | bootloader_message.h | 45 * The status field was used by the bootloader after the completion 56 * the UI will add a simple indicator of that status. 65 char status[32]; member in struct:bootloader_message
|
/bootable/recovery/uncrypt/ |
H A D | uncrypt.cpp | 76 * a11. receive status code 79 * final status code 208 static bool write_status_to_socket(int status, int socket) { argument 214 int status_out = htonl(status); 330 // Update the status file, progress must be between [0, 99]. 530 int status = uncrypt(input_path, map_file, socket); local 535 if (status != 0) { 537 uncrypt_message += android::base::StringPrintf("uncrypt_error: %d\n", status); 608 // c10. send "100" status 696 // ensure the client to receive the last status cod [all...] |