Searched refs:kNumDownloadSources (Results 1 – 16 of 16) sorted by relevance
/system/update_engine/ |
D | payload_state.h | 104 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded() 108 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded() 528 uint64_t current_bytes_downloaded_[kNumDownloadSources + 1]; 536 uint64_t total_bytes_downloaded_[kNumDownloadSources + 1];
|
D | metrics_reporter_android.cc | 120 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument 136 for (size_t i = 0; i < kNumDownloadSources; i++) { in ReportSuccessfulUpdateMetrics()
|
D | metrics_reporter_omaha.cc | 374 metrics_lib_->SendEnumToUMA(metric, download_source, kNumDownloadSources); in ReportUpdateAttemptDownloadMetrics() 398 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument 415 for (int i = 0; i < kNumDownloadSources + 1; i++) { in ReportSuccessfulUpdateMetrics() 425 if (i < kNumDownloadSources) { in ReportSuccessfulUpdateMetrics() 451 (1 << kNumDownloadSources) - 1, // max in ReportSuccessfulUpdateMetrics() 452 1 << kNumDownloadSources); // num_buckets in ReportSuccessfulUpdateMetrics()
|
D | mock_metrics_reporter.h | 69 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | metrics_reporter_interface.h | 180 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | metrics_reporter_stub.h | 72 int64_t num_bytes_downloaded[kNumDownloadSources], in ReportSuccessfulUpdateMetrics() argument
|
D | metrics_reporter_android.h | 72 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | payload_state.cc | 74 for (int i = 0; i <= kNumDownloadSources; i++) in PayloadState() 93 for (int i = 0; i < kNumDownloadSources; i++) { in Initialize() 541 current_download_source_ = kNumDownloadSources; in UpdateCurrentDownloadSource() 702 int64_t total_bytes_by_source[kNumDownloadSources]; in CollectAndReportSuccessfulUpdateMetrics() 708 for (int i = 0; i < kNumDownloadSources; i++) { in CollectAndReportSuccessfulUpdateMetrics() 810 for (int i = 0; i < kNumDownloadSources; i++) { in ResetDownloadSourcesOnNewUpdate() 1178 if (source >= kNumDownloadSources) in SetCurrentBytesDownloaded() 1201 if (source >= kNumDownloadSources) in SetTotalBytesDownloaded()
|
D | metrics_reporter_omaha.h | 149 int64_t num_bytes_downloaded[kNumDownloadSources],
|
D | update_attempter_android_unittest.cc | 175 int64_t total_bytes[kNumDownloadSources] = {}; in TEST_F()
|
D | update_attempter_android.cc | 717 DownloadSource::kNumDownloadSources, in CollectAndReportUpdateMetricsOnUpdateFinished() 732 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 | 900 int64_t total_bytes[kNumDownloadSources] = {}; in TEST()
|
/system/update_engine/common/ |
D | constants.h | 120 kNumDownloadSources enumerator
|
D | test_utils.h | 83 return std::equal(source_array, source_array + kNumDownloadSources, arg);
|
D | utils.cc | 880 case kNumDownloadSources: in ToString()
|