HomeSort by relevance Sort by last modified time
    Searched full:conditiontracker (Results 1 - 21 of 21) sorted by null

  /frameworks/base/cmds/statsd/tests/condition/
SimpleConditionTracker_test.cpp 123 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), 0 /*tracker index*/,
125 EXPECT_FALSE(conditionTracker.isSliced());
133 vector<sp<ConditionTracker>> allPredicates;
137 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache,
150 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache,
163 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache,
175 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache,
189 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache,
197 std::vector<sp<ConditionTracker>> allConditions;
207 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON")
    [all...]
StateTracker_test.cpp 71 vector<sp<ConditionTracker>> allPredicates;
  /frameworks/base/cmds/statsd/src/condition/
ConditionTracker.h 34 class ConditionTracker : public virtual RefBase {
36 ConditionTracker(const int64_t& id, const int index)
44 virtual ~ConditionTracker(){};
48 // Initialize this ConditionTracker. This initialization is done recursively (DFS). It can also
57 const std::vector<sp<ConditionTracker>>& allConditionTrackers,
64 // event before ConditionTrackers, because ConditionTracker depends on
66 // mAllConditions: the list of all ConditionTracker
73 const std::vector<sp<ConditionTracker>>& mAllConditions,
98 const std::vector<sp<ConditionTracker>>& allConditions,
106 const std::vector<sp<ConditionTracker>>& allConditions
    [all...]
CombinationConditionTracker.h 20 #include "ConditionTracker.h"
27 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 {
72 const std::vector<sp<ConditionTracker>>& allConditions) const override {
89 const std::vector<sp<ConditionTracker>>& allConditions,
93 const std::vector<sp<ConditionTracker>>& allConditions
    [all...]
SimpleConditionTracker.h 21 #include "ConditionTracker.h"
30 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 {
73 const std::vector<sp<ConditionTracker>>& allConditions) const {
82 const std::vector<sp<ConditionTracker>>& allConditions,
96 const std::vector<sp<ConditionTracker>>& allConditions
    [all...]
StateTracker.h 19 #include "ConditionTracker.h"
28 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 {
81 const std::vector<sp<ConditionTracker>>& allConditions) const {
90 const std::vector<sp<ConditionTracker>>& allConditions,
96 const std::vector<sp<ConditionTracker>>& allConditions
    [all...]
ConditionWizard.h 20 #include "ConditionTracker.h"
32 ConditionWizard(std::vector<sp<ConditionTracker>>& conditionTrackers)
37 // Query condition state, for a ConditionTracker at [conditionIndex], with [conditionParameters]
40 // The ConditionTracker at [conditionIndex] can be a CombinationConditionTracker. In this case,
70 std::vector<sp<ConditionTracker>> mAllConditions;
CombinationConditionTracker.cpp 34 : ConditionTracker(id, index) {
43 const vector<sp<ConditionTracker>>& allConditionTrackers,
112 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions,
135 const std::vector<sp<ConditionTracker>>& mAllConditions,
146 const sp<ConditionTracker>& child = mAllConditions[childIndex];
182 const std::vector<sp<ConditionTracker>>& allConditions,
201 const std::vector<sp<ConditionTracker>>& allConditions,
208 const sp<ConditionTracker>& slicedChild = allConditions.at(mSlicedChildren.front());
StateTracker.cpp 34 : ConditionTracker(id, index), mConfigKey(key), mPrimaryKeys(primaryKeys) {
77 const vector<sp<ConditionTracker>>& allConditionTrackers,
119 const vector<sp<ConditionTracker>>& mAllConditions,
180 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions,
216 const std::vector<sp<ConditionTracker>>& allConditions,
condition_util.cpp 27 #include "ConditionTracker.h"
SimpleConditionTracker.cpp 37 : ConditionTracker(id, index), mConfigKey(key), mContainANYPositionInInternalDimensions(false) {
106 const vector<sp<ConditionTracker>>& allConditionTrackers,
257 const vector<sp<ConditionTracker>>& mAllConditions,
346 const ConditionKey& conditionParameters, const vector<sp<ConditionTracker>>& allConditions,
427 const std::vector<sp<ConditionTracker>>& allConditions,
  /frameworks/base/cmds/statsd/tests/
MetricsManager_test.cpp 17 #include "src/condition/ConditionTracker.h"
279 vector<sp<ConditionTracker>> allConditionTrackers;
307 vector<sp<ConditionTracker>> allConditionTrackers;
332 vector<sp<ConditionTracker>> allConditionTrackers;
357 vector<sp<ConditionTracker>> allConditionTrackers;
381 vector<sp<ConditionTracker>> allConditionTrackers;
405 vector<sp<ConditionTracker>> allConditionTrackers;
430 vector<sp<ConditionTracker>> allConditionTrackers;
  /frameworks/base/cmds/statsd/src/metrics/
metrics_manager_util.h 25 #include "../condition/ConditionTracker.h"
67 std::vector<sp<ConditionTracker>>& allConditionTrackers,
91 vector<sp<ConditionTracker>>& allConditionTrackers,
105 std::vector<sp<ConditionTracker>>& allConditionTrackers,
MetricsManager.h 22 #include "condition/ConditionTracker.h"
152 // We only store the sp of LogMatchingTracker, MetricProducer, and ConditionTracker in
163 std::vector<sp<ConditionTracker>> mAllConditionTrackers;
190 // maps from LogMatchingTracker to ConditionTracker
193 // maps from ConditionTracker to MetricProducer
EventMetricProducer.h 24 #include "../condition/ConditionTracker.h"
metrics_manager_util.cpp 90 vector<sp<ConditionTracker>>& allConditionTrackers, int& conditionIndex,
209 vector<sp<ConditionTracker>>& allConditionTrackers,
252 auto& conditionTracker = allConditionTrackers[i];
253 if (!conditionTracker->init(conditionConfigs, allConditionTrackers, conditionTrackerMap,
257 for (const int trackerIndex : conditionTracker->getLogTrackerIndex()) {
270 vector<sp<ConditionTracker>>& allConditionTrackers,
653 vector<sp<ConditionTracker>>& allConditionTrackers,
CountMetricProducer.h 25 #include "../condition/ConditionTracker.h"
DurationMetricProducer.h 24 #include "../condition/ConditionTracker.h"
GaugeMetricProducer.h 23 #include "../condition/ConditionTracker.h"
ValueMetricProducer.h 23 #include "../condition/ConditionTracker.h"
MetricsManager.cpp 313 // A bitmap to see which ConditionTracker needs to be re-evaluated.
333 sp<ConditionTracker>& condition = mAllConditionTrackers[i];

Completed in 2181 milliseconds