/aosp14/frameworks/base/tests/testables/tests/src/android/testing/ |
H A 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 {
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/ |
H A 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 …]
|
/aosp14/frameworks/base/tests/benchmarks/internal/src/com/android/internal/ |
H A 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() 112 evaluate(LAMBDA_FORM_POOLED, () -> { in test2PrimitiveParamsPredicate() 127 evaluate(LAMBDA_FORM_POOLED, () -> { in test3ParamsPredicate() 137 evaluate(LAMBDA_FORM_REGULAR, () -> { in testMessage() 142 evaluate(LAMBDA_FORM_POOLED, () -> { in testMessage() 151 evaluate(LAMBDA_FORM_REGULAR, () -> { in testRunnable() 155 evaluate(LAMBDA_FORM_POOLED, () -> { in testRunnable() [all …]
|
/aosp14/frameworks/base/libs/hwui/ |
H A 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()
|
H A 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,
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/ |
H A D | Evaluator.kt | 70 fun evaluate(conditions: Collection<Condition>, @ConditionOperand operand: Int): Boolean? { regex 84 return evaluate(values = values, operand = operand) 93 internal fun evaluate(values: Collection<Boolean?>, @ConditionOperand operand: Int): Boolean? {
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A 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
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/ |
H A D | DreamOverlayTouchMonitor.java | 343 boolean evaluate(GestureDetector.OnGestureListener listener); 348 private boolean evaluate(Evaluator evaluator) { 359 .map(listener -> evaluator.evaluate(listener)) 385 return evaluate(listener -> listener.onDown(e)); 390 return evaluate(listener -> listener.onFling(e1, e2, velocityX, velocityY)); 400 return evaluate(listener -> listener.onScroll(e1, e2, distanceX, distanceY)); 410 return evaluate(listener -> listener.onSingleTapUp(e));
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
H A D | UdfpsKeyguardInteractor.kt | 62 intEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInX), 63 intEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInY), 64 floatEvaluator.evaluate(dozeAmount, 0, fullyDozingBurnInProgress),
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/util/ |
H A D | IgnoreableExpect.kt | 37 override fun evaluate() { 40 expect.apply(base, description).evaluate()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | ServiceThreadRule.java | 39 public void evaluate() throws Throwable { in apply() 44 base.evaluate(); in apply()
|
/aosp14/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
H A D | PerfManualStatusReporter.java | 66 public void evaluate() throws Throwable { in apply() 67 base.evaluate(); in apply()
|
H A D | StateKeeperRule.java | 50 public void evaluate() throws Throwable { in apply() 53 base.evaluate(); in apply()
|
H A D | PerfStatusReporter.java | 65 public void evaluate() throws Throwable { in apply() 92 base.evaluate(); in apply()
|
/aosp14/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
H A D | FakeSettingsProviderRule.java | 66 public void evaluate() throws Throwable { in apply() 69 base.evaluate(); in apply()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/androidx/core/animation/ |
H A D | AndroidXAnimatorIsolationRule.kt | 49 override fun evaluate() { 53 base.evaluate()
|
/aosp14/frameworks/base/core/java/android/animation/ |
H A 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()
|
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/ |
H A D | SystemUILintDetectorTest.kt | 27 override fun evaluate() { 37 base.evaluate()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/ |
H A D | PlatformAnimatorIsolationRule.kt | 53 override fun evaluate() { 57 base.evaluate()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/ |
H A D | AppIntegrityManagerServiceImplTest.java | 318 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_correctArgs() 325 verify(mRuleEvaluationEngine).evaluate(metadataCaptor.capture()); in handleBroadcast_correctArgs() 356 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_correctArgs_multipleCerts() 363 verify(mRuleEvaluationEngine).evaluate(metadataCaptor.capture()); in handleBroadcast_correctArgs_multipleCerts() 379 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_correctArgs_sourceStamp() 386 verify(mRuleEvaluationEngine).evaluate(metadataCaptor.capture()); in handleBroadcast_correctArgs_sourceStamp() 403 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_allow() 421 when(mRuleEvaluationEngine.evaluate(any())) in handleBroadcast_reject() 449 when(mRuleEvaluationEngine.evaluate(any())).thenReturn(IntegrityCheckResult.allow()); in handleBroadcast_notInitialized() 470 when(mRuleEvaluationEngine.evaluate(any())) in verifierAsInstaller_skipIntegrityVerification()
|
/aosp14/frameworks/base/tools/lint/global/checks/src/main/java/com/google/android/lint/aidl/ |
H A D | EnforcePermissionDetector.kt | 93 val v1 = ConstantEvaluator.evaluate(context, value1) 94 val v2 = ConstantEvaluator.evaluate(context, value2) 106 val c1 = ConstantEvaluator.evaluate(context, children1[j]) 107 val c2 = ConstantEvaluator.evaluate(context, children2[j])
|
/aosp14/frameworks/base/tests/TrustTests/src/android/trust/test/lib/ |
H A D | LockStateTrackingRule.kt | 39 override fun evaluate() { 46 base.evaluate()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | SystemServicesTestRuleTest.java | 72 public void evaluate() throws Throwable { in applyRule() 77 }, null /* description */).evaluate(); in applyRule()
|