Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp1971 vector<sp<MetricProducer>> newMetricProducers; in TEST_F() local
1986 provider, newMetricProducerMap, newMetricProducers, in TEST_F()
2000 ASSERT_EQ(newMetricProducers.size(), 5); in TEST_F()
2002 newMetricProducers[newMetricProducerMap.at(event1Id)]); in TEST_F()
2006 newMetricProducers[newMetricProducerMap.at(event2Id)]); in TEST_F()
2008 newMetricProducers[newMetricProducerMap.at(event3Id)]); in TEST_F()
2010 newMetricProducers[newMetricProducerMap.at(event4Id)]); in TEST_F()
2039 EXPECT_EQ(newMetricProducers[event1Index]->getMetricId(), event1Id); in TEST_F()
2040 EXPECT_EQ(newMetricProducers[event1Index]->mConditionTrackerIndex, predicate2Index); in TEST_F()
2041 EXPECT_EQ(newMetricProducers[event1Index]->mCondition, ConditionState::kTrue); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dconfig_update_utils.cpp735 vector<sp<MetricProducer>>& newMetricProducers, in updateMetrics() argument
746 newMetricProducers.reserve(allMetricsCount); in updateMetrics()
819 newMetricProducers.push_back(producer.value()); in updateMetrics()
861 newMetricProducers.push_back(producer.value()); in updateMetrics()
902 newMetricProducers.push_back(producer.value()); in updateMetrics()
945 newMetricProducers.push_back(producer.value()); in updateMetrics()
987 newMetricProducers.push_back(producer.value()); in updateMetrics()
1031 newMetricProducers.push_back(producer.value()); in updateMetrics()
1046 sp<MetricProducer> producer = newMetricProducers[i]; in updateMetrics()
1064 for (size_t i = 0; i < newMetricProducers.size(); i++) { in updateMetrics()
[all …]
Dconfig_update_utils.h185 std::vector<sp<MetricProducer>>& newMetricProducers,
256 std::vector<sp<MetricProducer>>& newMetricProducers,
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp155 vector<sp<MetricProducer>> newMetricProducers; in updateConfig() local
174 newConditionTrackerMap, newMetricProducers, newMetricProducerMap, newAnomalyTrackers, in updateConfig()
183 mAllMetricProducers = newMetricProducers; in updateConfig()