Searched refs:gaugeProducer (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | GaugeMetricProducer_test.cpp | 78 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST() local 82 gaugeProducer.prepareFirstBucket(); in TEST() 85 EXPECT_EQ(600500000000, gaugeProducer.mCurrentBucketStartTimeNs); in TEST() 86 EXPECT_EQ(10, gaugeProducer.mCurrentBucketNum); in TEST() 87 EXPECT_EQ(660000000005, gaugeProducer.getCurrentBucketEndTimeNs()); in TEST() 124 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard, in TEST() local 129 gaugeProducer.prepareFirstBucket(); in TEST() 140 gaugeProducer.onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST() 141 EXPECT_EQ(1UL, gaugeProducer.mCurrentSlicedBucket->size()); in TEST() 142 auto it = gaugeProducer.mCurrentSlicedBucket->begin()->second.front().mFields->begin(); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | metrics_manager_util.cpp | 588 sp<MetricProducer> gaugeProducer = new GaugeMetricProducer( in initMetrics() local 592 allMetricProducers.push_back(gaugeProducer); in initMetrics()
|