Home
last modified time | relevance | path

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

12

/aosp12/frameworks/libs/modules-utils/tools/
H A Dcheck_java_paths.py9 exit_code = 0 variable
12 global exit_code
16 exit_code = 1
55 if exit_code != 0:
58 sys.exit(exit_code)
/aosp12/system/update_engine/cros/
H A Dhardware_chromeos.cc323 int exit_code = 0; in SetFirstActiveOmahaPingSent() local
327 if (!Subprocess::SynchronousExec(vpd_set_cmd, &exit_code, &output, &error) || in SetFirstActiveOmahaPingSent()
328 exit_code) { in SetFirstActiveOmahaPingSent()
330 << " with exit code: " << exit_code << " with output: " << output in SetFirstActiveOmahaPingSent()
338 if (!Subprocess::SynchronousExec(vpd_dump_cmd, &exit_code, &output, &error) || in SetFirstActiveOmahaPingSent()
339 exit_code) { in SetFirstActiveOmahaPingSent()
341 << " with exit code: " << exit_code << " with output: " << output in SetFirstActiveOmahaPingSent()
H A Ddaemon_chromeos.cc40 int exit_code = Daemon::OnInit(); in OnInit() local
41 if (exit_code != EX_OK) in OnInit()
42 return exit_code; in OnInit()
/aosp12/art/libartbase/base/
H A Dfast_exit.h44 NO_RETURN inline void FastExit(int exit_code) { in FastExit() argument
46 exit(exit_code); in FastExit()
48 _exit(exit_code); in FastExit()
/aosp12/packages/services/Car/tests/BugReportApp/utils/
H A Dbugreport_app_tester.py181 exit_code = popen.wait()
182 return (exit_code, stdout_lines)
193 exit_code, stdout_lines = self.adb(cmd)
194 if exit_code != 0:
195 _fail_program('Failed to run command %s, exit_code=%s' % (cmd, exit_code))
273 exit_code, stdout_lines = self._device.adb(['pull', SQLITE_DB_DIR, tmpdir])
274 if exit_code != 0:
277 (stdout_lines, exit_code))
516 exit_code, stdout_lines = self._device.adb(
518 if exit_code != 0:
[all …]
/aosp12/system/update_engine/
H A 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()
/aosp12/system/media/camera/docs/
H A Dmetadata-parser-validity-check55 exit_code=$?
58 if [[ $exit_code -ne 0 ]]
65 exit $exit_code
/aosp12/system/update_engine/aosp/
H A 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()
/aosp12/art/odrefresh/
H A Dodr_compilation_log.cc49 is >> entry.exit_code >> std::ws; in operator >>()
67 os << entry.exit_code << std::endl; in operator <<()
76 lhs.trigger == rhs.trigger && lhs.when == rhs.when && lhs.exit_code == rhs.exit_code; in operator ==()
212 if (it->exit_code == ExitCode::kCompilationSuccess) { in ShouldAttemptCompile()
H A Dodrefresh.cc492 auto cleanup_return = [this](ExitCode exit_code) { in CheckArtifactsAreUpToDate() argument
493 return CleanApexdataDirectory() ? exit_code : ExitCode::kCleanupFailed; in CheckArtifactsAreUpToDate()
610 auto cleanup_system_server_return = [this](ExitCode exit_code) { in CheckArtifactsAreUpToDate() argument
611 return RemoveSystemServerArtifactsFromData() ? exit_code : ExitCode::kCleanupFailed; in CheckArtifactsAreUpToDate()
925 ExitCode exit_code = ExitCode::kOkay; in VerifyArtifactsAreUpToDate() local
931 exit_code = ExitCode::kCompilationRequired; in VerifyArtifactsAreUpToDate()
938 exit_code = ExitCode::kCompilationRequired; in VerifyArtifactsAreUpToDate()
940 return exit_code; in VerifyArtifactsAreUpToDate()
1471 const ExitCode exit_code = odr.CheckArtifactsAreUpToDate(metrics); in main() local
1472 if (exit_code != ExitCode::kCompilationRequired) { in main()
[all …]
/aosp12/system/extras/simpleperf/
H A 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()
H A Dworkload.h50 bool WaitChildProcess(int* exit_code);
62 bool WaitChildProcess(bool wait_forever, bool is_child_killed, int* exit_code);
/aosp12/build/soong/scripts/
H A Dsetup_go_workspace_for_soong.sh159 local exit_code=0
169 exit_code=1
173 if [[ ${exit_code} -ne 0 ]]; then
174 exit ${exit_code}
/aosp12/packages/modules/Virtualization/compos/src/
H A Dpvm_exec.rs159 let exit_code = get_local_service().execute(&args, &metadata).context("Binder call failed")?; in main() localVariable
164 if exit_code > 0 { in main()
165 error!("remote execution failed with exit code {}", exit_code); in main()
166 exit(exit_code as i32); in main()
/aosp12/system/update_engine/payload_generator/
H A Dsquashfs_filesystem.cc80 int exit_code; in GetFileMapContent() local
81 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetFileMapContent()
82 exit_code != 0) { in GetFileMapContent()
108 int exit_code; in GetUpdateEngineConfig() local
109 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetUpdateEngineConfig()
110 exit_code != 0) { in GetUpdateEngineConfig()
/aosp12/art/tools/
H A Drun-libcore-tests.py253 test_name, cmd, stdout, exit_code = future.result()
254 if exit_code != 0 or args.dry_run:
261 max_exit_code = max(max_exit_code, exit_code)
262 result = "PASSED" if exit_code == 0 else f"FAILED ({len(failed_match)} test(s) failed)"
/aosp12/frameworks/native/cmds/installd/
H A Dexecv_helper.cpp47 void ExecVHelper::Exec(int exit_code) { in Exec() argument
50 exit(exit_code); in Exec()
/aosp12/system/core/fastboot/
H A 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()
/aosp12/packages/modules/Wifi/
H A Dmetrics_pdd_hook.py83 exit_code = main() variable
84 sys.exit(exit_code)
/aosp12/packages/modules/adb/daemon/
H A Dshell_service.cpp761 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()
H A 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()
/aosp12/packages/services/Car/cpp/security/vehicle_binding_util/src/
H A DVehicleBindingUtil.h74 virtual int run(const std::vector<std::string>& cmd_args, int* exit_code) const = 0;
79 int run(const std::vector<std::string>& cmd_args, int* exit_code) const override;
/aosp12/frameworks/base/startop/scripts/app_startup/lib/
H A Dcommon184 if [[ $exit_code -ne 0 ]]; then
185 return $exit_code
/aosp12/system/core/debuggerd/
H A Ddebuggerd.cpp36 static void usage(int exit_code) { in usage() argument
41 _exit(exit_code); in usage()
/aosp12/system/security/ondevice-signing/
H A Dodsign_main.cpp119 const int exit_code = in checkArtifacts() local
121 return static_cast<art::odrefresh::ExitCode>(exit_code); in checkArtifacts()
126 const int exit_code = in compileArtifacts() local
128 return static_cast<art::odrefresh::ExitCode>(exit_code); in compileArtifacts()

12