/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CandidateScorerTest.java | 122 private double evaluate(ConcreteCandidate candidate) { in evaluate() method in CandidateScorerTest 134 assertEquals(evaluate(mCandidate1), evaluate(mCandidate2), TOL); in testEqualInputsShouldGiveTheSameResult() 142 assertThat(evaluate(mCandidate1.setFrequency(5180).setScanRssi(-44)), in testPrefer5GhzOver2GhzInNonFringeConditionsSimilarRssi() 143 greaterThan(evaluate(mCandidate2.setFrequency(2024).setScanRssi(-44)))); in testPrefer5GhzOver2GhzInNonFringeConditionsSimilarRssi() 151 assertThat(evaluate(mCandidate1.setScanRssi(-63)), in testPreferHigherRssi() 152 greaterThan(evaluate(mCandidate2.setScanRssi(-64)))); in testPreferHigherRssi() 160 assertThat(evaluate(mCandidate1), in testPreferASecureNetworkOverAnOpenOne() 161 greaterThan(evaluate(mCandidate2.setOpenNetwork(true)))); in testPreferASecureNetworkOverAnOpenOne() 169 assertThat(evaluate(mCandidate1.setScanRssi(-77).setCurrentNetwork(true)), in testPreferTheCurrentNetworkEvenIfRssiDifferenceIsSignificant() 170 greaterThan(evaluate(mCandidate2.setScanRssi(-68)))); in testPreferTheCurrentNetworkEvenIfRssiDifferenceIsSignificant() [all …]
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | DexmakerShareClassLoaderRuleTest.java | 49 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_setsProperty() 54 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_resetsProperty() 61 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_resetsProperty_toExactValue() 69 public void evaluate() throws Throwable { in rule_preventsOtherThreadFromInterfering() 75 new DexmakerShareClassLoaderRule().apply(ASSERT_STATEMENT, null).evaluate(); in rule_preventsOtherThreadFromInterfering() 90 }, null).evaluate(); in rule_preventsOtherThreadFromInterfering() 98 public void evaluate() throws Throwable { in rule_isReentrant() 100 new DexmakerShareClassLoaderRule().apply(ASSERT_STATEMENT, null).evaluate(); in rule_isReentrant() 103 }, null).evaluate(); in rule_isReentrant() 113 public void evaluate() throws Throwable {
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.cpp | 38 void ColorEvaluator::evaluate(SkColor* outColor, const SkColor& fromColor, const SkColor& toColor, in evaluate() function in android::uirenderer::ColorEvaluator 49 void PathEvaluator::evaluate(PathData* out, const PathData& from, const PathData& to, in evaluate() function in android::uirenderer::PathEvaluator 72 mEvaluator->evaluate(&value, mDataSource[lowIndex], mDataSource[lowIndex + 1], fraction); in getValueFromData() 82 mEvaluator->evaluate(&value, mStartValue, mEndValue, fraction); in calculateAnimatedValue() 103 mEvaluator->evaluate(&mPathData, mStartValue, mEndValue, fraction); in setFraction()
|
D | PropertyValuesHolder.h | 40 virtual void evaluate(T* out, const T& from, const T& to, float fraction) const {}; in evaluate() function 46 virtual void evaluate(float* out, const float& from, const float& to, in evaluate() function 54 virtual void evaluate(SkColor* outColor, const SkColor& from, const SkColor& to, 59 virtual void evaluate(PathData* out, const PathData& from, const PathData& to,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | SpeedClassifier.java | 38 return SpeedEvaluator.evaluate(0.0f); in getFalseTouchEvaluation() 40 return SpeedEvaluator.evaluate(stroke.getTotalLength() / duration); in getFalseTouchEvaluation()
|
D | PointerCountEvaluator.java | 20 public static float evaluate(int value) { in evaluate() method in PointerCountEvaluator
|
D | SpeedAnglesClassifier.java | 80 return SpeedVarianceEvaluator.evaluate(data.getAnglesVariance()) in getFalseTouchEvaluation() 81 + SpeedAnglesPercentageEvaluator.evaluate(data.getAnglesPercentage()); in getFalseTouchEvaluation()
|
D | SpeedAnglesPercentageEvaluator.java | 20 public static float evaluate(float value) { in evaluate() method in SpeedAnglesPercentageEvaluator
|
D | SpeedVarianceEvaluator.java | 20 public static float evaluate(float value) { in evaluate() method in SpeedVarianceEvaluator
|
D | SpeedEvaluator.java | 20 public static float evaluate(float value) { in evaluate() method in SpeedEvaluator
|
D | SpeedRatioEvaluator.java | 20 public static float evaluate(float value) { in evaluate() method in SpeedRatioEvaluator
|
D | AnglesVarianceEvaluator.java | 20 public static float evaluate(float value, int type) { in evaluate() method in AnglesVarianceEvaluator
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | PerfManualStatusReporter.java | 64 public void evaluate() throws Throwable { in apply() 65 base.evaluate(); in apply()
|
D | StateKeeperRule.java | 50 public void evaluate() throws Throwable { in apply() 53 base.evaluate(); in apply()
|
D | PerfStatusReporter.java | 65 public void evaluate() throws Throwable { in apply() 92 base.evaluate(); in apply()
|
/frameworks/base/core/java/android/animation/ |
D | IntKeyframeSet.java | 71 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue() 87 … ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)).intValue(); in getIntValue() 104 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getIntValue()
|
D | FloatKeyframeSet.java | 71 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue() 87 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue() 105 ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)). in getFloatValue()
|
D | KeyframeSet.java | 202 return mEvaluator.evaluate(fraction, mFirstKeyframe.getValue(), in getValue() 214 return mEvaluator.evaluate(intervalFraction, mFirstKeyframe.getValue(), in getValue() 225 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue() 240 return mEvaluator.evaluate(intervalFraction, prevKeyframe.getValue(), in getValue()
|
D | TypeEvaluator.java | 42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() method
|
D | IntEvaluator.java | 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() method in IntEvaluator
|
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | DevSdkIgnoreRule.kt | 79 override fun evaluate() { in evaluate() method in com.android.testutils.DevSdkIgnoreRule.IgnoreBySdkStatement 87 base.evaluate() in evaluate()
|
/frameworks/base/tests/PlatformCompatGating/test-rules/src/android/compat/testing/ |
D | PlatformCompatChangeRule.java | 88 public void evaluate() throws Throwable { in evaluate() method in PlatformCompatChangeRule.CompatChangeStatement 106 mTestStatement.evaluate(); in evaluate()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 132 public void evaluate() throws Throwable { in evaluate() method in TimedStatement 138 mStatement.evaluate(); in evaluate() 159 mStatement.evaluate(); in evaluate()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkResultsReporter.java | 42 public void evaluate() throws Throwable { in apply() 43 base.evaluate(); in apply()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | DexmakerShareClassLoaderRule.java | 49 return apply(base::evaluate).toStatement(); in apply() 129 public void evaluate() throws Throwable {
|