Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp64 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
66 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
147 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
149 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
258 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
259 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
262 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
288 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
301 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
332 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
[all …]
DMetricActivation_e2e_test.cpp273 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
274 auto& eventActivationMap = metricProducer->mEventActivationMap; in TEST()
277 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
295 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
302 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
322 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
335 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
353 EXPECT_FALSE(metricProducer->mIsActive); in TEST()
369 EXPECT_TRUE(metricProducer->mIsActive); in TEST()
487 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST() local
[all …]
/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp516 for (const auto& metricProducer : mAllMetricProducers) { in byteSize() local
517 totalSize += metricProducer->byteSize(); in byteSize()