/packages/modules/StatsD/statsd/src/condition/ |
D | ConditionTracker.h | 32 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 …]
|
D | CombinationConditionTracker.h | 27 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()
|
D | SimpleConditionTracker.h | 30 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()
|
D | CombinationConditionTracker.cpp | 30 : 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()
|
D | SimpleConditionTracker.cpp | 33 : 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()
|
D | ConditionWizard.h | 32 explicit ConditionWizard(std::vector<sp<ConditionTracker>>& conditionTrackers) in ConditionWizard() 62 std::vector<sp<ConditionTracker>> mAllConditions;
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.h | 52 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,
|
D | config_update_utils.h | 88 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,
|
D | metrics_manager_util.cpp | 86 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 …]
|
D | config_update_utils.cpp | 202 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/ |
D | SimpleConditionTracker_test.cpp | 132 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/ |
D | metrics_manager_util_test.cpp | 390 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()
|
D | config_update_utils_test.cpp | 67 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/ |
D | EventMetricProducer.h | 78 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
|
D | MetricProducer.h | 165 const std::vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdated() 247 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
|
D | CountMetricProducer.h | 106 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
|
D | DurationMetricProducer.h | 132 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
|
D | GaugeMetricProducer.h | 151 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
|
D | EventMetricProducer.cpp | 93 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()
|
D | MetricsManager.cpp | 121 vector<sp<ConditionTracker>> newConditionTrackers; in updateConfig() 629 sp<ConditionTracker>& condition = mAllConditionTrackers[i]; in onLogEvent()
|
D | MetricsManager.h | 230 std::vector<sp<ConditionTracker>> mAllConditionTrackers;
|
D | ValueMetricProducer.h | 164 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
|
D | MetricProducer.cpp | 83 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()
|
D | CountMetricProducer.cpp | 136 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()
|
D | GaugeMetricProducer.cpp | 165 const vector<sp<ConditionTracker>>& allConditionTrackers, in onConfigUpdatedLocked()
|