Home
last modified time | relevance | path

Searched refs:kNumBytesInOneMiB (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/
Dmetrics_reporter_android.cc60 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportUpdateAttemptMetrics()
81 << payload_bytes_downloaded / kNumBytesInOneMiB << " bytes data"; in ReportUpdateAttemptDownloadMetrics()
95 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
98 total_bytes_downloaded += num_bytes_downloaded[i] / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
Dmetrics_reporter_omaha.cc291 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportUpdateAttemptMetrics()
349 payload_bytes_downloaded / kNumBytesInOneMiB; in ReportUpdateAttemptDownloadMetrics()
401 int64_t mbs = payload_size / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
423 mbs = num_bytes_downloaded[i] / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
428 mbs = total_bytes / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
Dmetrics_reporter_omaha_unittest.cc200 int64_t payload_size = 100 * kNumBytesInOneMiB; in TEST_F()
278 int64_t payload_bytes_downloaded = 200 * kNumBytesInOneMiB; in TEST_F()
319 int64_t payload_size = 200 * kNumBytesInOneMiB; in TEST_F()
322 num_bytes_downloaded[0] = 200 * kNumBytesInOneMiB; in TEST_F()
Dpayload_state.cc747 successful_mbs += bytes / kNumBytesInOneMiB; in CollectAndReportSuccessfulUpdateMetrics()
753 total_mbs += bytes / kNumBytesInOneMiB; in CollectAndReportSuccessfulUpdateMetrics()
/system/update_engine/common/
Dconstants.h175 const int kNumBytesInOneMiB = 1024 * 1024; variable