Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp265 if (!bucket.mGaugeAtoms.empty()) { in onDumpReportLocked()
266 for (const auto& atom : bucket.mGaugeAtoms) { in onDumpReportLocked()
273 for (const auto& atom : bucket.mGaugeAtoms) { in onDumpReportLocked()
282 (int)bucket.mGaugeAtoms.size()); in onDumpReportLocked()
568 info.mGaugeAtoms = slice.second; in flushCurrentBucketLocked()
607 totalSize += bucket.mGaugeAtoms.size() * sizeof(GaugeAtom); in byteSizeLocked()
608 for (const auto& atom : bucket.mGaugeAtoms) { in byteSizeLocked()
DGaugeMetricProducer.h47 std::vector<GaugeAtom> mGaugeAtoms; member
/frameworks/base/cmds/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp168 .mGaugeAtoms.front() in TEST()
185 it = gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.front().mFields->begin(); in TEST()
197 it = gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.front().mFields->begin(); in TEST()
478 .mGaugeAtoms.front() in TEST()
488 .mGaugeAtoms.front() in TEST()
705 ASSERT_EQ(2UL, gaugeProducer.mPastBuckets.begin()->second.back().mGaugeAtoms.size()); in TEST()
708 .mGaugeAtoms[0] in TEST()
713 .mGaugeAtoms[1] in TEST()
787 ASSERT_EQ(1UL, bucketIt->second.back().mGaugeAtoms.size()); in TEST()
789 EXPECT_EQ(4, bucketIt->second.back().mGaugeAtoms[0].mFields->begin()->mValue.int_value); in TEST()
[all …]