Home
last modified time | relevance | path

Searched refs:terminalException (Results 1 – 7 of 7) sorted by relevance

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DVoidRetry.java56 public VoidRetry terminalException(Function<Throwable, Boolean> terminalChecker) { in terminalException() method in VoidRetry
57 mRetry.terminalException(terminalChecker); in terminalException()
DRetry.java81 public Retry<E> terminalException(Function<Throwable, Boolean> terminalChecker) { in terminalException() method in Retry
82 mPoll.terminalException(terminalChecker); in terminalException()
DPoll.java294 public Poll<E> terminalException(Function<Throwable, Boolean> terminalChecker) { in terminalException() method in Poll
311 terminalException((e) -> terminalChecker.get()); in terminal()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DRetryTest.java93 () -> 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()
DPollTest.java442 .terminalException(c -> true) in terminalException_hasTerminalException_exitsImmediately()
454 .terminalException(c -> false) in terminalException_hasNonTerminalException_doesNotExitImmediately()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicy.kt76 .terminalException { ex: Throwable -> in <lambda>()
78 … return@terminalException false // Just retry on old versions as we don't have stderr in <lambda>()
84 return@terminalException false in <lambda>()
87 return@terminalException false in <lambda>()
175 .terminalException { e: Throwable -> in <lambda>()
325 .terminalException { e: Throwable -> in <lambda>()
366 .terminalException { e: Throwable -> in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java1036 }).terminalException(e -> { in setAsRoleHolder()
1095 }).terminalException(e -> { in removeAsRoleHolder()