Searched refs:AttemptResult (Results 1 – 14 of 14) sorted by relevance
34 metrics::AttemptResult GetAttemptResult(ErrorCode code) { in GetAttemptResult()40 return metrics::AttemptResult::kUpdateSucceeded; in GetAttemptResult()43 return metrics::AttemptResult::kUpdateSucceededNotActive; in GetAttemptResult()49 return metrics::AttemptResult::kPayloadDownloadError; in GetAttemptResult()62 return metrics::AttemptResult::kMetadataMalformed; in GetAttemptResult()66 return metrics::AttemptResult::kOperationMalformed; in GetAttemptResult()77 return metrics::AttemptResult::kOperationExecutionError; in GetAttemptResult()80 return metrics::AttemptResult::kMetadataVerificationFailed; in GetAttemptResult()88 return metrics::AttemptResult::kPayloadVerificationFailed; in GetAttemptResult()93 return metrics::AttemptResult::kVerificationFailed; in GetAttemptResult()[all …]
58 metrics::AttemptResult attempt_result, in ReportUpdateAttemptMetrics()114 static_cast<int>(metrics::AttemptResult::kAbnormalTermination); in ReportAbnormallyTerminatedUpdateAttemptMetrics()
647 metrics::AttemptResult attempt_result = metrics_utils::GetAttemptResult(code); in CollectAndReportAttemptMetrics()651 case metrics::AttemptResult::kPayloadDownloadError: in CollectAndReportAttemptMetrics()655 case metrics::AttemptResult::kInternalError: in CollectAndReportAttemptMetrics()663 case metrics::AttemptResult::kUpdateSucceeded: in CollectAndReportAttemptMetrics()664 case metrics::AttemptResult::kMetadataMalformed: in CollectAndReportAttemptMetrics()665 case metrics::AttemptResult::kOperationMalformed: in CollectAndReportAttemptMetrics()666 case metrics::AttemptResult::kOperationExecutionError: in CollectAndReportAttemptMetrics()667 case metrics::AttemptResult::kMetadataVerificationFailed: in CollectAndReportAttemptMetrics()668 case metrics::AttemptResult::kPayloadVerificationFailed: in CollectAndReportAttemptMetrics()669 case metrics::AttemptResult::kVerificationFailed: in CollectAndReportAttemptMetrics()[all …]
94 enum class AttemptResult { enum
239 metrics::AttemptResult attempt_result = in ReportAbnormallyTerminatedUpdateAttemptMetrics()240 metrics::AttemptResult::kAbnormalTermination; in ReportAbnormallyTerminatedUpdateAttemptMetrics()247 static_cast<int>(metrics::AttemptResult::kNumConstants)); in ReportAbnormallyTerminatedUpdateAttemptMetrics()257 metrics::AttemptResult attempt_result, in ReportUpdateAttemptMetrics()305 static_cast<int>(metrics::AttemptResult::kNumConstants)); in ReportUpdateAttemptMetrics()
47 metrics::AttemptResult GetAttemptResult(ErrorCode code);
52 metrics::AttemptResult attempt_result,
53 metrics::AttemptResult attempt_result,
53 metrics::AttemptResult attempt_result, in ReportUpdateAttemptMetrics()
129 metrics::AttemptResult attempt_result,
130 metrics::AttemptResult attempt_result,
178 metrics::AttemptResult::kAbnormalTermination), in TEST_F()202 metrics::AttemptResult attempt_result = in TEST_F()203 metrics::AttemptResult::kInternalError; in TEST_F()
147 metrics::AttemptResult::kUpdateSucceeded, in TEST_F()
797 metrics::AttemptResult attempt_result = in CollectAndReportUpdateMetricsOnUpdateFinished()