/art/odrefresh/ |
D | odr_metrics_record.h | 50 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()
|
D | odr_metrics_test.cc | 104 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 …]
|
D | odr_compilation_log.cc | 49 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()
|
D | odr_statslog_android.cc | 77 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()
|
D | odrefresh_main.cc | 287 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()
|
D | odr_metrics_record_test.cc | 113 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()
|
D | odr_compilation_log.h | 38 int32_t exit_code; member
|
D | odr_compilation_log_test.cc | 219 static_cast<ExitCode>(e.exit_code)); in TEST_F() 257 static_cast<ExitCode>(e.exit_code)); in TEST_F()
|
D | odr_metrics_record.cc | 106 result->SetAttribute("exit-code", execResult.exit_code); in AddResult()
|
D | odrefresh.cc | 1804 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()
|
D | odrefresh_test.cc | 82 return {.status = ExecResult::kExited, .exit_code = DoExecAndReturnCode(arg_vector)}; in ExecAndReturnResult()
|
/art/libartbase/base/ |
D | fast_exit.h | 44 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/ |
D | generate-boot-image.cc | 171 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/ |
D | run-libcore-tests.py | 520 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/ |
D | exec_utils.h | 69 int exit_code = -1; member
|
D | exec_utils.cc | 136 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/ |
D | testrunner.py | 1236 exit_code = 0 if len(failed_tests) == 0 else 1 1237 sys.exit(exit_code)
|
/art/build/apex/ |
D | art_apex_test.py | 1104 exit_code = art_apex_test_main(args) variable 1105 sys.exit(exit_code)
|
/art/artd/ |
D | artd.cc | 1729 return result.exit_code; in ExecAndReturnCode()
|
D | artd_test.cc | 312 return {.status = ExecResult::kExited, .exit_code = code.value()}; in ExecAndReturnResult()
|