Home
last modified time | relevance | path

Searched refs:conditionTracker (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp123 …SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), 0 /*tracker index*… in TEST() local
125 EXPECT_FALSE(conditionTracker.isSliced()); in TEST()
137 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, in TEST()
150 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, in TEST()
163 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, in TEST()
175 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, in TEST()
189 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, in TEST()
207 SimpleConditionTracker conditionTracker(kConfigKey, StringToId("SCREEN_IS_ON"), in TEST() local
210 EXPECT_FALSE(conditionTracker.isSliced()); in TEST()
222 conditionTracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, in TEST()
[all …]
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp274 auto& conditionTracker = allConditionTrackers[i]; in initConditions() local
275 if (!conditionTracker->init(conditionConfigs, allConditionTrackers, conditionTrackerMap, in initConditions()
279 for (const int trackerIndex : conditionTracker->getLogTrackerIndex()) { in initConditions()