Home
last modified time | relevance | path

Searched refs:evaluate (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCandidateScorerTest.java122 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/
DDexmakerShareClassLoaderRuleTest.java49 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/
DPropertyValuesHolder.cpp38 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()
DPropertyValuesHolder.h40 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/
DSpeedClassifier.java38 return SpeedEvaluator.evaluate(0.0f); in getFalseTouchEvaluation()
40 return SpeedEvaluator.evaluate(stroke.getTotalLength() / duration); in getFalseTouchEvaluation()
DPointerCountEvaluator.java20 public static float evaluate(int value) { in evaluate() method in PointerCountEvaluator
DSpeedAnglesClassifier.java80 return SpeedVarianceEvaluator.evaluate(data.getAnglesVariance()) in getFalseTouchEvaluation()
81 + SpeedAnglesPercentageEvaluator.evaluate(data.getAnglesPercentage()); in getFalseTouchEvaluation()
DSpeedAnglesPercentageEvaluator.java20 public static float evaluate(float value) { in evaluate() method in SpeedAnglesPercentageEvaluator
DSpeedVarianceEvaluator.java20 public static float evaluate(float value) { in evaluate() method in SpeedVarianceEvaluator
DSpeedEvaluator.java20 public static float evaluate(float value) { in evaluate() method in SpeedEvaluator
DSpeedRatioEvaluator.java20 public static float evaluate(float value) { in evaluate() method in SpeedRatioEvaluator
DAnglesVarianceEvaluator.java20 public static float evaluate(float value, int type) { in evaluate() method in AnglesVarianceEvaluator
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DPerfManualStatusReporter.java64 public void evaluate() throws Throwable { in apply()
65 base.evaluate(); in apply()
DStateKeeperRule.java50 public void evaluate() throws Throwable { in apply()
53 base.evaluate(); in apply()
DPerfStatusReporter.java65 public void evaluate() throws Throwable { in apply()
92 base.evaluate(); in apply()
/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java71 ((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()
DFloatKeyframeSet.java71 ((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()
DKeyframeSet.java202 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()
DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() method
DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() method in IntEvaluator
/frameworks/libs/net/common/devicetests/com/android/testutils/
DDevSdkIgnoreRule.kt79 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/
DPlatformCompatChangeRule.java88 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/
DTimedStatement.java132 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/
DBenchmarkResultsReporter.java42 public void evaluate() throws Throwable { in apply()
43 base.evaluate(); in apply()
/frameworks/base/tests/testables/src/android/testing/
DDexmakerShareClassLoaderRule.java49 return apply(base::evaluate).toStatement(); in apply()
129 public void evaluate() throws Throwable {

1234