Searched refs:kNumBytesInOneMiB (Results 1 – 5 of 5) sorted by relevance
60 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()
291 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()
200 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()
747 successful_mbs += bytes / kNumBytesInOneMiB; in CollectAndReportSuccessfulUpdateMetrics()753 total_mbs += bytes / kNumBytesInOneMiB; in CollectAndReportSuccessfulUpdateMetrics()
175 const int kNumBytesInOneMiB = 1024 * 1024; variable