Home
last modified time | relevance | path

Searched refs:metricsManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp61 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST() local
62 EXPECT_TRUE(metricsManager->isConfigValid()); in TEST()
63 EXPECT_EQ(metricsManager->mAllMetricProducers.size(), 1); in TEST()
64 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
65 EXPECT_TRUE(metricsManager->isActive()); in TEST()
144 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST() local
145 EXPECT_TRUE(metricsManager->isConfigValid()); in TEST()
146 EXPECT_EQ(metricsManager->mAllMetricProducers.size(), 1); in TEST()
147 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
148 EXPECT_TRUE(metricsManager->isActive()); in TEST()
[all …]
DMetricActivation_e2e_test.cpp270 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST() local
271 EXPECT_TRUE(metricsManager->isConfigValid()); in TEST()
272 EXPECT_EQ(metricsManager->mAllMetricProducers.size(), 1); in TEST()
273 sp<MetricProducer> metricProducer = metricsManager->mAllMetricProducers[0]; in TEST()
276 EXPECT_FALSE(metricsManager->isActive()); in TEST()
294 EXPECT_FALSE(metricsManager->isActive()); in TEST()
301 EXPECT_TRUE(metricsManager->isActive()); in TEST()
321 EXPECT_TRUE(metricsManager->isActive()); in TEST()
334 EXPECT_TRUE(metricsManager->isActive()); in TEST()
352 EXPECT_FALSE(metricsManager->isActive()); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp344 for (auto metricsManager : mMetricsManagers) { in dumpStates() local
345 metricsManager.second->dumpStates(fout, verbose); in dumpStates()
541 int64_t timestampNs, const ConfigKey& key, MetricsManager& metricsManager) { in flushIfNecessaryLocked() argument
550 size_t totalBytes = metricsManager.byteSize(); in flushIfNecessaryLocked()
555 metricsManager.dropData(timestampNs); in flushIfNecessaryLocked()
639 const sp<MetricsManager>& metricsManager = pair.second; in WriteActiveConfigsToProtoOutputStreamLocked() local
642 metricsManager->writeActiveConfigToProtoOutputStream(currentTimeNs, reason, proto); in WriteActiveConfigsToProtoOutputStreamLocked()
DStatsLogProcessor.h190 MetricsManager& metricsManager);