Searched refs:status (Results 1 - 16 of 16) sorted by relevance

/bootable/recovery/
H A Dadb_install.cpp95 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 Drecovery.cpp333 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...]
H A Droots.cpp197 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 Dinstall.cpp478 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";
/bootable/recovery/tests/component/
H A Dbootloader_message_test.cpp32 strlcpy(boot.status, "status1", sizeof(boot.status));
54 strlcpy(boot.status, "status bytes", sizeof(boot.status));
66 ASSERT_EQ("status bytes", std::string(boot.status));
84 ASSERT_EQ(std::string(sizeof(boot.status), '\0'), std::string(boot.status, sizeof(boot.status)));
[all...]
H A Dsideload_test.cpp70 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 Dedify_test.cpp33 bool status = Evaluate(&state, e, &result); local
36 EXPECT_FALSE(status);
H A Duncrypt_test.cpp118 // 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 Dupdater_test.cpp63 bool status = Evaluate(&state, e, &result); local
66 ASSERT_FALSE(status);
68 ASSERT_TRUE(status);
/bootable/recovery/otafault/
H A Dota_io.cpp125 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...]
H A Dconfig.cpp55 int status = FindEntry(archive, zip_type_path, &entry); local
56 should_inject_cache[type_path] = (status == 0);
57 return (status == 0);
/bootable/recovery/updater/
H A Dinstall.cpp461 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 Dupdater.cpp173 bool status = Evaluate(&state, root, &result); local
179 if (!status) {
H A Dblockimg.cpp446 << 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 Dbootloader_message.h45 * 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 Duncrypt.cpp76 * 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...]

Completed in 137 milliseconds