Searched refs:kNumDownloadSources (Results 1 – 16 of 16) sorted by relevance
/aosp12/system/update_engine/cros/ |
H A D | metrics_reporter_omaha.cc | 329 metrics_lib_->SendEnumToUMA(metric, download_source, kNumDownloadSources); in ReportUpdateAttemptDownloadMetrics() 349 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument 365 for (int i = 0; i < kNumDownloadSources + 1; i++) { in ReportSuccessfulUpdateMetrics() 375 if (i < kNumDownloadSources) { in ReportSuccessfulUpdateMetrics() 398 (1 << kNumDownloadSources) - 1, // max in ReportSuccessfulUpdateMetrics() 399 1 << kNumDownloadSources); // num_buckets in ReportSuccessfulUpdateMetrics()
|
H A D | payload_state.h | 105 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded() 109 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded() 542 uint64_t current_bytes_downloaded_[kNumDownloadSources + 1]; 550 uint64_t total_bytes_downloaded_[kNumDownloadSources + 1];
|
H A D | payload_state.cc | 77 for (int i = 0; i <= kNumDownloadSources; i++) in PayloadState() 96 for (int i = 0; i < kNumDownloadSources; i++) { in Initialize() 574 current_download_source_ = kNumDownloadSources; in UpdateCurrentDownloadSource() 732 int64_t total_bytes_by_source[kNumDownloadSources]; in CollectAndReportSuccessfulUpdateMetrics() 738 for (int i = 0; i < kNumDownloadSources; i++) { in CollectAndReportSuccessfulUpdateMetrics() 839 for (int i = 0; i < kNumDownloadSources; i++) { in ResetDownloadSourcesOnNewUpdate() 1187 if (source >= kNumDownloadSources) in SetCurrentBytesDownloaded() 1208 if (source >= kNumDownloadSources) in SetTotalBytesDownloaded()
|
H A D | metrics_reporter_omaha.h | 145 int64_t num_bytes_downloaded[kNumDownloadSources],
|
H A D | metrics_reporter_omaha_unittest.cc | 301 int64_t num_bytes_downloaded[kNumDownloadSources] = {}; in TEST_F()
|
H A D | payload_state_unittest.cc | 899 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F()
|
/aosp12/system/update_engine/aosp/ |
H A D | metrics_reporter_android.cc | 168 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument 176 for (size_t i = 0; i < kNumDownloadSources; i++) { in ReportSuccessfulUpdateMetrics()
|
H A D | metrics_reporter_android.h | 73 int64_t num_bytes_downloaded[kNumDownloadSources],
|
H A D | update_attempter_android_unittest.cc | 187 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F()
|
H A D | update_attempter_android.cc | 843 DownloadSource::kNumDownloadSources, in CollectAndReportUpdateMetricsOnUpdateFinished() 858 int64_t num_bytes_downloaded[kNumDownloadSources] = {}; in CollectAndReportUpdateMetricsOnUpdateFinished()
|
/aosp12/system/update_engine/common/ |
H A D | metrics_reporter_stub.h | 68 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument
|
H A D | mock_metrics_reporter.h | 67 int64_t num_bytes_downloaded[kNumDownloadSources],
|
H A D | metrics_reporter_interface.h | 171 int64_t num_bytes_downloaded[kNumDownloadSources],
|
H A D | constants.h | 143 kNumDownloadSources enumerator
|
H A D | test_utils.h | 83 return std::equal(source_array, source_array + kNumDownloadSources, arg);
|
H A D | utils.cc | 785 case kNumDownloadSources: in ToString()
|