/frameworks/base/cmds/statsd/tests/condition/ |
D | CombinationConditionTracker_test.cpp | 39 conditionResults.push_back(ConditionState::kTrue); in TEST() 55 conditionResults.push_back(ConditionState::kTrue); in TEST() 57 conditionResults.push_back(ConditionState::kTrue); in TEST() 62 conditionResults.push_back(ConditionState::kTrue); in TEST() 63 conditionResults.push_back(ConditionState::kTrue); in TEST() 64 conditionResults.push_back(ConditionState::kTrue); in TEST() 79 conditionResults.push_back(ConditionState::kTrue); in TEST() 81 conditionResults.push_back(ConditionState::kTrue); in TEST() 101 conditionResults.push_back(ConditionState::kTrue); in TEST() 124 conditionResults.push_back(ConditionState::kTrue); in TEST() [all …]
|
D | SimpleConditionTracker_test.cpp | 165 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 219 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 266 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 278 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 340 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 353 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 366 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 435 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 551 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 656 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/condition/ |
D | condition_util.cpp | 51 if (childState == ConditionState::kTrue) { in evaluateCombinationCondition() 63 newCondition = hasFalse ? ConditionState::kFalse : ConditionState::kTrue; in evaluateCombinationCondition() 67 newCondition = hasTrue ? ConditionState::kTrue : 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()
|
D | SimpleConditionTracker.cpp | 175 newCondition = matchStart ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent() 176 if (matchStart && mInitialValue != ConditionState::kTrue) { in handleConditionEvent() 191 newCondition = startedCount > 0 ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent() 202 newCondition = ConditionState::kTrue; in handleConditionEvent() 286 conditionCache[mIndex] = ConditionState::kTrue; in evaluateCondition() 299 itr->second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCondition() 349 itr->second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in isConditionMet() 365 slice.second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in isConditionMet() 375 startedCountIt->second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in isConditionMet()
|
D | condition_util.h | 32 kTrue = 1, enumerator
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | ValueMetricProducer.cpp | 172 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in ValueMetricProducer() 205 if (mCondition != ConditionState::kTrue || !mIsActive) { in onStateChanged() 257 bool pullNeeded = mIsPulled && mCondition == ConditionState::kTrue; in onDumpReportLocked() 436 if (ConditionState::kTrue != mCondition) { in onActiveStateChangedLocked() 460 ConditionState newCondition = condition ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 502 (newCondition == ConditionState::kTrue || mCondition == ConditionState::kTrue)) { in onConditionChangedLocked() 510 (mCondition == ConditionState::kTrue && newCondition == ConditionState::kFalse)) { in onConditionChangedLocked() 523 if (mIsActive && mIsPulled && mCondition == ConditionState::kTrue && mUseDiff) { in prepareFirstBucketLocked() 549 if (mCondition == ConditionState::kTrue) { in onDataPulled() 775 && mCondition != ConditionState::kTrue; in onMatchedLogEventInternalLocked()
|
D | GaugeMetricProducer.cpp | 307 triggerPuller = mCondition == ConditionState::kTrue && mCurrentSlicedBucket->empty(); in pullAndMatchEventsLocked() 311 triggerPuller = mCondition == ConditionState::kTrue; in pullAndMatchEventsLocked() 315 triggerPuller = mCondition == ConditionState::kTrue; in pullAndMatchEventsLocked() 348 if (ConditionState::kTrue != mCondition || !mIsPulled) { in onActiveStateChangedLocked() 361 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 376 mCondition = overallCondition ? ConditionState::kTrue : ConditionState::kFalse; in onSlicedConditionMayChangeLocked()
|
D | DurationMetricProducer.cpp | 305 if (ConditionState::kTrue != mCondition) { in onActiveStateChangedLocked() 329 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 631 condition = conditionState == ConditionState::kTrue; in onMatchedLogEventLocked() 634 condition = mCondition == ConditionState::kTrue; in onMatchedLogEventLocked()
|
D | ValueMetricProducer.h | 78 if (mIsPulled && mCondition == ConditionState::kTrue) { in notifyAppUpgrade() 87 if (mIsPulled && mCondition == ConditionState::kTrue) { in onStatsdInitCompleted()
|
D | MetricProducer.cpp | 93 condition = (conditionState == ConditionState::kTrue); in onMatchedLogEventLocked() 96 condition = mCondition == ConditionState::kTrue; in onMatchedLogEventLocked()
|
D | EventMetricProducer.cpp | 142 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
D | CountMetricProducer.cpp | 254 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
D | MetricProducer.h | 144 return conditionIndex >= 0 ? initialConditionCache[conditionIndex] : ConditionState::kTrue; in initialCondition()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | DrmPlugin.cpp | 31 const android::String8 kTrue("True"); variable 114 mPlayPolicy.add(kQueryKeyPlayAllowed, kTrue); in setPlayPolicy() 115 mPlayPolicy.add(kQueryKeyRenewAllowed, kTrue); in setPlayPolicy()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 243 if (conditionState != ConditionState::kTrue) { in onSlicedConditionMayChange() 275 if (conditionState == ConditionState::kTrue) { in onSlicedConditionMayChange()
|
D | MaxDurationTracker.cpp | 234 bool conditionMet = (conditionState == ConditionState::kTrue); in onSlicedConditionMayChange()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | EventMetricProducer_test.cpp | 157 EXPECT_CALL(*wizard, query(_, key2, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | CountMetricProducer_test.cpp | 226 EXPECT_CALL(*wizard, query(_, key2, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | OringDurationTracker_test.cpp | 227 .WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | GaugeMetricProducer_test.cpp | 522 return ConditionState::kTrue; in TEST()
|
D | ValueMetricProducer_test.cpp | 2173 ConditionState::kTrue); in TEST() 2313 ConditionState::kTrue); in TEST() 2392 ConditionState::kTrue); in TEST()
|
/frameworks/base/core/jni/ |
D | android_os_SystemProperties.cpp | 116 case ParseBoolResult::kTrue: in jbooleanFromParseBoolResult()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | DrmPlugin.cpp | 37 const std::string kTrue("True"); variable 315 policy.value = kTrue; in setPlayPolicy()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | CountMetric_e2e_test.cpp | 112 EXPECT_EQ(ConditionState::kTrue, metricProducer1->mCondition); in TEST() 113 EXPECT_EQ(ConditionState::kTrue, metricProducer2->mCondition); in TEST()
|
D | ValueMetric_pull_e2e_test.cpp | 200 EXPECT_EQ(ConditionState::kTrue, metricProducer2->mCondition); in TEST()
|