Home
last modified time | relevance | path

Searched refs:DownloadErrorCode (Results 1 – 16 of 16) sorted by relevance

/aosp12/system/update_engine/
H A Dmetrics_utils.cc147 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code) { in GetDownloadErrorCode()
156 return static_cast<metrics::DownloadErrorCode>( in GetDownloadErrorCode()
157 static_cast<int>(metrics::DownloadErrorCode::kHttpStatus200) + in GetDownloadErrorCode()
162 return metrics::DownloadErrorCode::kDownloadError; in GetDownloadErrorCode()
165 return metrics::DownloadErrorCode::kHttpStatusOther; in GetDownloadErrorCode()
175 return metrics::DownloadErrorCode::kDownloadError; in GetDownloadErrorCode()
178 return metrics::DownloadErrorCode::kInternalLibCurlError; in GetDownloadErrorCode()
180 return metrics::DownloadErrorCode::kUnresolvedHostError; in GetDownloadErrorCode()
182 return metrics::DownloadErrorCode::kUnresolvedHostRecovered; in GetDownloadErrorCode()
262 return metrics::DownloadErrorCode::kInputMalformed; in GetDownloadErrorCode()
H A Dmetrics_utils.h39 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code);
/aosp12/system/update_engine/cros/
H A Dmetrics_reporter_omaha_unittest.cc70 metrics::DownloadErrorCode error_code = in TEST_F()
71 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()
121 metrics::DownloadErrorCode error_code = in TEST_F()
122 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()
145 metrics::DownloadErrorCode error_code = in TEST_F()
146 metrics::DownloadErrorCode::kHttpStatus200; in TEST_F()
262 metrics::DownloadErrorCode payload_download_error_code = in TEST_F()
263 metrics::DownloadErrorCode::kDownloadError; in TEST_F()
H A Dmetrics_reporter_omaha.h121 metrics::DownloadErrorCode download_error_code) override;
135 metrics::DownloadErrorCode payload_download_error_code,
H A Dmetrics_reporter_omaha.cc160 metrics::DownloadErrorCode download_error_code) { in ReportUpdateCheckMetrics()
177 if (download_error_code != metrics::DownloadErrorCode::kUnset) { in ReportUpdateCheckMetrics()
309 metrics::DownloadErrorCode payload_download_error_code, in ReportUpdateAttemptDownloadMetrics()
331 if (payload_download_error_code != metrics::DownloadErrorCode::kUnset) { in ReportUpdateAttemptDownloadMetrics()
H A Domaha_request_action.cc973 metrics::DownloadErrorCode download_error_code = in TransferComplete()
1485 metrics::DownloadErrorCode download_error_code = in ActionCompleted()
1486 metrics::DownloadErrorCode::kUnset; in ActionCompleted()
1526 metrics::DownloadErrorCode tmp_error = in ActionCompleted()
1528 if (tmp_error != metrics::DownloadErrorCode::kInputMalformed) { in ActionCompleted()
H A Dpayload_state.cc646 metrics::DownloadErrorCode payload_download_error_code = in CollectAndReportAttemptMetrics()
647 metrics::DownloadErrorCode::kUnset; in CollectAndReportAttemptMetrics()
H A Domaha_request_action_unittest.cc374 metrics::DownloadErrorCode expected_download_error_code;
414 .expected_download_error_code = metrics::DownloadErrorCode::kUnset, in SetUp()
2187 static_cast<metrics::DownloadErrorCode>(501); in TEST_F()
2203 metrics::DownloadErrorCode::kHttpStatusOther; in TEST_F()
H A Dupdate_attempter.cc293 metrics::DownloadErrorCode::kUnset); in Update()
/aosp12/system/update_engine/common/
H A Dmetrics_reporter_stub.h44 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()
58 metrics::DownloadErrorCode payload_download_error_code, in ReportUpdateAttemptDownloadMetrics()
H A Dmock_metrics_reporter.h42 metrics::DownloadErrorCode download_error_code));
57 metrics::DownloadErrorCode payload_download_error_code,
H A Dmetrics_reporter_interface.h92 metrics::DownloadErrorCode download_error_code) = 0;
137 metrics::DownloadErrorCode payload_download_error_code,
H A Dmetrics_constants.h54 enum class DownloadErrorCode { enum
/aosp12/system/update_engine/aosp/
H A Dmetrics_reporter_android.h49 metrics::DownloadErrorCode download_error_code) override {} in ReportUpdateCheckMetrics()
63 metrics::DownloadErrorCode payload_download_error_code,
H A Dmetrics_reporter_android.cc156 metrics::DownloadErrorCode /* payload_download_error_code */, in ReportUpdateAttemptDownloadMetrics() argument
H A Dupdate_attempter_android.cc844 metrics::DownloadErrorCode::kUnset, in CollectAndReportUpdateMetricsOnUpdateFinished()