Searched refs:metricsManager (Results 1 – 4 of 4) sorted by relevance
61 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST() local62 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() local145 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 …]
270 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST() local271 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 …]
344 for (auto metricsManager : mMetricsManagers) { in dumpStates() local345 metricsManager.second->dumpStates(fout, verbose); in dumpStates()541 int64_t timestampNs, const ConfigKey& key, MetricsManager& metricsManager) { in flushIfNecessaryLocked() argument550 size_t totalBytes = metricsManager.byteSize(); in flushIfNecessaryLocked()555 metricsManager.dropData(timestampNs); in flushIfNecessaryLocked()639 const sp<MetricsManager>& metricsManager = pair.second; in WriteActiveConfigsToProtoOutputStreamLocked() local642 metricsManager->writeActiveConfigToProtoOutputStream(currentTimeNs, reason, proto); in WriteActiveConfigsToProtoOutputStreamLocked()
190 MetricsManager& metricsManager);