/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 | main.cc | 67 int exit_code = update_engine_daemon.Run(); in main() local 71 LOG(INFO) << "A/B Update Engine terminating with exit code " << exit_code; in main() 72 return exit_code; in main()
|
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()
|
/system/media/camera/docs/ |
D | metadata-parser-validity-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/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 | 728 int exit_code; in RunCmdInApp() local 729 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/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 | 755 int exit_code = 1; in WaitForExit() local 763 exit_code = 0x80 | WTERMSIG(status); in WaitForExit() 770 exit_code = WEXITSTATUS(status); in WaitForExit() 771 ADB_LOG(Shell) << "subprocess " << pid_ << " exited with status " << exit_code; in WaitForExit() 779 output_->data()[0] = exit_code; in WaitForExit() 781 D("wrote the exit code packet: %d", exit_code); in WaitForExit() 812 char exit_code = 126; in ReportError() local 815 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 | 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() 751 int exit_code = 0; in Run() local 772 exit_code = 1; in Run() 776 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 | 576 int exit_code; in TryAttachingUbiVolume() local 582 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr)); in TryAttachingUbiVolume() 583 TEST_AND_RETURN_FALSE(exit_code == 0); in TryAttachingUbiVolume() 586 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr)); in TryAttachingUbiVolume() 587 TEST_AND_RETURN_FALSE(exit_code == 0); in TryAttachingUbiVolume()
|
/system/core/adb/client/ |
D | commandline.cpp | 271 int exit_code = 0; in read_and_dump() local 272 if (fd < 0) return exit_code; in read_and_dump() 305 exit_code = static_cast<uint8_t>(protocol->data()[0]); in read_and_dump() 322 return callback->Done(exit_code); in read_and_dump() 658 int exit_code = read_and_dump(fd, use_shell_protocol); in RemoteShell() local 666 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))
|