Searched refs:kNumDownloadSources (Results 1 – 6 of 6) sorted by relevance
290 kNumDownloadSources); in ReportUpdateAttemptMetrics()367 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument386 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()
108 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];
68 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()
302 int64_t num_bytes_downloaded[kNumDownloadSources],
109 kNumDownloadSources enumerator
885 case kNumDownloadSources: return "Unknown"; in ToString()