Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/condition/
DCombinationConditionTracker_test.cpp38 conditionResults.push_back(ConditionState::kFalse); in TEST()
56 conditionResults.push_back(ConditionState::kFalse); in TEST()
80 conditionResults.push_back(ConditionState::kFalse); in TEST()
86 conditionResults.push_back(ConditionState::kFalse); in TEST()
87 conditionResults.push_back(ConditionState::kFalse); in TEST()
88 conditionResults.push_back(ConditionState::kFalse); in TEST()
106 conditionResults.push_back(ConditionState::kFalse); in TEST()
125 conditionResults.push_back(ConditionState::kFalse); in TEST()
130 conditionResults.push_back(ConditionState::kFalse); in TEST()
131 conditionResults.push_back(ConditionState::kFalse); in TEST()
[all …]
DSimpleConditionTracker_test.cpp137 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
152 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
206 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
294 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
307 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
380 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
501 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
599 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
726 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
732 EXPECT_EQ(ConditionState::kFalse, conditionCache[0]); in TEST()
/packages/modules/StatsD/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.cpp50 mInitialValue = ConditionState::kFalse; in SimpleConditionTracker()
150 (mInitialValue == ConditionState::kFalse && mSlicedConditionState.empty()) ? false in handleStopAll()
160 mInitialValue = ConditionState::kFalse; in handleStopAll()
162 conditionCache[mIndex] = ConditionState::kFalse; in handleStopAll()
198 newCondition = matchStart ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
203 } else if (mInitialValue != ConditionState::kFalse) { in handleConditionEvent()
214 newCondition = startedCount > 0 ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent()
232 newCondition = ConditionState::kFalse; in handleConditionEvent()
237 newCondition = ConditionState::kFalse; in handleConditionEvent()
247 if (mInitialValue == ConditionState::kFalse && startedCount == 0) { in handleConditionEvent()
[all …]
Dcondition_util.h31 kFalse = 0, enumerator
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp423 EXPECT_EQ(ConditionState::kFalse, conditionCache[1]); in TEST()
424 EXPECT_EQ(ConditionState::kFalse, conditionCache[2]); in TEST()
425 EXPECT_EQ(ConditionState::kFalse, conditionCache[3]); in TEST()
428 EXPECT_EQ(ConditionState::kFalse, allMetricProducers[0]->mCondition); in TEST()
430 EXPECT_EQ(ConditionState::kFalse, allMetricProducers[2]->mCondition); in TEST()
Dconfig_update_utils_test.cpp755 EXPECT_EQ(tmpConditionCache[0], ConditionState::kFalse); in TEST_F()
852 EXPECT_EQ(conditionCache[simple1Index], ConditionState::kFalse); in TEST_F()
/packages/modules/StatsD/statsd/tests/metrics/
DValueMetricProducer_test.cpp634 ConditionState::kFalse); in TEST()
849 ConditionState::kFalse); in TEST_P()
927 valueProducer.mCondition = ConditionState::kFalse; in TEST()
1079 ConditionState::kFalse); in TEST()
1195 ConditionState::kFalse); in TEST()
1268 ConditionState::kFalse); in TEST()
1967 ConditionState::kFalse); in TEST()
2004 ConditionState::kFalse); in TEST()
2050 ConditionState::kFalse); in TEST()
2086 ConditionState::kFalse); in TEST()
[all …]
DOringDurationTracker_test.cpp189 .WillOnce(Return(ConditionState::kFalse)); in TEST()
227 .WillOnce(Return(ConditionState::kFalse)) in TEST()
267 .WillOnce(Return(ConditionState::kFalse)); in TEST()
DEventMetricProducer_test.cpp158 EXPECT_CALL(*wizard, query(_, key1, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
DCountMetricProducer_test.cpp225 EXPECT_CALL(*wizard, query(_, key1, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
DDurationMetricProducer_test.cpp151 durationProducer.mCondition = ConditionState::kFalse; in TEST()
/packages/modules/StatsD/statsd/src/metrics/
DDurationMetricProducer.cpp359 if (mUnSlicedPartCondition == ConditionState::kFalse && in onSlicedConditionMayChangeLocked_opt1()
360 unslicedPartState == ConditionState::kFalse) { in onSlicedConditionMayChangeLocked_opt1()
465 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
DGaugeMetricProducer.cpp422 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
437 mCondition = overallCondition ? ConditionState::kTrue : ConditionState::kFalse; in onSlicedConditionMayChangeLocked()
DEventMetricProducer.cpp186 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
DValueMetricProducer.cpp513 ConditionState newCondition = condition ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
565 (mCondition == ConditionState::kTrue && newCondition == ConditionState::kFalse)) { in onConditionChangedLocked()
DCountMetricProducer.cpp301 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
/packages/modules/StatsD/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp193 EXPECT_EQ(ConditionState::kFalse, metricProducer1->mCondition); in TEST()
194 EXPECT_EQ(ConditionState::kFalse, metricProducer2->mCondition); in TEST()
199 EXPECT_EQ(ConditionState::kFalse, metricProducer1->mCondition); in TEST()
DCountMetric_e2e_test.cpp106 EXPECT_EQ(ConditionState::kFalse, metricProducer1->mCondition); in TEST()
107 EXPECT_EQ(ConditionState::kFalse, metricProducer2->mCondition); in TEST()
/packages/modules/adb/client/
Dadb_install.cpp390 if (val == ParseBoolResult::kFalse) { in calculate_install_mode()
410 if (val == ParseBoolResult::kFalse) { in calculate_install_mode()