/system/update_engine/ |
D | hardware_chromeos.cc | 89 int exit_code = 0; in GetVpdValue() local 93 cmd, &exit_code, &value, &error) || in GetVpdValue() 94 exit_code) { in GetVpdValue() 96 << " with exit code: " << exit_code << " and error: " << error; in GetVpdValue() 204 int exit_code = 0; in GetECVersion() local 207 if (!Subprocess::SynchronousExec(cmd, &exit_code, &input_line, &error) || in GetECVersion() 208 exit_code != 0) { in GetECVersion() 210 << exit_code << " and error: " << error; in GetECVersion() 358 int exit_code = 0; in SetFirstActiveOmahaPingSent() local 362 if (!Subprocess::SynchronousExec(vpd_set_cmd, &exit_code, &output, &error) || in SetFirstActiveOmahaPingSent() [all …]
|
D | main.cc | 68 int exit_code = daemon->Run(); in main() local 72 LOG(INFO) << "A/B Update Engine terminating with exit code " << exit_code; in main() 73 return exit_code; in main()
|
D | daemon_android.cc | 38 int exit_code = brillo::Daemon::OnInit(); in OnInit() local 39 if (exit_code != EX_OK) in OnInit() 40 return exit_code; in OnInit()
|
D | daemon_chromeos.cc | 40 int exit_code = Daemon::OnInit(); in OnInit() local 41 if (exit_code != EX_OK) in OnInit() 42 return exit_code; in OnInit()
|
/system/media/camera/docs/ |
D | metadata-parser-sanity-check | 55 exit_code=$? 58 if [[ $exit_code -ne 0 ]] 65 exit $exit_code
|
/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 | 731 int exit_code; in RunCmdInApp() local 732 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) { in RunCmdInApp()
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem.cc | 85 int exit_code; in GetFileMapContent() local 86 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetFileMapContent() 87 exit_code != 0) { in GetFileMapContent() 113 int exit_code; in GetUpdateEngineConfig() local 114 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetUpdateEngineConfig() 115 exit_code != 0) { in GetUpdateEngineConfig()
|
/system/core/debuggerd/ |
D | debuggerd.cpp | 36 static void usage(int exit_code) { in usage() argument 41 _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/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 | 761 int exit_code = 1; in WaitForExit() local 769 exit_code = 0x80 | WTERMSIG(status); in WaitForExit() 776 exit_code = WEXITSTATUS(status); in WaitForExit() 777 ADB_LOG(Shell) << "subprocess " << pid_ << " exited with status " << exit_code; in WaitForExit() 785 output_->data()[0] = exit_code; in WaitForExit() 787 D("wrote the exit code packet: %d", exit_code); in WaitForExit() 818 char exit_code = 126; in ReportError() local 821 WriteFdExactly(write.get(), &exit_code, sizeof(exit_code)); in ReportError()
|
/system/core/libkeyutils/mini_keyctl/ |
D | mini_keyctl.cpp | 39 static void Usage(int exit_code) { in Usage() argument 46 _exit(exit_code); in Usage()
|
/system/testing/gtest_extras/ |
D | Isolate.cpp | 310 int exit_code = WEXITSTATUS(status); in CheckTestsFinished() local 311 if (exit_code != 0) { in CheckTestsFinished() 312 std::string output(test->name() + " exited with exitcode " + std::to_string(exit_code) + in CheckTestsFinished() 789 int exit_code = 0; in Run() local 810 exit_code = 1; in Run() 814 return exit_code; in Run()
|
/system/core/adb/client/ |
D | commandline.cpp | 280 int exit_code = 0; in read_and_dump() local 281 if (fd < 0) return exit_code; in read_and_dump() 314 exit_code = static_cast<uint8_t>(protocol->data()[0]); in read_and_dump() 331 return callback->Done(exit_code); in read_and_dump() 667 int exit_code = read_and_dump(fd, use_shell_protocol); in RemoteShell() local 675 return exit_code; in RemoteShell()
|
/system/update_engine/scripts/update_payload/ |
D | checker.py | 496 exit_code = run_process.wait() 498 if exit_code: 500 (cmd, exit_code))
|