/frameworks/base/cmds/statsd/tests/condition/ |
D | CombinationConditionTracker_test.cpp | 38 conditionResults.push_back(ConditionState::kTrue); in TEST() 54 conditionResults.push_back(ConditionState::kTrue); in TEST() 56 conditionResults.push_back(ConditionState::kTrue); in TEST() 61 conditionResults.push_back(ConditionState::kTrue); in TEST() 62 conditionResults.push_back(ConditionState::kTrue); in TEST() 63 conditionResults.push_back(ConditionState::kTrue); in TEST() 78 conditionResults.push_back(ConditionState::kTrue); in TEST() 80 conditionResults.push_back(ConditionState::kTrue); in TEST() 100 conditionResults.push_back(ConditionState::kTrue); in TEST() 123 conditionResults.push_back(ConditionState::kTrue); in TEST() [all …]
|
D | SimpleConditionTracker_test.cpp | 153 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 165 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 225 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 238 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 251 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 327 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 451 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 561 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST() 601 EXPECT_EQ(ConditionState::kTrue, conditionCache[0]); in TEST()
|
/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 | 182 newCondition = matchStart ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent() 183 if (matchStart && mInitialValue != ConditionState::kTrue) { in handleConditionEvent() 198 newCondition = startedCount > 0 ? ConditionState::kTrue : ConditionState::kFalse; in handleConditionEvent() 209 newCondition = ConditionState::kTrue; in handleConditionEvent() 293 conditionCache[mIndex] = ConditionState::kTrue; in evaluateCondition() 306 itr->second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCondition() 368 itr->second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in isConditionMet() 385 slice.second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in isConditionMet() 388 if (sliceState == ConditionState::kTrue && dimensionFields.size() > 0) { in isConditionMet() 404 startedCountIt->second > 0 ? ConditionState::kTrue : ConditionState::kFalse; in isConditionMet() [all …]
|
D | StateTracker.cpp | 133 mSlicedState.size() > 0 ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCondition() 148 mSlicedState.size() > 0 ? ConditionState::kTrue : ConditionState::kFalse; in evaluateCondition() 159 conditionCache[mIndex] = ConditionState::kTrue; in evaluateCondition() 166 conditionCache[mIndex] = ConditionState::kTrue; in evaluateCondition() 169 conditionCache[mIndex] = ConditionState::kTrue; in evaluateCondition() 195 conditionCache[mIndex] = ConditionState::kTrue; in isConditionMet() 210 conditionCache[mIndex] = ConditionState::kTrue; in isConditionMet() 224 return ConditionState::kTrue; in getMetConditionDimension()
|
D | condition_util.h | 32 kTrue = 1, enumerator
|
D | CombinationConditionTracker.cpp | 189 if (conditionCache[mIndex] == ConditionState::kTrue && dimensionsKeySet.empty()) { in getMetConditionDimension()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | ValueMetricProducer.cpp | 171 if (mIsActive && mIsPulled && mCondition == ConditionState::kTrue && mUseDiff) { in prepareFirstBucketLocked() 175 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in prepareFirstBucketLocked() 187 bool pullNeeded = mIsPulled && mCondition == ConditionState::kTrue; in dropDataLocked() 212 bool pullNeeded = mIsPulled && mCondition == ConditionState::kTrue; in onDumpReportLocked() 372 if (ConditionState::kTrue == mCondition && isEventTooLate) { in onActiveStateChangedLocked() 380 if (ConditionState::kTrue != mCondition) { in onActiveStateChangedLocked() 404 ConditionState newCondition = condition ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 425 (mCondition == ConditionState::kTrue && newCondition == ConditionState::kFalse) in onConditionChangedLocked() 427 newCondition == ConditionState::kTrue); in onConditionChangedLocked() 441 if (mUseDiff && mCondition == ConditionState::kTrue in onConditionChangedLocked() [all …]
|
D | GaugeMetricProducer.cpp | 320 triggerPuller = mCondition == ConditionState::kTrue && mCurrentSlicedBucket->empty(); in pullAndMatchEventsLocked() 324 triggerPuller = mCondition == ConditionState::kTrue; in pullAndMatchEventsLocked() 328 triggerPuller = mCondition == ConditionState::kTrue; in pullAndMatchEventsLocked() 362 if (ConditionState::kTrue != mCondition || !mIsPulled) { in onActiveStateChangedLocked() 375 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 390 mCondition = overallCondition ? ConditionState::kTrue : ConditionState::kFalse; in onSlicedConditionMayChangeLocked()
|
D | MetricProducer.cpp | 64 condition = (conditionState == ConditionState::kTrue); in onMatchedLogEventLocked() 67 condition = mCondition == ConditionState::kTrue; in onMatchedLogEventLocked()
|
D | DurationMetricProducer.cpp | 447 if (ConditionState::kTrue != mCondition) { in onActiveStateChangedLocked() 475 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked() 804 condition = conditionState == ConditionState::kTrue; in onMatchedLogEventLocked() 810 condition = mCondition == ConditionState::kTrue; in onMatchedLogEventLocked()
|
D | EventMetricProducer.cpp | 136 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
D | MetricProducer.h | 97 return conditionIndex >= 0 ? ConditionState::kUnknown : ConditionState::kTrue; in initialCondition()
|
D | CountMetricProducer.cpp | 253 mCondition = conditionMet ? ConditionState::kTrue : ConditionState::kFalse; in onConditionChangedLocked()
|
/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/tests/metrics/ |
D | EventMetricProducer_test.cpp | 118 EXPECT_CALL(*wizard, query(_, key2, _, _, _, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | CountMetricProducer_test.cpp | 192 EXPECT_CALL(*wizard, query(_, key2, _, _, _, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | OringDurationTracker_test.cpp | 236 .WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | GaugeMetricProducer_test.cpp | 512 return ConditionState::kTrue; in TEST()
|
D | ValueMetricProducer_test.cpp | 2146 valueProducer->mCondition = ConditionState::kTrue; in TEST() 2243 valueProducer->mCondition = ConditionState::kTrue; in TEST() 2309 valueProducer->mCondition = ConditionState::kTrue; in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 237 if (conditionState != ConditionState::kTrue || in onSlicedConditionMayChange() 272 if (conditionState == ConditionState::kTrue && in onSlicedConditionMayChange()
|
D | MaxDurationTracker.cpp | 262 (conditionState == ConditionState::kTrue) && in onSlicedConditionMayChange()
|
/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 308 policy.value = kTrue; in setPlayPolicy()
|