Home
last modified time | relevance | path

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

123

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DRetryRuleTest.java63 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 …]
DStateChangerRuleTest.java62 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 …]
DStateKeeperRuleTest.java60 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()
DSafeCleanerRuleTest.java50 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/
DEvaluatorTest.java54 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/
DRequiredPropertyRule.java45 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();
DRequiredDeviceTypeRule.java43 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();
DRequiredFeatureRule.java45 public void evaluate() throws Throwable { in apply()
52 base.evaluate(); in apply()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureIntegrationActivityLessTest.java31 public void evaluate() throws Throwable { in getMainTestRule()
32 base.evaluate(); in getMainTestRule()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DTracer.java32 public void evaluate() throws Throwable { in apply()
36 base.evaluate(); in apply()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DRepeat.kt53 override fun evaluate() = repeat(repeat.times) { base.evaluate() } in <lambda>() method
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DTracer.java32 public void evaluate() throws Throwable { in apply()
36 base.evaluate(); in apply()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRetryRule.java70 public void evaluate() throws Throwable { in apply()
74 base.evaluate(); in apply()
82 base.evaluate(); in apply()
DBeforeAfterRule.java32 public void evaluate() throws Throwable { in apply()
35 base.evaluate(); in apply()
DOnFailureRule.java42 public void evaluate() throws Throwable { in apply()
44 base.evaluate(); in apply()
DStateKeeperRule.java64 public void evaluate() throws Throwable { in apply()
68 base.evaluate(); in apply()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DMaxVisibleDatasetsRule.java52 public void evaluate() throws Throwable { in apply()
56 base.evaluate(); in apply()
/cts/tests/tests/content/src/android/content/pm/cts/util/
DAbandonAllPackageSessionsRule.kt29 override fun evaluate() { in apply() method
31 base.evaluate() in apply()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/
DAutoCloseableRule.java25 public void evaluate() throws Throwable { in apply()
27 base.evaluate(); in apply()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DFlakyTestRule.java42 public void evaluate() throws Throwable { in apply()
46 statement.evaluate(); in apply()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/
DAssumptionCheckerRule.java52 public void evaluate() throws Throwable { in apply()
54 base.evaluate(); in apply()
/cts/hostsidetests/utils/src/android/cts/host/utils/
DDisableDeviceConfigSyncRule.java46 public void evaluate() throws Throwable { in apply()
51 base.evaluate(); in apply()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DRequireImeCompatFlagRule.java46 public void evaluate() throws Throwable { in apply()
53 base.evaluate(); in apply()
DUnlockScreenRule.java42 public void evaluate() throws Throwable { in apply()
49 base.evaluate(); in apply()
DDisableScreenDozeRule.java50 public void evaluate() throws Throwable { in apply()
57 base.evaluate(); in apply()

123