Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/condition/
DConditionTracker.h32 class ConditionTracker : public virtual RefBase {
34 ConditionTracker(const int64_t& id, const int index) in ConditionTracker() function
42 virtual ~ConditionTracker(){}; in ~ConditionTracker()
55 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
71 const std::vector<sp<ConditionTracker>>& mAllConditions,
96 const std::vector<sp<ConditionTracker>>& allConditions,
104 const std::vector<sp<ConditionTracker>>& allConditions,
123 const std::vector<sp<ConditionTracker>>& allConditions) const = 0;
125 const std::vector<sp<ConditionTracker>>& allConditions) const = 0;
132 const std::vector<sp<ConditionTracker>>& allConditions,
[all …]
DCombinationConditionTracker.h27 class CombinationConditionTracker : public virtual ConditionTracker {
34 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
40 const std::vector<sp<ConditionTracker>>& mAllConditions,
45 const std::vector<sp<ConditionTracker>>& allConditions,
53 const std::vector<sp<ConditionTracker>>& allConditions,
60 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getChangedToTrueDimensions()
72 const std::vector<sp<ConditionTracker>>& allConditions) const override { in getChangedToFalseDimensions()
89 const std::vector<sp<ConditionTracker>>& allConditions,
93 const std::vector<sp<ConditionTracker>>& allConditions, in getTrueSlicedDimensions()
DStateTracker.h28 class StateTracker : public virtual ConditionTracker {
38 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
44 const std::vector<sp<ConditionTracker>>& mAllConditions,
57 const std::vector<sp<ConditionTracker>>& allConditions,
70 const std::vector<sp<ConditionTracker>>& allConditions,
76 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToTrueDimensions()
81 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToFalseDimensions()
90 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions()
96 const std::vector<sp<ConditionTracker>>& allConditions, in getTrueSlicedDimensions()
DSimpleConditionTracker.h30 class SimpleConditionTracker : public virtual ConditionTracker {
39 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
45 const std::vector<sp<ConditionTracker>>& mAllConditions,
50 const std::vector<sp<ConditionTracker>>& allConditions,
58 const std::vector<sp<ConditionTracker>>& allConditions,
64 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToTrueDimensions()
73 const std::vector<sp<ConditionTracker>>& allConditions) const { in getChangedToFalseDimensions()
82 const std::vector<sp<ConditionTracker>>& allConditions, in getTrueSlicedDimensions()
96 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions()
DCombinationConditionTracker.cpp29 : ConditionTracker(id, index) { in CombinationConditionTracker()
38 const vector<sp<ConditionTracker>>& allConditionTrackers, in init()
107 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
130 const std::vector<sp<ConditionTracker>>& mAllConditions, in evaluateCondition()
141 const sp<ConditionTracker>& child = mAllConditions[childIndex]; in evaluateCondition()
177 const std::vector<sp<ConditionTracker>>& allConditions, in getMetConditionDimension()
196 const std::vector<sp<ConditionTracker>>& allConditions, in equalOutputDimensions()
203 const sp<ConditionTracker>& slicedChild = allConditions.at(mSlicedChildren.front()); in equalOutputDimensions()
DStateTracker.cpp34 : ConditionTracker(id, index), mConfigKey(key), mPrimaryKeys(primaryKeys) { in StateTracker()
77 const vector<sp<ConditionTracker>>& allConditionTrackers, in init()
119 const vector<sp<ConditionTracker>>& mAllConditions, in evaluateCondition()
180 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
216 const std::vector<sp<ConditionTracker>>& allConditions, in getMetConditionDimension()
DConditionWizard.h32 explicit ConditionWizard(std::vector<sp<ConditionTracker>>& conditionTrackers) in ConditionWizard()
70 std::vector<sp<ConditionTracker>> mAllConditions;
DSimpleConditionTracker.cpp33 : ConditionTracker(id, index), mConfigKey(key), mContainANYPositionInInternalDimensions(false) { in SimpleConditionTracker()
102 const vector<sp<ConditionTracker>>& allConditionTrackers, in init()
253 const vector<sp<ConditionTracker>>& mAllConditions, in evaluateCondition()
342 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions, in isConditionMet()
423 const std::vector<sp<ConditionTracker>>& allConditions, in getMetConditionDimension()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.h66 std::vector<sp<ConditionTracker>>& allConditionTrackers,
89 vector<sp<ConditionTracker>>& allConditionTrackers,
103 std::vector<sp<ConditionTracker>>& allConditionTrackers,
Dmetrics_manager_util.cpp114 vector<sp<ConditionTracker>>& allConditionTrackers, int& conditionIndex, in handleMetricWithConditions()
231 vector<sp<ConditionTracker>>& allConditionTrackers, in initConditions()
293 vector<sp<ConditionTracker>>& allConditionTrackers, in initMetrics()
779 vector<sp<ConditionTracker>>& allConditionTrackers, in initStatsdConfig()
DMetricsManager.h194 std::vector<sp<ConditionTracker>> mAllConditionTrackers;
DMetricsManager.cpp451 sp<ConditionTracker>& condition = mAllConditionTrackers[i]; in onLogEvent()
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp133 vector<sp<ConditionTracker>> allPredicates; in TEST()
197 std::vector<sp<ConditionTracker>> allConditions; in TEST()
218 vector<sp<ConditionTracker>> allPredicates; in TEST()
268 std::vector<sp<ConditionTracker>> allConditions; in TEST()
298 vector<sp<ConditionTracker>> allPredicates; in TEST()
401 std::vector<sp<ConditionTracker>> allConditions; in TEST()
434 vector<sp<ConditionTracker>> allPredicates; in TEST()
500 std::vector<sp<ConditionTracker>> allConditions; in TEST()
530 vector<sp<ConditionTracker>> allPredicates; in TEST()
DStateTracker_test.cpp71 vector<sp<ConditionTracker>> allPredicates; in TEST()
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp278 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
310 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
339 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
368 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
396 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
424 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()
453 vector<sp<ConditionTracker>> allConditionTrackers; in TEST()