Home
last modified time | relevance | path

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

/art/odrefresh/
Dodr_metrics_record.h50 int32_t exit_code; member
53 explicit Dex2OatExecResult(int32_t status, int32_t exit_code, int32_t signal) in Dex2OatExecResult()
54 : status(status), exit_code(exit_code), signal(signal) {} in Dex2OatExecResult()
57 : status(result.status), exit_code(result.exit_code), signal(result.signal) {} in Dex2OatExecResult()
59 Dex2OatExecResult() : status(kExecResultNotRun), exit_code(-1), signal(0) {} in Dex2OatExecResult()
Dodr_metrics_test.cc104 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
111 EXPECT_EQ(record.primary_bcp_dex2oat_result.exit_code, 0); in TEST_F()
130 EXPECT_EQ(record.primary_bcp_dex2oat_result.exit_code, -1); in TEST_F()
139 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
145 ExecResult{.status = ExecResult::Status::kTimedOut, .exit_code = 3, .signal = 0}); in TEST_F()
152 EXPECT_EQ(record.primary_bcp_dex2oat_result.exit_code, 0); in TEST_F()
159 EXPECT_EQ(record.secondary_bcp_dex2oat_result.exit_code, 3); in TEST_F()
173 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F()
177 ExecResult{.status = ExecResult::Status::kTimedOut, .exit_code = 3, .signal = 0}); in TEST_F()
181 ExecResult{.status = ExecResult::Status::kSignaled, .exit_code = 2, .signal = 9}); in TEST_F()
[all …]
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 ==()
190 if (entries_.back().exit_code == ExitCode::kCompilationSuccess) { in ShouldAttemptCompile()
206 if (it->exit_code == ExitCode::kCompilationSuccess) { in ShouldAttemptCompile()
Dodr_statslog_android.cc77 record.primary_bcp_dex2oat_result.exit_code, in UploadStatsIfAvailable()
80 record.secondary_bcp_dex2oat_result.exit_code, in UploadStatsIfAvailable()
83 record.system_server_dex2oat_result.exit_code, in UploadStatsIfAvailable()
Dodrefresh_main.cc287 ExitCode exit_code = odr.CheckArtifactsAreUpToDate(metrics, &compilation_options); in main() local
291 metrics.SetEnabled(exit_code != ExitCode::kOkay && exit_code != ExitCode::kCompilationRequired); in main()
292 return exit_code; in main()
294 ExitCode exit_code = odr.CheckArtifactsAreUpToDate(metrics, &compilation_options); in main() local
295 if (exit_code != ExitCode::kCompilationRequired) { in main()
297 metrics.SetEnabled(exit_code != ExitCode::kOkay); in main()
298 return exit_code; in main()
Dodr_metrics_record_test.cc113 ASSERT_EQ(expected.primary_bcp_dex2oat_result.exit_code, in TEST_F()
114 actual.primary_bcp_dex2oat_result.exit_code); in TEST_F()
118 ASSERT_EQ(expected.secondary_bcp_dex2oat_result.exit_code, in TEST_F()
119 actual.secondary_bcp_dex2oat_result.exit_code); in TEST_F()
124 ASSERT_EQ(expected.system_server_dex2oat_result.exit_code, in TEST_F()
125 actual.system_server_dex2oat_result.exit_code); in TEST_F()
Dodr_compilation_log.h38 int32_t exit_code; member
Dodr_compilation_log_test.cc219 static_cast<ExitCode>(e.exit_code)); in TEST_F()
257 static_cast<ExitCode>(e.exit_code)); in TEST_F()
Dodr_metrics_record.cc106 result->SetAttribute("exit-code", execResult.exit_code); in AddResult()
Dodrefresh.cc1804 if (dex2oat_result.exit_code != 0) { in RunDex2oat()
1806 dex2oat_result.exit_code < 0 ? in RunDex2oat()
1808 ART_FORMAT("dex2oat returned an unexpected code: {}", dex2oat_result.exit_code), in RunDex2oat()
Dodrefresh_test.cc82 return {.status = ExecResult::kExited, .exit_code = DoExecAndReturnCode(arg_vector)}; in ExecAndReturnResult()
/art/libartbase/base/
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()
/art/test/generate-boot-image/
Dgenerate-boot-image.cc171 int exit_code = system(BuildCommand(args).c_str()); in GenerateBootImage() local
172 if (exit_code != 0) { in GenerateBootImage()
173 LOG(ERROR) << "dex2oat invocation failed. Exit code: " << exit_code; in GenerateBootImage()
175 return exit_code; in GenerateBootImage()
/art/tools/
Drun-libcore-tests.py520 test_name, cmd, stdout, exit_code = future.result()
521 if exit_code != 0 or args.dry_run or args.verbose:
528 max_exit_code = max(max_exit_code, exit_code)
529 result = "PASSED" if exit_code == 0 else f"FAILED ({len(failed_match)} test(s) failed)"
/art/runtime/
Dexec_utils.h69 int exit_code = -1; member
Dexec_utils.cc136 return {.status = ExecResult::kExited, .exit_code = info.si_status}; in WaitChild()
250 return ExecAndReturnResult(arg_vector, /*timeout_sec=*/-1, error_msg).exit_code; in ExecAndReturnCode()
/art/test/testrunner/
Dtestrunner.py1236 exit_code = 0 if len(failed_tests) == 0 else 1
1237 sys.exit(exit_code)
/art/build/apex/
Dart_apex_test.py1104 exit_code = art_apex_test_main(args) variable
1105 sys.exit(exit_code)
/art/artd/
Dartd.cc1729 return result.exit_code; in ExecAndReturnCode()
Dartd_test.cc312 return {.status = ExecResult::kExited, .exit_code = code.value()}; in ExecAndReturnResult()