/packages/modules/StatsD/statsd/tests/condition/ |
D | CombinationConditionTracker_test.cpp | 38 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 …]
|
D | SimpleConditionTracker_test.cpp | 137 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/ |
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 | 50 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 …]
|
D | condition_util.h | 31 kFalse = 0, enumerator
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 423 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()
|
D | config_update_utils_test.cpp | 755 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/ |
D | ValueMetricProducer_test.cpp | 634 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 …]
|
D | OringDurationTracker_test.cpp | 189 .WillOnce(Return(ConditionState::kFalse)); in TEST() 227 .WillOnce(Return(ConditionState::kFalse)) in TEST() 267 .WillOnce(Return(ConditionState::kFalse)); in TEST()
|
D | EventMetricProducer_test.cpp | 158 EXPECT_CALL(*wizard, query(_, key1, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
|
D | CountMetricProducer_test.cpp | 225 EXPECT_CALL(*wizard, query(_, key1, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
|
D | DurationMetricProducer_test.cpp | 151 durationProducer.mCondition = ConditionState::kFalse; in TEST()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 359 if (mUnSlicedPartCondition == ConditionState::kFalse && in onSlicedConditionMayChangeLocked_opt1() 360 unslicedPartState == ConditionState::kFalse) { in onSlicedConditionMayChangeLocked_opt1() 465 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
D | GaugeMetricProducer.cpp | 422 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 437 mCondition = overallCondition ? ConditionState::kTrue : ConditionState::kFalse; in onSlicedConditionMayChangeLocked()
|
D | EventMetricProducer.cpp | 186 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
D | ValueMetricProducer.cpp | 513 ConditionState newCondition = condition ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 565 (mCondition == ConditionState::kTrue && newCondition == ConditionState::kFalse)) { in onConditionChangedLocked()
|
D | CountMetricProducer.cpp | 301 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | ValueMetric_pull_e2e_test.cpp | 193 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()
|
D | CountMetric_e2e_test.cpp | 106 EXPECT_EQ(ConditionState::kFalse, metricProducer1->mCondition); in TEST() 107 EXPECT_EQ(ConditionState::kFalse, metricProducer2->mCondition); in TEST()
|
/packages/modules/adb/client/ |
D | adb_install.cpp | 390 if (val == ParseBoolResult::kFalse) { in calculate_install_mode() 410 if (val == ParseBoolResult::kFalse) { in calculate_install_mode()
|