Home
last modified time | relevance | path

Searched refs:ConditionTracker (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/StatsD/statsd/src/condition/
DConditionTracker.h32 class ConditionTracker : public virtual RefBase {
34 ConditionTracker(const int64_t& id, const int index, const uint64_t protoHash) in ConditionTracker() function
43 virtual ~ConditionTracker(){}; in ~ConditionTracker()
58 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
75 const std::vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated()
94 const std::vector<sp<ConditionTracker>>& mAllConditions,
108 const std::vector<sp<ConditionTracker>>& allConditions,
126 const std::vector<sp<ConditionTracker>>& allConditions) const = 0;
128 const std::vector<sp<ConditionTracker>>& allConditions) const = 0;
139 const std::vector<sp<ConditionTracker>>& allConditions) const = 0;
[all …]
DCombinationConditionTracker.h27 class CombinationConditionTracker : public ConditionTracker {
34 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
39 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
45 const std::vector<sp<ConditionTracker>>& mAllConditions,
50 const std::vector<sp<ConditionTracker>>& allConditions,
56 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getChangedToTrueDimensions()
68 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getChangedToFalseDimensions()
85 const std::vector<sp<ConditionTracker>>& allConditions,
89 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getSlicedDimensionMap()
DSimpleConditionTracker.h30 class SimpleConditionTracker : public ConditionTracker {
39 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
44 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
50 const std::vector<sp<ConditionTracker>>& mAllConditions,
55 const std::vector<sp<ConditionTracker>>& allConditions,
60 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToTrueDimensions()
69 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToFalseDimensions()
78 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getSlicedDimensionMap()
87 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions()
DCombinationConditionTracker.cpp30 : ConditionTracker(id, index, protoHash) { in CombinationConditionTracker()
39 const vector<sp<ConditionTracker>>& allConditionTrackers, in init()
128 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated()
131 ConditionTracker::onConfigUpdated(allConditionProtos, index, allConditionTrackers, in onConfigUpdated()
148 const sp<ConditionTracker>& childTracker = allConditionTrackers[childIndex]; in onConfigUpdated()
170 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
187 const std::vector<sp<ConditionTracker>>& mAllConditions, in evaluateCondition()
198 const sp<ConditionTracker>& child = mAllConditions[childIndex]; in evaluateCondition()
231 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions()
238 const sp<ConditionTracker>& slicedChild = allConditions.at(mSlicedChildren.front()); in equalOutputDimensions()
DSimpleConditionTracker.cpp33 : ConditionTracker(id, index, protoHash), in SimpleConditionTracker()
63 const vector<sp<ConditionTracker>>& allConditionTrackers, in init()
78 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated()
81 ConditionTracker::onConfigUpdated(allConditionProtos, index, allConditionTrackers, in onConfigUpdated()
269 const vector<sp<ConditionTracker>>& mAllConditions, in evaluateCondition()
353 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
DConditionWizard.h32 explicit ConditionWizard(std::vector<sp<ConditionTracker>>& conditionTrackers) in ConditionWizard()
62 std::vector<sp<ConditionTracker>> mAllConditions;
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.h52 sp<ConditionTracker> createConditionTracker(
78 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,
260 std::vector<sp<ConditionTracker>>& allConditionTrackers,
300 vector<sp<ConditionTracker>>& allConditionTrackers,
325 std::vector<sp<ConditionTracker>>& allConditionTrackers,
Dconfig_update_utils.h88 const std::vector<sp<ConditionTracker>>& oldConditionTrackers,
112 const std::vector<sp<ConditionTracker>>& oldConditionTrackers,
114 std::vector<sp<ConditionTracker>>& newConditionTrackers,
174 std::vector<sp<ConditionTracker>>& allConditionTrackers,
239 const std::vector<sp<ConditionTracker>>& oldConditionTrackers,
249 std::vector<sp<ConditionTracker>>& newConditionTrackers,
Dmetrics_manager_util.cpp86 sp<ConditionTracker> createConditionTracker( in createConditionTracker()
161 const vector<sp<ConditionTracker>>& allConditionTrackers, int& conditionIndex, in handleMetricWithConditions()
356 vector<sp<ConditionTracker>>& allConditionTrackers, in createCountMetricProducerAndUpdateMetadata()
438 vector<sp<ConditionTracker>>& allConditionTrackers, in createDurationMetricProducerAndUpdateMetadata()
578 vector<sp<ConditionTracker>>& allConditionTrackers, in createEventMetricProducerAndUpdateMetadata()
636 vector<sp<ConditionTracker>>& allConditionTrackers, in createValueMetricProducerAndUpdateMetadata()
739 vector<sp<ConditionTracker>>& allConditionTrackers, in createGaugeMetricProducerAndUpdateMetadata()
917 vector<sp<ConditionTracker>>& allConditionTrackers, in initConditions()
928 sp<ConditionTracker> tracker = in initConditions()
990 vector<sp<ConditionTracker>>& allConditionTrackers, in initMetrics()
[all …]
Dconfig_update_utils.cpp202 const vector<sp<ConditionTracker>>& oldConditionTrackers, in determineConditionUpdateStatus()
302 const vector<sp<ConditionTracker>>& oldConditionTrackers, in updateConditions()
304 vector<sp<ConditionTracker>>& newConditionTrackers, in updateConditions()
356 sp<ConditionTracker> tracker = in updateConditions()
385 const sp<ConditionTracker>& conditionTracker = newConditionTrackers[conditionIndex]; in updateConditions()
610 const vector<sp<ConditionTracker>>& allConditionTrackers, in updateMetric()
648 vector<sp<ConditionTracker>>& allConditionTrackers, in updateMetrics()
1039 const vector<sp<ConditionTracker>>& oldConditionTrackers, in updateStatsdConfig()
1048 vector<sp<ConditionTracker>>& newConditionTrackers, in updateStatsdConfig()
/packages/modules/StatsD/statsd/tests/condition/
DSimpleConditionTracker_test.cpp132 vector<sp<ConditionTracker>> allPredicates; in TEST()
186 vector<sp<ConditionTracker>> allPredicates; in TEST()
248 vector<sp<ConditionTracker>> allPredicates; in TEST()
312 std::vector<sp<ConditionTracker>> allConditions; in TEST()
335 vector<sp<ConditionTracker>> allPredicates; in TEST()
385 std::vector<sp<ConditionTracker>> allConditions; in TEST()
411 vector<sp<ConditionTracker>> allPredicates; in TEST()
507 std::vector<sp<ConditionTracker>> allConditions; in TEST()
538 vector<sp<ConditionTracker>> allPredicates; in TEST()
603 std::vector<sp<ConditionTracker>> allConditions; in TEST()
[all …]
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp390 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
443 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
485 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
520 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
555 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
589 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
623 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
658 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
767 sp<ConditionTracker> tracker = createConditionTracker(key, predicate, index, atomTrackerMap); in TEST()
792 sp<ConditionTracker> tracker = createConditionTracker(key, predicate, index, atomTrackerMap); in TEST()
Dconfig_update_utils_test.cpp67 vector<sp<ConditionTracker>> oldConditionTrackers;
796 vector<sp<ConditionTracker>> newConditionTrackers; in TEST_F()
814 for (const sp<ConditionTracker>& tracker : newConditionTrackers) { in TEST_F()
1767 vector<sp<ConditionTracker>> newConditionTrackers(2); in TEST_F()
1991 vector<sp<ConditionTracker>> newConditionTrackers(1); in TEST_F()
2211 vector<sp<ConditionTracker>> newConditionTrackers(1); in TEST_F()
2506 vector<sp<ConditionTracker>> newConditionTrackers(5); in TEST_F()
2787 vector<sp<ConditionTracker>> newConditionTrackers(2); in TEST_F()
2987 vector<sp<ConditionTracker>> newConditionTrackers; in TEST_F()
3121 vector<sp<ConditionTracker>> newConditionTrackers(1); in TEST_F()
/packages/modules/StatsD/statsd/src/metrics/
DEventMetricProducer.h78 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DMetricProducer.h165 const std::vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated()
247 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DCountMetricProducer.h106 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DDurationMetricProducer.h132 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DGaugeMetricProducer.h151 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DEventMetricProducer.cpp93 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()
DMetricsManager.cpp121 vector<sp<ConditionTracker>> newConditionTrackers; in updateConfig()
629 sp<ConditionTracker>& condition = mAllConditionTrackers[i]; in onLogEvent()
DMetricsManager.h230 std::vector<sp<ConditionTracker>> mAllConditionTrackers;
DValueMetricProducer.h164 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
DMetricProducer.cpp83 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()
DCountMetricProducer.cpp136 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()
DGaugeMetricProducer.cpp165 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()

12