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

/system/update_engine/
H A Dmetrics_reporter_android.cc120 int64_t num_bytes_downloaded[kNumDownloadSources],
135 for (size_t i = 0; i < kNumDownloadSources; i++) {
H A Dmetrics_reporter_android.h67 int64_t num_bytes_downloaded[kNumDownloadSources],
H A Dmetrics_reporter_interface.h164 int64_t num_bytes_downloaded[kNumDownloadSources],
H A Dmetrics_reporter_stub.h67 int64_t num_bytes_downloaded[kNumDownloadSources],
H A Dmock_metrics_reporter.h64 int64_t num_bytes_downloaded[kNumDownloadSources],
H A Dpayload_state.h109 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0;
113 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0;
201 // to kNumDownloadSources.
534 uint64_t current_bytes_downloaded_[kNumDownloadSources + 1];
542 uint64_t total_bytes_downloaded_[kNumDownloadSources + 1];
H A Dmetrics_reporter_omaha.cc339 metrics_lib_->SendEnumToUMA(metric, download_source, kNumDownloadSources);
363 int64_t num_bytes_downloaded[kNumDownloadSources],
379 for (int i = 0; i < kNumDownloadSources + 1; i++) {
389 if (i < kNumDownloadSources) {
415 (1 << kNumDownloadSources) - 1, // max
416 1 << kNumDownloadSources); // num_buckets
H A Dmetrics_reporter_omaha.h131 int64_t num_bytes_downloaded[kNumDownloadSources],
H A Dpayload_state.cc71 for (int i = 0; i <= kNumDownloadSources; i++)
90 for (int i = 0; i < kNumDownloadSources; i++) {
533 current_download_source_ = kNumDownloadSources;
694 int64_t total_bytes_by_source[kNumDownloadSources];
700 for (int i = 0; i < kNumDownloadSources; i++) {
799 for (int i = 0; i < kNumDownloadSources; i++) {
1131 if (source >= kNumDownloadSources)
1155 if (source >= kNumDownloadSources)
H A Dupdate_attempter_android_unittest.cc172 int64_t total_bytes[kNumDownloadSources] = {};
H A Dupdate_attempter_android.cc725 DownloadSource::kNumDownloadSources,
740 int64_t num_bytes_downloaded[kNumDownloadSources] = {};
H A Dmetrics_reporter_omaha_unittest.cc256 int64_t num_bytes_downloaded[kNumDownloadSources] = {};
H A Dpayload_state_unittest.cc910 int64_t total_bytes[kNumDownloadSources] = {};
/system/update_engine/common/
H A Dconstants.h112 kNumDownloadSources enumerator in enum:chromeos_update_engine::__anon2677
H A Dtest_utils.h107 return std::equal(source_array, source_array + kNumDownloadSources, arg);
H A Dutils.cc884 case kNumDownloadSources: return "Unknown";

Completed in 117 milliseconds