Searched refs:ExecResult (Results 1 – 12 of 12) sorted by relevance
/art/odrefresh/ |
D | odr_metrics_test.cc | 104 ExecResult{.status = ExecResult::Status::kExited, .exit_code = 0, .signal = 0}); in TEST_F() 110 EXPECT_EQ(record.primary_bcp_dex2oat_result.status, ExecResult::Status::kExited); 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() 151 EXPECT_EQ(record.primary_bcp_dex2oat_result.status, ExecResult::Status::kExited); in TEST_F() 158 EXPECT_EQ(record.secondary_bcp_dex2oat_result.status, ExecResult::Status::kTimedOut); 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() 185 EXPECT_EQ(record.primary_bcp_dex2oat_result.status, ExecResult::Status::kExited); in TEST_F() [all …]
|
D | odr_metrics.h | 130 const std::optional<ExecResult>& dex2oat_result); 149 ConvertExecResult(const std::optional<ExecResult>& result); 170 std::optional<ExecResult> primary_bcp_dex2oat_result_; 179 std::optional<ExecResult> secondary_bcp_dex2oat_result_; 188 std::optional<ExecResult> system_server_dex2oat_result_;
|
D | odr_metrics_record.h | 39 static_assert(kExecResultNotRun > ExecResult::Status::kLast, 56 explicit Dex2OatExecResult(const ExecResult& result) in Dex2OatExecResult()
|
D | odr_metrics.cc | 73 const std::optional<ExecResult>& dex2oat_result) { in SetDex2OatResult() 159 const std::optional<ExecResult>& result) { in ConvertExecResult()
|
D | odrefresh.h | 73 std::optional<ExecResult> dex2oat_result; 77 static CompilationResult Dex2oatOk(int64_t elapsed_time_ms, const ExecResult& dex2oat_result) { in Dex2oatOk() 87 const ExecResult& dex2oat_result) { in Dex2oatError()
|
D | odrefresh_test.cc | 79 ExecResult ExecAndReturnResult(const std::vector<std::string>& arg_vector, in ExecAndReturnResult() 82 return {.status = ExecResult::kExited, .exit_code = DoExecAndReturnCode(arg_vector)}; in ExecAndReturnResult()
|
D | odrefresh.cc | 1802 ExecResult dex2oat_result = exec_utils_->ExecAndReturnResult(args.Get(), timeout, &error_msg); in RunDex2oat()
|
/art/runtime/ |
D | exec_utils.cc | 107 ExecResult WaitChild(pid_t pid, in WaitChild() 119 return {.status = ExecResult::kUnknown}; in WaitChild() 127 return {.status = ExecResult::kUnknown}; in WaitChild() 134 return {.status = ExecResult::kSignaled, .signal = info.si_status}; in WaitChild() 136 return {.status = ExecResult::kExited, .exit_code = info.si_status}; in WaitChild() 141 ExecResult WaitChildWithTimeoutFallback(pid_t pid, in WaitChildWithTimeoutFallback() 158 ExecResult result = WaitChild(pid, arg_vector, /*no_wait=*/true, error_msg); in WaitChildWithTimeoutFallback() 173 return ExecResult{.status = ExecResult::kTimedOut}; in WaitChildWithTimeoutFallback() 180 ExecResult WaitChildWithTimeout(pid_t pid, in WaitChildWithTimeout() 200 return {.status = ExecResult::kUnknown}; in WaitChildWithTimeout() [all …]
|
D | exec_utils.h | 49 struct ExecResult { struct 93 virtual ExecResult ExecAndReturnResult(const std::vector<std::string>& arg_vector, argument 103 virtual ExecResult ExecAndReturnResult(const std::vector<std::string>& arg_vector,
|
D | exec_utils_test.cc | 140 ExecResult result = exec_utils_->ExecAndReturnResult(command, /*timeout_sec=*/-1, &error_msg); in TEST_P() 141 EXPECT_EQ(result.status, ExecResult::kSignaled); in TEST_P() 196 ExecResult::kTimedOut) in TEST_P() 207 ExecResult::kExited) in TEST_P() 234 ExecResult::kExited) in TEST_P() 264 ExecResult::kExited) in TEST_P() 289 ExecResult::kExited) in TEST_P() 318 ExecResult::kTimedOut); in TEST_P()
|
/art/artd/ |
D | artd_test.cc | 304 ExecResult ExecAndReturnResult(const std::vector<std::string>& arg_vector, in ExecAndReturnResult() 312 return {.status = ExecResult::kExited, .exit_code = code.value()}; in ExecAndReturnResult() 314 return {.status = ExecResult::kUnknown}; in ExecAndReturnResult()
|
D | artd.cc | 1724 ExecResult result = exec_utils_->ExecAndReturnResult( in ExecAndReturnCode() 1726 if (result.status != ExecResult::kExited) { in ExecAndReturnCode()
|