/frameworks/base/cmds/statsd/src/condition/ |
D | condition_util.cpp | 48 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()
|
D | SimpleConditionTracker.cpp | 83 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 …]
|
D | StateTracker.cpp | 63 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()
|
D | condition_util.h | 31 kFalse = 0, enumerator
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | CombinationConditionTracker_test.cpp | 37 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 …]
|
D | SimpleConditionTracker_test.cpp | 179 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/ |
D | DurationMetricProducer.cpp | 196 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()
|
D | ValueMetricProducer.cpp | 404 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()
|
D | EventMetricProducer.cpp | 136 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
D | GaugeMetricProducer.cpp | 375 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 390 mCondition = overallCondition ? ConditionState::kTrue : ConditionState::kFalse; in onSlicedConditionMayChangeLocked()
|
D | CountMetricProducer.cpp | 253 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | EventMetricProducer_test.cpp | 116 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
|
D | OringDurationTracker_test.cpp | 196 .WillOnce(Return(ConditionState::kFalse)); in TEST() 235 .WillOnce(Return(ConditionState::kFalse)) in TEST() 276 .WillOnce(Return(ConditionState::kFalse)); in TEST()
|
D | ValueMetricProducer_test.cpp | 129 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()
|
D | CountMetricProducer_test.cpp | 190 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
|
D | DurationMetricProducer_test.cpp | 120 durationProducer.mCondition = ConditionState::kFalse; in TEST()
|
/frameworks/base/core/jni/ |
D | android_os_SystemProperties.cpp | 113 case ParseBoolResult::kFalse: in jbooleanFromParseBoolResult()
|