Home
last modified time | relevance | path

Searched refs:mGaugeAtoms (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp148 EXPECT_EQ(3, gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms in TEST()
169 it = gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.front().mFields->begin(); in TEST()
181 it = gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.front().mFields->begin(); in TEST()
461 .mGaugeAtoms.front() in TEST()
471 .mGaugeAtoms.front() in TEST()
711 EXPECT_EQ(2UL, gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.size()); in TEST()
714 .mGaugeAtoms[0] in TEST()
719 .mGaugeAtoms[1] in TEST()
800 EXPECT_EQ(1UL, bucketIt->second.back().mGaugeAtoms.size()); in TEST()
802 EXPECT_EQ(4, bucketIt->second.back().mGaugeAtoms[0].mFields->begin()->mValue.int_value); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp276 if (!bucket.mGaugeAtoms.empty()) { in onDumpReportLocked()
277 for (const auto& atom : bucket.mGaugeAtoms) { in onDumpReportLocked()
284 for (const auto& atom : bucket.mGaugeAtoms) { in onDumpReportLocked()
295 (int)bucket.mGaugeAtoms.size()); in onDumpReportLocked()
572 info.mGaugeAtoms = slice.second; in flushCurrentBucketLocked()
604 totalSize += bucket.mGaugeAtoms.size() * sizeof(GaugeAtom); in byteSizeLocked()
605 for (const auto& atom : bucket.mGaugeAtoms) { in byteSizeLocked()
DGaugeMetricProducer.h47 std::vector<GaugeAtom> mGaugeAtoms; member