Searched refs:kNumDownloadSources (Results 1 – 16 of 16) sorted by relevance
/system/update_engine/ |
D | metrics_reporter_android.cc | 89 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument 97 for (size_t i = 0; i < kNumDownloadSources; i++) { in ReportSuccessfulUpdateMetrics()
|
D | payload_state.h | 105 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];
|
D | metrics_reporter_omaha.cc | 370 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()
|
D | mock_metrics_reporter.h | 69 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | metrics_reporter_android.h | 70 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | metrics_reporter_stub.h | 70 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument
|
D | metrics_reporter_interface.h | 178 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | payload_state.cc | 77 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()
|
D | metrics_reporter_omaha.h | 147 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | update_attempter_android_unittest.cc | 185 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F()
|
D | update_attempter_android.cc | 821 DownloadSource::kNumDownloadSources, in CollectAndReportUpdateMetricsOnUpdateFinished() 836 int64_t num_bytes_downloaded[kNumDownloadSources] = {}; in CollectAndReportUpdateMetricsOnUpdateFinished()
|
D | metrics_reporter_omaha_unittest.cc | 320 int64_t num_bytes_downloaded[kNumDownloadSources] = {}; in TEST_F()
|
D | payload_state_unittest.cc | 903 int64_t total_bytes[kNumDownloadSources] = {}; in TEST()
|
/system/update_engine/common/ |
D | constants.h | 138 kNumDownloadSources enumerator
|
D | test_utils.h | 83 return std::equal(source_array, source_array + kNumDownloadSources, arg);
|
D | utils.cc | 776 case kNumDownloadSources: in ToString()
|