/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/services/tests/servicestests/src/com/android/server/integrity/engine/ |
D | RuleEvaluationEngineTest.java | 88 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_empty() 90 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_empty() 92 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_empty() 107 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_oneElement() 116 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_oneElement() 125 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_oneElement() 134 assertThat(mEngine.evaluate(appInstallMetadata4).getEffect()) in testAllowedInstallers_oneElement() 150 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_multipleElement() 159 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_multipleElement() 168 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_multipleElement() [all …]
|
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/ |
D | ExtendedMockitoRuleTest.java | 136 mBuilder.build().apply(mStatement, mDescription).evaluate(); in testMocksInitialized() 143 new ExtendedMockitoRule.Builder().build().apply(mStatement, mDescription).evaluate(); in testMocksNotInitialized() 174 public void evaluate() throws Throwable { in testMocksStatic() 182 }, mDescription).evaluate(); in testMocksStatic() 204 public void evaluate() throws Throwable { in testMocksStatic_multipleClasses() 218 }, mDescription).evaluate(); in testMocksStatic_multipleClasses() 233 public void evaluate() throws Throwable { in testMockStatic_ruleAndAnnotation() 247 }, newTestMethod(new MockStaticAnnotation(AnotherStaticClass.class))).evaluate(); in testMockStatic_ruleAndAnnotation() 274 public void evaluate() throws Throwable { in testSpyStatic() 282 }, mDescription).evaluate(); in testSpyStatic() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | RadiiAnimator.java | 53 evaluate(animation.getAnimatedFraction()))); in RadiiAnimator() 57 animationListener.onRadiiAnimationUpdate(evaluate(/* t = */ 0.0f)); in RadiiAnimator() 69 evaluate(mAnimationDriver.getAnimatedFraction())); in RadiiAnimator() 82 mStartValues = evaluate(mAnimationDriver.getAnimatedFraction()); in startAnimation() 96 float[] evaluate(float time /* interpolator value between 0.0 and 1.0 */) { in evaluate() method in RadiiAnimator
|
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/ |
D | LambdaPerfTest.java | 81 public void evaluate() throws Throwable { 88 base.evaluate(); 96 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mTaskId, mTime))); in test1ParamPredicate() 97 evaluate(LAMBDA_FORM_POOLED, () -> { in test1ParamPredicate() 111 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mTaskId, mTime))); in test2PrimitiveParamsPredicate() 112 evaluate(LAMBDA_FORM_POOLED, () -> { in test2PrimitiveParamsPredicate() 126 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mBounds, mTop, mTaskId))); in test3ParamsPredicate() 127 evaluate(LAMBDA_FORM_POOLED, () -> { in test3ParamsPredicate() 137 evaluate(LAMBDA_FORM_REGULAR, () -> { in testMessage() 142 evaluate(LAMBDA_FORM_POOLED, () -> { in testMessage() [all …]
|
/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/shared/src/com/android/systemui/shared/condition/ |
D | Evaluator.kt | 70 fun evaluate(conditions: Collection<Condition>, @ConditionOperand operand: Int): Boolean? { in <lambda>() method 84 return evaluate(values = values, operand = operand) in <lambda>() 93 internal fun evaluate(values: Collection<Boolean?>, @ConditionOperand operand: Int): Boolean? { in <lambda>() method
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/ |
D | SceneContainerRule.kt | 36 override fun evaluate() { in <lambda>() method 65 runCatching { base?.evaluate() } in <lambda>() 80 base?.evaluate() in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | OverlayableSystemBooleanResourceWrapper.java | 81 final AtomicBoolean valueRef = new AtomicBoolean(evaluate(userContext, boolResId)); in create() 96 final boolean newValue = evaluate(userContext, boolResId); in create() 108 valueRef.set(evaluate(userContext, boolResId)); in create() 137 private static boolean evaluate(@NonNull Context context, @BoolRes int boolResId) { in evaluate() method in OverlayableSystemBooleanResourceWrapper
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | UdfpsKeyguardInteractor.kt | 61 intEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInX), in <lambda>() 62 intEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInY), in <lambda>() 63 floatEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInProgress), in <lambda>()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/util/ |
D | IgnoreableExpect.kt | 37 override fun evaluate() { in apply() method 40 expect.apply(base, description).evaluate() in apply()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ServiceThreadRule.java | 39 public void evaluate() throws Throwable { in apply() 44 base.evaluate(); in apply()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | PerfManualStatusReporter.java | 66 public void evaluate() throws Throwable { in apply() 67 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/media/tests/mediatestutils/java/com/android/media/mediatestutils/ |
D | CancelAllFuturesRule.java | 42 public void evaluate() throws Throwable { in apply() 44 base.evaluate(); in apply()
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | FakeSettingsProviderRule.java | 66 public void evaluate() throws Throwable { in apply() 69 base.evaluate(); in apply()
|
/frameworks/base/packages/SystemUI/tests/utils/src/androidx/core/animation/ |
D | AndroidXAnimatorIsolationRule.kt | 49 override fun evaluate() { in addAnimationFrameCallback() method 53 base.evaluate() in addAnimationFrameCallback()
|
/frameworks/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/ |
D | SystemUILintDetectorTest.kt | 23 override fun evaluate() { in apply() method 33 base.evaluate() in apply()
|
/frameworks/base/core/java/android/animation/ |
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 | 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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | RadiiAnimatorTest.java | 64 assertThat(radiiAnimator.evaluate(0.0f)).isEqualTo(radii); in constructor() 78 TestUtils.waitForCondition(() -> Arrays.equals(radiiAnimator.evaluate(0.0f), startRadii) in skipAnimation_updatesToEnd() 79 && Arrays.equals(radiiAnimator.evaluate(1.0f), endRadii), in skipAnimation_updatesToEnd()
|
/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/ |
D | PlatformAnimatorIsolationRule.kt | 53 override fun evaluate() { in addOneShotCommitCallback() method 57 base.evaluate() in addOneShotCommitCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | TouchMonitor.java | 421 boolean evaluate(GestureDetector.OnGestureListener listener); 426 private boolean evaluate(Evaluator evaluator) { 439 .map(listener -> evaluator.evaluate(listener)) 465 return evaluate(listener -> listener.onDown(e)); 471 return evaluate(listener -> listener.onFling(e1, e2, velocityX, velocityY)); 482 return evaluate(listener -> listener.onScroll(e1, e2, distanceX, distanceY)); 492 return evaluate(listener -> listener.onSingleTapUp(e));
|