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()
106 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];
67 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()
302 int64_t num_bytes_downloaded[kNumDownloadSources],
112 kNumDownloadSources enumerator
1016 case kNumDownloadSources: return "Unknown"; in ToString()