Home
last modified time | relevance | path

Searched refs:changedCache (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp135 vector<bool> changedCache(1, false); in TEST() local
138 changedCache); in TEST()
141 EXPECT_FALSE(changedCache[0]); in TEST()
148 changedCache[0] = false; in TEST()
151 changedCache); in TEST()
154 EXPECT_TRUE(changedCache[0]); in TEST()
161 changedCache[0] = false; in TEST()
164 changedCache); in TEST()
166 EXPECT_FALSE(changedCache[0]); in TEST()
173 changedCache[0] = false; in TEST()
[all …]
DStateTracker_test.cpp73 vector<bool> changedCache(1, false); in TEST() local
75 tracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, changedCache); in TEST()
78 EXPECT_TRUE(changedCache[0]); in TEST()
80 changedCache[0] = false; in TEST()
82 tracker.evaluateCondition(event, matcherState, allPredicates, conditionCache, changedCache); in TEST()
85 EXPECT_FALSE(changedCache[0]); in TEST()
90 changedCache[0] = false; in TEST()
92 tracker.evaluateCondition(event2, matcherState, allPredicates, conditionCache, changedCache); in TEST()
95 EXPECT_TRUE(changedCache[0]); in TEST()
99 changedCache[0] = false; in TEST()
[all …]
/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.h47 std::vector<bool>& changedCache) override;
129 std::vector<bool>& changedCache);
132 ConditionState* conditionCache, bool* changedCache);
DCombinationConditionTracker.h42 std::vector<bool>& changedCache) override;
DStateTracker.h46 std::vector<bool>& changedCache) override;
/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp446 vector<bool> changedCache(mAllConditionTrackers.size(), false); in onLogEvent() local
453 changedCache); in onLogEvent()
457 if (changedCache[i] == false) { in onLogEvent()