Home
last modified time | relevance | path

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

/system/update_engine/
Dmain.cc68 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()
/system/media/camera/docs/
Dmetadata-parser-validity-check55 exit_code=$?
58 if [[ $exit_code -ne 0 ]]
65 exit $exit_code
/system/update_engine/aosp/
Ddaemon_android.cc38 int exit_code = brillo::Daemon::OnInit(); in OnInit() local
39 if (exit_code != EX_OK) in OnInit()
40 return exit_code; in OnInit()
/system/extras/simpleperf/
Dworkload.cpp198 bool Workload::WaitChildProcess(bool wait_forever, int* exit_code) { in WaitChildProcess() argument
199 return WaitChildProcess(wait_forever, false, exit_code); in WaitChildProcess()
202 bool Workload::WaitChildProcess(bool wait_forever, bool is_child_killed, int* exit_code) { in WaitChildProcess() argument
217 if (exit_code != nullptr) { in WaitChildProcess()
218 *exit_code = WEXITSTATUS(status); in WaitChildProcess()
Dworkload.h51 bool WaitChildProcess(bool wait_forever, int* exit_code);
63 bool WaitChildProcess(bool wait_forever, bool is_child_killed, int* exit_code);
Dcommand.cpp294 int exit_code; in RunSimpleperfCmd() local
295 command->Run(args, &exit_code); in RunSimpleperfCmd()
297 << (exit_code == 0 ? "finished successfully" : "failed"); in RunSimpleperfCmd()
301 _Exit(exit_code); in RunSimpleperfCmd()
302 return exit_code == 0; in RunSimpleperfCmd()
Dcommand.h167 virtual void Run(const std::vector<std::string>& args, int* exit_code) { in Run() argument
168 *exit_code = Run(args) ? 0 : 1; in Run()
Dcmd_record.cpp337 void Run(const std::vector<std::string>& args, int* exit_code) override;
339 int exit_code; in Run() local
340 Run(args, &exit_code); in Run()
341 return exit_code == 0; in Run()
452 void RecordCommand::Run(const std::vector<std::string>& args, int* exit_code) { in Run() argument
453 *exit_code = 1; in Run()
491 *exit_code = RunInAppContext(app_package_name_, "record", args, workload_args.size(), in Run()
513 workload->WaitChildProcess(false, exit_code); in Run()
515 *exit_code = 0; in Run()
Dcmd_record_test.cpp567 int exit_code; in TEST() local
569 &exit_code); in TEST()
570 ASSERT_EQ(exit_code, 0); in TEST()
573 &exit_code); in TEST()
574 ASSERT_NE(exit_code, 0); in TEST()
Denvironment.cpp660 int exit_code; in RunCmdInApp() local
661 if (!workload->WaitChildProcess(true, &exit_code) || exit_code != 0) { in RunCmdInApp()
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc80 int exit_code; in GetFileMapContent() local
81 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout_str, &stderr_str) || in GetFileMapContent()
82 exit_code != 0) { in GetFileMapContent()
108 int exit_code; in GetUpdateEngineConfig() local
109 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout_str, &stderr_str) || in GetUpdateEngineConfig()
110 exit_code != 0) { in GetUpdateEngineConfig()
/system/core/debuggerd/
Ddebuggerd.cpp36 static void usage(int exit_code) { in usage() argument
41 _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/mini_keyctl/
Dmini_keyctl.cpp39 static void Usage(int exit_code) { in Usage() argument
46 _exit(exit_code); in Usage()
/system/testing/gtest_extras/
DIsolate.cpp310 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()
818 return exit_code; in Run()
/system/security/ondevice-signing/
Dodsign_main.cpp120 const int exit_code = in compileArtifacts() local
122 return static_cast<art::odrefresh::ExitCode>(exit_code); in compileArtifacts()
127 const int exit_code = in checkArtifacts() local
129 return static_cast<art::odrefresh::ExitCode>(exit_code); in checkArtifacts()
/system/update_engine/common/
Dutils.cc976 int exit_code = 0; in GetVpdValue() local
980 cmd, &exit_code, &value, &error) || in GetVpdValue()
981 exit_code) { in GetVpdValue()
983 << " with exit code: " << exit_code << " and error: " << error; in GetVpdValue()
/system/unwinding/libunwindstack/tools/
Dunwind_for_offline.cpp56 int usage(int exit_code) { in usage() argument
71 return exit_code; in usage()
/system/update_engine/scripts/update_payload/
Dchecker.py498 exit_code = run_process.wait()
500 if exit_code:
502 (cmd, exit_code))