/system/update_engine/ |
D | hardware_chromeos.cc | 176 int exit_code = 0; in GetECVersion() local 179 bool success = Subprocess::SynchronousExec(cmd, &exit_code, &input_line); in GetECVersion() 180 if (!success || exit_code) { in GetECVersion() 181 LOG(ERROR) << "Unable to read ec info from mosys (" << exit_code << ")"; in GetECVersion() 294 int exit_code = 0; in GetFirstActiveOmahaPingSent() local 297 if (!Subprocess::SynchronousExec(cmd, &exit_code, &active_ping_str) || in GetFirstActiveOmahaPingSent() 298 exit_code) { in GetFirstActiveOmahaPingSent() 300 << " with exit code: " << exit_code; in GetFirstActiveOmahaPingSent() 315 int exit_code = 0; in SetFirstActiveOmahaPingSent() local 319 if (!Subprocess::SynchronousExec(vpd_set_cmd, &exit_code, &output) || in SetFirstActiveOmahaPingSent() [all …]
|
D | daemon.cc | 40 int exit_code = Daemon::OnInit(); in OnInit() local 41 if (exit_code != EX_OK) in OnInit() 42 return exit_code; in OnInit()
|
D | main.cc | 194 int exit_code = update_engine_daemon.Run(); in main() local 198 LOG(INFO) << "A/B Update Engine terminating with exit code " << exit_code; in main() 199 return exit_code; in main()
|
/system/media/camera/docs/ |
D | metadata-parser-sanity-check | 55 exit_code=$? 58 if [[ $exit_code -ne 0 ]] 65 exit $exit_code
|
/system/tools/aidl/tests/ |
D | aidl_test_sentinel_searcher.cpp | 83 int exit_code = 1; in main() local 98 exit_code = 0; in main() 110 return exit_code; in main()
|
/system/core/base/ |
D | quick_exit.cpp | 30 void quick_exit(int exit_code) { in quick_exit() argument 35 _Exit(exit_code); in quick_exit()
|
/system/extras/simpleperf/ |
D | workload.cpp | 177 bool Workload::WaitChildProcess(int* exit_code) { in WaitChildProcess() argument 178 return WaitChildProcess(true, false, exit_code); in WaitChildProcess() 181 bool Workload::WaitChildProcess(bool wait_forever, bool is_child_killed, int* exit_code) { in WaitChildProcess() argument 196 if (exit_code != nullptr) { in WaitChildProcess() 197 *exit_code = WEXITSTATUS(status); in WaitChildProcess()
|
D | workload.h | 52 bool WaitChildProcess(int* exit_code); 64 bool WaitChildProcess(bool wait_forever, bool is_child_killed, int* exit_code);
|
D | environment.cpp | 744 int exit_code; in RunCmdInApp() local 745 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) { in RunCmdInApp()
|
/system/core/debuggerd/ |
D | debuggerd.cpp | 36 static void usage(int exit_code) { in usage() argument 41 _exit(exit_code); in usage()
|
/system/core/libkeyutils/ |
D | mini_keyctl.cpp | 29 static void Usage(int exit_code) { in Usage() argument 36 _exit(exit_code); in Usage()
|
/system/core/fastboot/ |
D | fs.cpp | 42 DWORD exit_code = 0; in exec_cmd() local 74 GetExitCodeProcess(pi.hProcess, &exit_code); in exec_cmd() 79 if (exit_code != 0) { in exec_cmd() 80 fprintf(stderr, "%s failed: %lu\n", path, exit_code); in exec_cmd()
|
/system/core/base/include/android-base/ |
D | quick_exit.h | 27 void quick_exit(int exit_code) __attribute__((noreturn));
|
/system/core/adb/daemon/ |
D | shell_service_test.cpp | 97 int exit_code = -1; in ReadShellProtocol() local 111 EXPECT_EQ(-1, exit_code) << "Multiple exit packets received"; in ReadShellProtocol() 113 exit_code = protocol->data()[0]; in ReadShellProtocol() 120 return exit_code; in ReadShellProtocol()
|
D | shell_service.cpp | 727 int exit_code = 1; in WaitForExit() local 735 exit_code = 0x80 | WTERMSIG(status); in WaitForExit() 742 exit_code = WEXITSTATUS(status); in WaitForExit() 751 output_->data()[0] = exit_code; in WaitForExit() 753 D("wrote the exit code packet: %d", exit_code); in WaitForExit() 784 char exit_code = 126; in ReportError() local 787 WriteFdExactly(write.get(), &exit_code, sizeof(exit_code)); in ReportError()
|
/system/testing/gtest_extras/ |
D | Isolate.cpp | 275 int exit_code = WEXITSTATUS(status); in CheckTestsFinished() local 276 if (exit_code != 0) { in CheckTestsFinished() 277 std::string output(test->name() + " exited with exitcode " + std::to_string(exit_code) + in CheckTestsFinished() 747 int exit_code = 0; in Run() local 768 exit_code = 1; in Run() 772 return exit_code; in Run()
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem.cc | 80 int exit_code; in GetFileMapContent() local 81 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout) || in GetFileMapContent() 82 exit_code != 0) { in GetFileMapContent()
|
/system/update_engine/common/ |
D | utils.cc | 575 int exit_code; in TryAttachingUbiVolume() local 581 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr)); in TryAttachingUbiVolume() 582 TEST_AND_RETURN_FALSE(exit_code == 0); in TryAttachingUbiVolume() 585 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr)); in TryAttachingUbiVolume() 586 TEST_AND_RETURN_FALSE(exit_code == 0); in TryAttachingUbiVolume()
|
/system/core/adb/client/ |
D | commandline.cpp | 267 int exit_code = 0; in read_and_dump() local 268 if (fd < 0) return exit_code; in read_and_dump() 301 exit_code = static_cast<uint8_t>(protocol->data()[0]); in read_and_dump() 318 return callback->Done(exit_code); in read_and_dump() 651 int exit_code = read_and_dump(fd, use_shell_protocol); in RemoteShell() local 659 return exit_code; in RemoteShell()
|
/system/update_engine/scripts/update_payload/ |
D | checker.py | 500 exit_code = run_process.wait() 502 if exit_code: 504 (cmd, exit_code))
|