HomeSort by relevance Sort by last modified time
    Searched refs:gaugeProducer (Results 1 - 2 of 2) sorted by null

  /frameworks/base/cmds/statsd/tests/metrics/
GaugeMetricProducer_test.cpp 69 GaugeMetricProducer gaugeProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard,
71 gaugeProducer.setBucketSize(60 * NS_PER_SEC);
82 gaugeProducer.onDataPulled(allData);
83 EXPECT_EQ(1UL, gaugeProducer.mCurrentSlicedBucket->size());
84 auto it = gaugeProducer.mCurrentSlicedBucket->begin()->second.front().mFields->begin();
89 EXPECT_EQ(0UL, gaugeProducer.mPastBuckets.size());
99 gaugeProducer.onDataPulled(allData);
100 EXPECT_EQ(1UL, gaugeProducer.mCurrentSlicedBucket->size());
101 it = gaugeProducer.mCurrentSlicedBucket->begin()->second.front().mFields->begin();
108 EXPECT_EQ(1UL, gaugeProducer.mPastBuckets.size())
    [all...]
  /frameworks/base/cmds/statsd/src/metrics/
metrics_manager_util.cpp 528 sp<MetricProducer> gaugeProducer = new GaugeMetricProducer(
530 allMetricProducers.push_back(gaugeProducer);

Completed in 58 milliseconds