Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/condition/
DSimpleConditionTracker.cpp214 auto& startedCount = outputIt->second; in handleConditionEvent() local
216 newCondition = startedCount > 0 ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
218 if (startedCount == 0) { in handleConditionEvent()
226 startedCount++; in handleConditionEvent()
230 if (startedCount > 0) { in handleConditionEvent()
232 startedCount--; in handleConditionEvent()
233 if (startedCount == 0) { in handleConditionEvent()
238 startedCount = 0; in handleConditionEvent()
242 if (startedCount == 0) { in handleConditionEvent()
249 if (mInitialValue == ConditionState::kFalse && startedCount == 0) { in handleConditionEvent()