Home
last modified time | relevance | path

Searched refs:exit_code (Results 1 – 20 of 20) sorted by relevance

/system/update_engine/
Dhardware_chromeos.cc176 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 …]
Ddaemon.cc40 int exit_code = Daemon::OnInit(); in OnInit() local
41 if (exit_code != EX_OK) in OnInit()
42 return exit_code; in OnInit()
Dmain.cc194 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/
Dmetadata-parser-sanity-check55 exit_code=$?
58 if [[ $exit_code -ne 0 ]]
65 exit $exit_code
/system/tools/aidl/tests/
Daidl_test_sentinel_searcher.cpp83 int exit_code = 1; in main() local
98 exit_code = 0; in main()
110 return exit_code; in main()
/system/core/base/
Dquick_exit.cpp30 void quick_exit(int exit_code) { in quick_exit() argument
35 _Exit(exit_code); in quick_exit()
/system/extras/simpleperf/
Dworkload.cpp177 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()
Dworkload.h52 bool WaitChildProcess(int* exit_code);
64 bool WaitChildProcess(bool wait_forever, bool is_child_killed, int* exit_code);
Denvironment.cpp744 int exit_code; in RunCmdInApp() local
745 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) { in RunCmdInApp()
/system/core/debuggerd/
Ddebuggerd.cpp36 static void usage(int exit_code) { in usage() argument
41 _exit(exit_code); in usage()
/system/core/libkeyutils/
Dmini_keyctl.cpp29 static void Usage(int exit_code) { in Usage() argument
36 _exit(exit_code); in Usage()
/system/core/fastboot/
Dfs.cpp42 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/
Dquick_exit.h27 void quick_exit(int exit_code) __attribute__((noreturn));
/system/core/adb/daemon/
Dshell_service_test.cpp97 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()
Dshell_service.cpp727 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/
DIsolate.cpp275 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/
Dsquashfs_filesystem.cc80 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/
Dutils.cc575 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/
Dcommandline.cpp267 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/
Dchecker.py500 exit_code = run_process.wait()
502 if exit_code:
504 (cmd, exit_code))