Home
last modified time | relevance | path

Searched refs:allMetricProducers (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp392 vector<sp<MetricProducer>> allMetricProducers; in TEST() local
409 allConditionTrackers, conditionTrackerMap, allMetricProducers, metricProducerMap, in TEST()
414 ASSERT_EQ(4u, allMetricProducers.size()); in TEST()
428 EXPECT_EQ(ConditionState::kFalse, allMetricProducers[0]->mCondition); in TEST()
429 EXPECT_EQ(ConditionState::kUnknown, allMetricProducers[1]->mCondition); in TEST()
430 EXPECT_EQ(ConditionState::kFalse, allMetricProducers[2]->mCondition); in TEST()
431 EXPECT_EQ(ConditionState::kUnknown, allMetricProducers[3]->mCondition); in TEST()
445 vector<sp<MetricProducer>> allMetricProducers; in TEST() local
462 allConditionTrackers, conditionTrackerMap, allMetricProducers, metricProducerMap, in TEST()
467 ASSERT_EQ(1u, allMetricProducers.size()); in TEST()
[all …]
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp850 vector<sp<MetricProducer>>& allMetricProducers) { in createAnomalyTracker() argument
867 sp<MetricProducer> metric = allMetricProducers[metricIndex]; in createAnomalyTracker()
992 vector<sp<MetricProducer>>& allMetricProducers, in initMetrics() argument
1004 allMetricProducers.reserve(allMetricsCount); in initMetrics()
1022 int metricIndex = allMetricProducers.size(); in initMetrics()
1035 allMetricProducers.push_back(producer.value()); in initMetrics()
1040 int metricIndex = allMetricProducers.size(); in initMetrics()
1054 allMetricProducers.push_back(producer.value()); in initMetrics()
1059 int metricIndex = allMetricProducers.size(); in initMetrics()
1071 allMetricProducers.push_back(producer.value()); in initMetrics()
[all …]
Dmetrics_manager_util.h197 std::vector<sp<MetricProducer>>& allMetricProducers);
302 std::vector<sp<MetricProducer>>& allMetricProducers,
327 std::vector<sp<MetricProducer>>& allMetricProducers,
Dconfig_update_utils.cpp968 vector<sp<MetricProducer>>& allMetricProducers, in updateAlerts() argument
1002 allMetricProducers[metricProducerIt->second]->addAnomalyTracker(anomalyTracker, in updateAlerts()
1011 currentTimeNs, metricProducerMap, allMetricProducers); in updateAlerts()
Dconfig_update_utils.h226 std::vector<sp<MetricProducer>>& allMetricProducers,