Home
last modified time | relevance | path

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

/system/update_engine/
Dmetrics_reporter_android.cc89 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument
97 for (size_t i = 0; i < kNumDownloadSources; i++) { in ReportSuccessfulUpdateMetrics()
Dpayload_state.h105 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded()
109 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded()
544 uint64_t current_bytes_downloaded_[kNumDownloadSources + 1];
552 uint64_t total_bytes_downloaded_[kNumDownloadSources + 1];
Dmetrics_reporter_omaha.cc370 metrics_lib_->SendEnumToUMA(metric, download_source, kNumDownloadSources); in ReportUpdateAttemptDownloadMetrics()
394 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument
411 for (int i = 0; i < kNumDownloadSources + 1; i++) { in ReportSuccessfulUpdateMetrics()
421 if (i < kNumDownloadSources) { in ReportSuccessfulUpdateMetrics()
447 (1 << kNumDownloadSources) - 1, // max in ReportSuccessfulUpdateMetrics()
448 1 << kNumDownloadSources); // num_buckets in ReportSuccessfulUpdateMetrics()
Dmock_metrics_reporter.h69 int64_t num_bytes_downloaded[kNumDownloadSources],
Dmetrics_reporter_android.h70 int64_t num_bytes_downloaded[kNumDownloadSources],
Dmetrics_reporter_stub.h70 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument
Dmetrics_reporter_interface.h178 int64_t num_bytes_downloaded[kNumDownloadSources],
Dpayload_state.cc77 for (int i = 0; i <= kNumDownloadSources; i++) in PayloadState()
97 for (int i = 0; i < kNumDownloadSources; i++) { in Initialize()
568 current_download_source_ = kNumDownloadSources; in UpdateCurrentDownloadSource()
729 int64_t total_bytes_by_source[kNumDownloadSources]; in CollectAndReportSuccessfulUpdateMetrics()
735 for (int i = 0; i < kNumDownloadSources; i++) { in CollectAndReportSuccessfulUpdateMetrics()
837 for (int i = 0; i < kNumDownloadSources; i++) { in ResetDownloadSourcesOnNewUpdate()
1206 if (source >= kNumDownloadSources) in SetCurrentBytesDownloaded()
1229 if (source >= kNumDownloadSources) in SetTotalBytesDownloaded()
Dmetrics_reporter_omaha.h147 int64_t num_bytes_downloaded[kNumDownloadSources],
Dupdate_attempter_android_unittest.cc185 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F()
Dupdate_attempter_android.cc821 DownloadSource::kNumDownloadSources, in CollectAndReportUpdateMetricsOnUpdateFinished()
836 int64_t num_bytes_downloaded[kNumDownloadSources] = {}; in CollectAndReportUpdateMetricsOnUpdateFinished()
Dmetrics_reporter_omaha_unittest.cc320 int64_t num_bytes_downloaded[kNumDownloadSources] = {}; in TEST_F()
Dpayload_state_unittest.cc903 int64_t total_bytes[kNumDownloadSources] = {}; in TEST()
/system/update_engine/common/
Dconstants.h138 kNumDownloadSources enumerator
Dtest_utils.h83 return std::equal(source_array, source_array + kNumDownloadSources, arg);
Dutils.cc776 case kNumDownloadSources: in ToString()