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

  /frameworks/base/cmds/statsd/tests/metrics/
ValueMetricProducer_test.cpp 70 ValueMetricProducer valueProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, wizard,
72 valueProducer.setBucketSize(60 * NS_PER_SEC);
82 valueProducer.onDataPulled(allData);
84 EXPECT_EQ(1UL, valueProducer.mCurrentSlicedBucket.size());
85 ValueMetricProducer::Interval curInterval = valueProducer.mCurrentSlicedBucket.begin()->second;
86 valueProducer.setBucketSize(60 * NS_PER_SEC);
93 EXPECT_EQ(0UL, valueProducer.mPastBuckets.size());
101 valueProducer.onDataPulled(allData);
103 EXPECT_EQ(1UL, valueProducer.mCurrentSlicedBucket.size());
104 curInterval = valueProducer.mCurrentSlicedBucket.begin()->second
    [all...]
  /frameworks/base/cmds/statsd/src/metrics/
metrics_manager_util.cpp 468 sp<MetricProducer> valueProducer = new ValueMetricProducer(key, metric, conditionIndex,
471 allMetricProducers.push_back(valueProducer);

Completed in 137 milliseconds