Home
last modified time | relevance | path

Searched refs:kNumDownloadSources (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/
Dmetrics.cc290 kNumDownloadSources); in ReportUpdateAttemptMetrics()
367 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument
386 for (int i = 0; i < kNumDownloadSources + 1; i++) { in ReportSuccessfulUpdateMetrics()
396 if (i < kNumDownloadSources) { in ReportSuccessfulUpdateMetrics()
423 (1 << kNumDownloadSources) - 1, // max in ReportSuccessfulUpdateMetrics()
424 1 << kNumDownloadSources); // num_buckets in ReportSuccessfulUpdateMetrics()
Dpayload_state.h108 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded()
112 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded()
546 uint64_t current_bytes_downloaded_[kNumDownloadSources + 1];
554 uint64_t total_bytes_downloaded_[kNumDownloadSources + 1];
Dpayload_state.cc68 for (int i = 0; i <= kNumDownloadSources; i++) in PayloadState()
87 for (int i = 0; i < kNumDownloadSources; i++) { in Initialize()
529 current_download_source_ = kNumDownloadSources; in UpdateCurrentDownloadSource()
685 int64_t total_bytes_by_source[kNumDownloadSources]; in CollectAndReportSuccessfulUpdateMetrics()
691 for (int i = 0; i < kNumDownloadSources; i++) { in CollectAndReportSuccessfulUpdateMetrics()
793 for (int i = 0; i < kNumDownloadSources; i++) { in ResetDownloadSourcesOnNewUpdate()
1148 if (source >= kNumDownloadSources) in SetCurrentBytesDownloaded()
1172 if (source >= kNumDownloadSources) in SetTotalBytesDownloaded()
Dmetrics.h302 int64_t num_bytes_downloaded[kNumDownloadSources],
/system/update_engine/common/
Dconstants.h109 kNumDownloadSources enumerator
Dutils.cc885 case kNumDownloadSources: return "Unknown"; in ToString()