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.h106 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded()
110 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded()
529 uint64_t current_bytes_downloaded_[kNumDownloadSources + 1];
537 uint64_t total_bytes_downloaded_[kNumDownloadSources + 1];
Dpayload_state.cc67 for (int i = 0; i <= kNumDownloadSources; i++) in PayloadState()
86 for (int i = 0; i < kNumDownloadSources; i++) { in Initialize()
516 current_download_source_ = kNumDownloadSources; in UpdateCurrentDownloadSource()
669 int64_t total_bytes_by_source[kNumDownloadSources]; in CollectAndReportSuccessfulUpdateMetrics()
675 for (int i = 0; i < kNumDownloadSources; i++) { in CollectAndReportSuccessfulUpdateMetrics()
776 for (int i = 0; i < kNumDownloadSources; i++) { in ResetDownloadSourcesOnNewUpdate()
1111 if (source >= kNumDownloadSources) in SetCurrentBytesDownloaded()
1135 if (source >= kNumDownloadSources) in SetTotalBytesDownloaded()
Dmetrics.h302 int64_t num_bytes_downloaded[kNumDownloadSources],
/system/update_engine/common/
Dconstants.h112 kNumDownloadSources enumerator
Dutils.cc1016 case kNumDownloadSources: return "Unknown"; in ToString()