/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 | 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()
|
D | ContentCaptureLoggingTestRule.java | 52 public void evaluate() throws Throwable { in apply() 55 base.evaluate(); in apply()
|
/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/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/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/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MaxVisibleDatasetsRule.java | 52 public void evaluate() throws Throwable { in apply() 56 base.evaluate(); in apply()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BeforeAfterRule.java | 32 public void evaluate() throws Throwable { in apply() 35 base.evaluate(); in apply()
|
D | RetryRule.java | 70 public void evaluate() throws Throwable { in apply() 74 base.evaluate(); in apply() 82 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()
|
D | AdoptShellPermissionsRule.java | 61 public void evaluate() throws Throwable { in apply() 68 base.evaluate(); in apply()
|
D | RequiredFeatureRule.java | 52 public void evaluate() throws Throwable { in apply() 61 base.evaluate(); in apply()
|
D | StateChangerRule.java | 57 public void evaluate() throws Throwable { in apply() 63 base.evaluate(); in apply()
|
D | RequiredServiceRule.java | 59 public void evaluate() throws Throwable { in apply() 68 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/inputmethod/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 | 59 public void evaluate() throws Throwable { in apply() 65 base.evaluate(); in apply()
|