/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | RetryRuleTest.java | 63 public void evaluate() throws Throwable { in evaluate() method in RetryRuleTest.RetryableStatement 97 .evaluate(); in testPassOnRetryableException() 106 mDescription).evaluate(); in testDoCleanOnRetryableException() 119 mDescription).evaluate()); in testKeepLastStatusWhenFailOnRetryableException() 130 rule.apply(mMockStatement, mDescription).evaluate(); in testNeverCleanWhenStatementPass() 132 verify(mMockStatement, times(1)).evaluate(); in testNeverCleanWhenStatementPass() 141 doThrow(exception).when(mMockStatement).evaluate(); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException() 144 () -> rule.apply(mMockStatement, mDescription).evaluate()); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException() 147 verify(mMockStatement, times(1)).evaluate(); in testNeverCleanWhenDisabledAndStatementThrowsRetryableException() 158 .evaluate(); in testPassOnRetryableExceptionWithTimeout() [all …]
|
D | StateChangerRuleTest.java | 62 rule.apply(mStatement, mDescription).evaluate(); in testSetAndRestoreOnSuccess() 64 verify(mStatement, times(1)).evaluate(); in testSetAndRestoreOnSuccess() 77 rule.apply(mStatement, mDescription).evaluate(); in testDontSetIfSameValueOnSuccess() 79 verify(mStatement, times(1)).evaluate(); in testDontSetIfSameValueOnSuccess() 89 rule.apply(mStatement, mDescription).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess() 91 verify(mStatement, times(1)).evaluate(); in testSetButDontRestoreIfSameValueOnSuccess() 103 rule.apply(mStatement, mDescription).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess() 106 verify(mStatement, times(1)).evaluate(); in testDontSetButRestoreIfValueChangedOnSuccess() 116 doThrow(mRuntimeException).when(mStatement).evaluate(); in testSetAndRestoreOnFailure() 119 () -> rule.apply(mStatement, mDescription).evaluate()); in testSetAndRestoreOnFailure() [all …]
|
D | StateKeeperRuleTest.java | 60 rule.apply(mStatement, mDescription).evaluate(); in testRestoreOnSuccess() 62 verify(mStatement, times(1)).evaluate(); in testRestoreOnSuccess() 72 doThrow(mRuntimeException).when(mStatement).evaluate(); in testRestoreOnFailure() 75 () -> rule.apply(mStatement, mDescription).evaluate()); in testRestoreOnFailure() 88 rule.apply(mStatement, mDescription).evaluate(); in testDoNotRestoreWhenNotChanged() 90 verify(mStatement, times(1)).evaluate(); in testDoNotRestoreWhenNotChanged() 98 doThrow(mRuntimeException).when(mStatement).evaluate(); in testDoNotRestoreOnFailure() 101 () -> rule.apply(mStatement, mDescription).evaluate()); in testDoNotRestoreOnFailure()
|
D | SafeCleanerRuleTest.java | 50 public void evaluate() throws Throwable { in evaluate() method in SafeCleanerRuleTest.FailureStatement 70 rule.apply(mGoodGuyStatement, mDescription).evaluate(); in testEmptyRule_testPass() 77 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails() 85 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testEmptyRule_testFails_withDumper() 96 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails() 109 () -> rule.apply(new FailureStatement(mRuntimeException), mDescription).evaluate()); in testOnlyTestFails_withDumper() 124 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails() 142 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneRunnerFails_withDumper() 158 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrownAsCallable() 175 () -> rule.apply(mGoodGuyStatement, mDescription).evaluate()); in testTestPass_oneExtraExceptionThrown() [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | EvaluatorTest.java | 54 float result = floatEvaluator.evaluate(0, start, end); in testFloatEvaluator() 57 result = floatEvaluator.evaluate(fraction, start, end); in testFloatEvaluator() 60 result = floatEvaluator.evaluate(1, start, end); in testFloatEvaluator() 79 float[] result = evaluator.evaluate(0, start, end); in floatArrayEvaluatorTestImpl() 83 result = evaluator.evaluate(fraction, start, end); in floatArrayEvaluatorTestImpl() 87 result = evaluator.evaluate(1, start, end); in floatArrayEvaluatorTestImpl() 111 int result = (Integer) evaluator.evaluate(0, START, END); in testArgbEvaluator() 121 result = (Integer) evaluator.evaluate(.5f, START, END); in testArgbEvaluator() 139 result = (Integer) evaluator.evaluate(1, START, END); in testArgbEvaluator() 157 int result = intEvaluator.evaluate(0, start, end); in testIntEvaluator() [all …]
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | RequiredPropertyRule.java | 45 public void evaluate() throws Throwable { in apply() 46 base.evaluate(); in apply() 67 public void evaluate() throws Throwable { 73 base.evaluate(); 87 public void evaluate() throws Throwable { 97 base.evaluate(); 111 public void evaluate() throws Throwable { 127 base.evaluate();
|
D | RequiredDeviceTypeRule.java | 43 public void evaluate() throws Throwable { in apply() 44 base.evaluate(); in apply() 56 public void evaluate() throws Throwable { 75 base.evaluate(); 89 public void evaluate() throws Throwable { 108 base.evaluate(); 126 public void evaluate() throws Throwable { 137 base.evaluate();
|
D | RequiredFeatureRule.java | 45 public void evaluate() throws Throwable { in apply() 52 base.evaluate(); in apply()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | AbstractContentCaptureIntegrationActivityLessTest.java | 31 public void evaluate() throws Throwable { in getMainTestRule() 32 base.evaluate(); in getMainTestRule()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | Tracer.java | 32 public void evaluate() throws Throwable { in apply() 36 base.evaluate(); in apply()
|
/cts/tests/tests/companion/common/src/android/companion/cts/common/ |
D | Repeat.kt | 53 override fun evaluate() = repeat(repeat.times) { base.evaluate() } in <lambda>() method
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | Tracer.java | 32 public void evaluate() throws Throwable { in apply() 36 base.evaluate(); in apply()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 70 public void evaluate() throws Throwable { in apply() 74 base.evaluate(); in apply() 82 base.evaluate(); in apply()
|
D | BeforeAfterRule.java | 32 public void evaluate() throws Throwable { in apply() 35 base.evaluate(); in apply()
|
D | OnFailureRule.java | 42 public void evaluate() throws Throwable { in apply() 44 base.evaluate(); in apply()
|
D | StateKeeperRule.java | 64 public void evaluate() throws Throwable { in apply() 68 base.evaluate(); in apply()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MaxVisibleDatasetsRule.java | 52 public void evaluate() throws Throwable { in apply() 56 base.evaluate(); in apply()
|
/cts/tests/tests/content/src/android/content/pm/cts/util/ |
D | AbandonAllPackageSessionsRule.kt | 29 override fun evaluate() { in apply() method 31 base.evaluate() in apply()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/ |
D | AutoCloseableRule.java | 25 public void evaluate() throws Throwable { in apply() 27 base.evaluate(); in apply()
|
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | FlakyTestRule.java | 42 public void evaluate() throws Throwable { in apply() 46 statement.evaluate(); in apply()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/ |
D | AssumptionCheckerRule.java | 52 public void evaluate() throws Throwable { in apply() 54 base.evaluate(); in apply()
|
/cts/hostsidetests/utils/src/android/cts/host/utils/ |
D | DisableDeviceConfigSyncRule.java | 46 public void evaluate() throws Throwable { in apply() 51 base.evaluate(); in apply()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | RequireImeCompatFlagRule.java | 46 public void evaluate() throws Throwable { in apply() 53 base.evaluate(); in apply()
|
D | UnlockScreenRule.java | 42 public void evaluate() throws Throwable { in apply() 49 base.evaluate(); in apply()
|
D | DisableScreenDozeRule.java | 50 public void evaluate() throws Throwable { in apply() 57 base.evaluate(); in apply()
|