Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/condition/
Dcondition_util.cpp48 if (childState == ConditionState::kFalse) { in evaluateCombinationCondition()
63 newCondition = hasFalse ? ConditionState::kFalse : ConditionState::kTrue; in evaluateCombinationCondition()
67 newCondition = hasTrue ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCombinationCondition()
72 ((conditionCache[children[0]] == ConditionState::kFalse) ? in evaluateCombinationCondition()
73 ConditionState::kTrue : ConditionState::kFalse); in evaluateCombinationCondition()
76 newCondition = hasFalse ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCombinationCondition()
79 newCondition = hasTrue ? ConditionState::kFalse : ConditionState::kTrue; in evaluateCombinationCondition()
82 newCondition = ConditionState::kFalse; in evaluateCombinationCondition()
DSimpleConditionTracker.cpp83 mInitialValue = ConditionState::kFalse; in SimpleConditionTracker()
131 (mInitialValue == ConditionState::kFalse && mSlicedConditionState.empty()) ? false in handleStopAll()
141 mInitialValue = ConditionState::kFalse; in handleStopAll()
143 conditionCache[mIndex] = ConditionState::kFalse; in handleStopAll()
145 mUnSlicedPart = ConditionState::kFalse; in handleStopAll()
182 newCondition = matchStart ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
187 } else if (mInitialValue != ConditionState::kFalse) { in handleConditionEvent()
198 newCondition = startedCount > 0 ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
216 newCondition = ConditionState::kFalse; in handleConditionEvent()
221 newCondition = ConditionState::kFalse; in handleConditionEvent()
[all …]
DStateTracker.cpp63 mInitialValue = ConditionState::kFalse; in StateTracker()
133 mSlicedState.size() > 0 ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCondition()
148 mSlicedState.size() > 0 ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCondition()
Dcondition_util.h31 kFalse = 0, enumerator
/frameworks/base/cmds/statsd/tests/condition/
DCombinationConditionTracker_test.cpp37 conditionResults.push_back(ConditionState::kFalse); in TEST()
55 conditionResults.push_back(ConditionState::kFalse); in TEST()
79 conditionResults.push_back(ConditionState::kFalse); in TEST()
85 conditionResults.push_back(ConditionState::kFalse); in TEST()
86 conditionResults.push_back(ConditionState::kFalse); in TEST()
87 conditionResults.push_back(ConditionState::kFalse); in TEST()
105 conditionResults.push_back(ConditionState::kFalse); in TEST()
124 conditionResults.push_back(ConditionState::kFalse); in TEST()
129 conditionResults.push_back(ConditionState::kFalse); in TEST()
130 conditionResults.push_back(ConditionState::kFalse); in TEST()
[all …]
DSimpleConditionTracker_test.cpp179 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
192 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
263 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
395 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
496 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
634 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
642 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.cpp196 if (mUnSlicedPartCondition == ConditionState::kFalse && in onSlicedConditionMayChangeLocked_opt1()
197 unslicedPartState == ConditionState::kFalse) { in onSlicedConditionMayChangeLocked_opt1()
270 if (mUnSlicedPartCondition == ConditionState::kFalse && in onSlicedConditionMayChangeLocked_opt2()
271 unslicedPartState == ConditionState::kFalse) { in onSlicedConditionMayChangeLocked_opt2()
475 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
DValueMetricProducer.cpp404 ConditionState newCondition = condition ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
425 (mCondition == ConditionState::kTrue && newCondition == ConditionState::kFalse) in onConditionChangedLocked()
426 || (mCondition == ConditionState::kFalse && in onConditionChangedLocked()
442 && newCondition == ConditionState::kFalse) { in onConditionChangedLocked()
DEventMetricProducer.cpp136 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
DGaugeMetricProducer.cpp375 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
390 mCondition = overallCondition ? ConditionState::kTrue : ConditionState::kFalse; in onSlicedConditionMayChangeLocked()
DCountMetricProducer.cpp253 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
/frameworks/base/cmds/statsd/tests/metrics/
DEventMetricProducer_test.cpp116 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
DOringDurationTracker_test.cpp196 .WillOnce(Return(ConditionState::kFalse)); in TEST()
235 .WillOnce(Return(ConditionState::kFalse)) in TEST()
276 .WillOnce(Return(ConditionState::kFalse)); in TEST()
DValueMetricProducer_test.cpp129 valueProducer->mCondition = ConditionState::kFalse; in createValueProducerWithCondition()
901 valueProducer.mCondition = ConditionState::kFalse; in TEST()
2060 valueProducer->mCondition = ConditionState::kFalse; in TEST()
2085 valueProducer.mCondition = ConditionState::kFalse; in TEST()
2111 valueProducer->mCondition = ConditionState::kFalse; in TEST()
2207 valueProducer->mCondition = ConditionState::kFalse; in TEST()
3024 valueProducer->mCondition = ConditionState::kFalse; in TEST()
3063 valueProducer->mCondition = ConditionState::kFalse; in TEST()
3086 valueProducer->mCondition = ConditionState::kFalse; in TEST()
3113 valueProducer->mCondition = ConditionState::kFalse; in TEST()
DCountMetricProducer_test.cpp190 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
DDurationMetricProducer_test.cpp120 durationProducer.mCondition = ConditionState::kFalse; in TEST()
/frameworks/base/core/jni/
Dandroid_os_SystemProperties.cpp113 case ParseBoolResult::kFalse: in jbooleanFromParseBoolResult()