Home
last modified time | relevance | path

Searched refs:allConditionTrackers (Results 1 – 22 of 22) sorted by relevance

/packages/modules/StatsD/statsd/src/condition/
DCombinationConditionTracker.cpp39 const vector<sp<ConditionTracker>>& allConditionTrackers, in init() argument
53 allConditionTrackers[childIndex]->init(allConditionConfig, allConditionTrackers, in init()
85 const auto& childTracker = allConditionTrackers[childIndex]; in init()
92 bool initChildSucceeded = childTracker->init(allConditionConfig, allConditionTrackers, in init()
102 if (allConditionTrackers[childIndex]->isSliced()) { in init()
128 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated() argument
131 ConditionTracker::onConfigUpdated(allConditionProtos, index, allConditionTrackers, in onConfigUpdated()
148 const sp<ConditionTracker>& childTracker = allConditionTrackers[childIndex]; in onConfigUpdated()
151 if (!childTracker->onConfigUpdated(allConditionProtos, childIndex, allConditionTrackers, in onConfigUpdated()
157 if (allConditionTrackers[childIndex]->isSliced()) { in onConfigUpdated()
DSimpleConditionTracker.cpp60 const vector<sp<ConditionTracker>>& allConditionTrackers, in init() argument
69 isConditionMet(conditionKey, allConditionTrackers, mSliced, conditionCache); in init()
75 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated() argument
78 ConditionTracker::onConfigUpdated(allConditionProtos, index, allConditionTrackers, in onConfigUpdated()
DConditionTracker.h58 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
75 const std::vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated() argument
DCombinationConditionTracker.h34 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
39 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DSimpleConditionTracker.h39 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
44 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp163 const vector<sp<ConditionTracker>>& allConditionTrackers, int& conditionIndex, in handleMetricWithConditions() argument
358 vector<sp<ConditionTracker>>& allConditionTrackers, in createCountMetricProducerAndUpdateMetadata() argument
384 metric.links(), allConditionTrackers, conditionIndex, in createCountMetricProducerAndUpdateMetadata()
440 vector<sp<ConditionTracker>>& allConditionTrackers, in createDurationMetricProducerAndUpdateMetadata() argument
501 metric.links(), allConditionTrackers, conditionIndex, in createDurationMetricProducerAndUpdateMetadata()
580 vector<sp<ConditionTracker>>& allConditionTrackers, in createEventMetricProducerAndUpdateMetadata() argument
603 metric.links(), allConditionTrackers, conditionIndex, in createEventMetricProducerAndUpdateMetadata()
638 vector<sp<ConditionTracker>>& allConditionTrackers, in createNumericValueMetricProducerAndUpdateMetadata() argument
685 metric.links(), allConditionTrackers, conditionIndex, in createNumericValueMetricProducerAndUpdateMetadata()
764 vector<sp<ConditionTracker>>& allConditionTrackers, in createKllMetricProducerAndUpdateMetadata() argument
[all …]
Dmetrics_manager_util.h78 const std::vector<sp<ConditionTracker>>& allConditionTrackers, int& conditionIndex,
103 std::vector<sp<ConditionTracker>>& allConditionTrackers,
122 std::vector<sp<ConditionTracker>>& allConditionTrackers,
141 std::vector<sp<ConditionTracker>>& allConditionTrackers,
159 std::vector<sp<ConditionTracker>>& allConditionTrackers,
180 std::vector<sp<ConditionTracker>>& allConditionTrackers,
199 vector<sp<ConditionTracker>>& allConditionTrackers,
281 std::vector<sp<ConditionTracker>>& allConditionTrackers,
321 vector<sp<ConditionTracker>>& allConditionTrackers,
346 std::vector<sp<ConditionTracker>>& allConditionTrackers,
Dconfig_update_utils.cpp627 const vector<sp<ConditionTracker>>& allConditionTrackers, in updateMetric() argument
648 matcherWizard, allConditionTrackers, conditionTrackerMap, wizard, in updateMetric()
665 vector<sp<ConditionTracker>>& allConditionTrackers, in updateMetrics() argument
680 sp<ConditionWizard> wizard = new ConditionWizard(allConditionTrackers); in updateMetrics()
718 allConditionTrackers, conditionTrackerMap, wizard, oldMetricProducerMap, in updateMetrics()
730 allAtomMatchingTrackers, newAtomMatchingTrackerMap, allConditionTrackers, in updateMetrics()
757 allConditionTrackers, conditionTrackerMap, wizard, oldMetricProducerMap, in updateMetrics()
769 allAtomMatchingTrackers, newAtomMatchingTrackerMap, allConditionTrackers, in updateMetrics()
796 allConditionTrackers, conditionTrackerMap, wizard, oldMetricProducerMap, in updateMetrics()
808 newAtomMatchingTrackerMap, allConditionTrackers, conditionTrackerMap, in updateMetrics()
[all …]
Dconfig_update_utils.h174 std::vector<sp<ConditionTracker>>& allConditionTrackers,
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp390 vector<sp<ConditionTracker>> allConditionTrackers; in TEST() local
409 allConditionTrackers, conditionTrackerMap, allMetricProducers, metricProducerMap, in TEST()
415 ASSERT_EQ(5u, allConditionTrackers.size()); in TEST()
420 allConditionTrackers[3]->isConditionMet(queryKey, allConditionTrackers, false, conditionCache); in TEST()
421 allConditionTrackers[4]->isConditionMet(queryKey, allConditionTrackers, false, conditionCache); in TEST()
443 vector<sp<ConditionTracker>> allConditionTrackers; in TEST() local
462 allConditionTrackers, conditionTrackerMap, allMetricProducers, metricProducerMap, in TEST()
485 vector<sp<ConditionTracker>> allConditionTrackers; in TEST() local
504 allConditionTrackers, conditionTrackerMap, allMetricProducers, metricProducerMap, in TEST()
520 vector<sp<ConditionTracker>> allConditionTrackers; in TEST() local
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DEventMetricProducer.cpp95 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked() argument
106 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
123 metric.links(), allConditionTrackers, mConditionTrackerIndex, in onConfigUpdatedLocked()
DCountMetricProducer.cpp136 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked() argument
147 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
164 metric.links(), allConditionTrackers, mConditionTrackerIndex, in onConfigUpdatedLocked()
DMetricProducer.h175 const std::vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated() argument
187 matcherWizard, allConditionTrackers, conditionTrackerMap, in onConfigUpdated()
262 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DGaugeMetricProducer.cpp161 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked() argument
172 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
198 metric.links(), allConditionTrackers, mConditionTrackerIndex, in onConfigUpdatedLocked()
DDurationMetricProducer.cpp175 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked() argument
186 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
235 metric.links(), allConditionTrackers, mConditionTrackerIndex, in onConfigUpdatedLocked()
DEventMetricProducer.h79 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DValueMetricProducer.cpp186 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked() argument
197 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
215 conditionLinks, allConditionTrackers, mConditionTrackerIndex, in onConfigUpdatedLocked()
DCountMetricProducer.h106 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DDurationMetricProducer.h132 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DGaugeMetricProducer.h151 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DValueMetricProducer.h219 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DMetricProducer.cpp85 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked() argument