Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.cpp196 auto& startedCount = outputIt->second; in handleConditionEvent() local
198 newCondition = startedCount > 0 ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
200 if (startedCount == 0) { in handleConditionEvent()
208 startedCount++; in handleConditionEvent()
212 if (startedCount > 0) { in handleConditionEvent()
214 startedCount--; in handleConditionEvent()
215 if (startedCount == 0) { in handleConditionEvent()
220 startedCount = 0; in handleConditionEvent()
224 if (startedCount == 0) { in handleConditionEvent()
231 if (mInitialValue == ConditionState::kFalse && startedCount == 0) { in handleConditionEvent()