Home
last modified time | relevance | path

Searched refs:logic (Results 1 – 5 of 5) sorted by relevance

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DRetryTest.java47 assertThat(Retry.logic(valueTester::get).run()).isEqualTo(VALUE_1); in run_noExceptions_returnsValue()
54 Retry.logic(valueTester::throwOrNot).run(); in runVoid_noExceptions_runs()
62 () -> Retry.logic(valueTester::get).timeout(SHORT_TIMEOUT).run()); in run_exceptions_throwsException()
70 () -> Retry.logic(valueTester::throwOrNot).timeout(SHORT_TIMEOUT).run()); in runVoid_exceptions_throwsException()
77 assertThat(Retry.logic(valueTester::get).run()).isEqualTo(VALUE_1); in run_temporaryExceptions_returnsValue()
84 Retry.logic(valueTester::throwOrNot).run(); in runVoid_temporaryExceptions_runs()
93 () -> Retry.logic(valueTester::get).terminalException(e -> true).run()); in run_terminalException_throwsException()
102 () -> Retry.logic(valueTester::throwOrNot).terminalException(e -> true).run()); in runVoid_terminalException_throwsException()
110 assertThat(Retry.logic(valueTester::get).terminalException(e -> false).run()) in run_nonTerminalException_returnsValue()
119 Retry.logic(valueTester::throwOrNot).terminalException(e -> false).run(); in runVoid_nonTerminalException_runs()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DRetry.java43 public static <E> Retry<E> logic(Poll.ValueSupplier<E> supplier) { in logic() method in Retry
50 public static VoidRetry logic(VoidRetry.VoidRunnable runnable) { in logic() method in Retry
DVoidRetry.java32 mRetry = Retry.logic(() -> { in VoidRetry()
/cts/apps/CameraITS/tests/
Dits_base_test.py126 logic = lambda d: self.setup_dut(d) if d else self.setup_tablet() function
128 logic, [(self.dut,), (None,)],
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java412 final Class<?> logic = Class.forName("com.android.cts.splitapp.FeatureLogic"); in testFeatureWarmBase() local
413 final Method method = logic.getDeclaredMethod("mult", new Class[] { in testFeatureWarmBase()