Home
last modified time | relevance | path

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

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DHelper.java147 public static <T> T eventually(@NonNull String description, @NonNull Callable<T> assertion) in eventually() argument
149 return MY_TIMEOUT.run(description, assertion); in eventually()
DCtsContentCaptureService.java587 private void assertNextEvent(@NonNull EventAssertion assertion, @NonNull String errorFormat, in assertNextEvent() argument
597 final String error = assertion.getErrorMessage(event); in assertNextEvent()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSessionLifecycleTest.java84 private static void eventually(String description, Callable<Boolean> assertion) in eventually() argument
86 SESSION_LIFECYCLE_TIMEOUT.run(description, assertion); in eventually()
DUiBot.java1045 @Nullable Visitor<UiObject2> assertion) {
1048 if (assertion != null) {
1052 assertion.visit(child);
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java736 int sessionId, Consumer<PackageInstaller.SessionInfo> assertion) { in assertSessionState() argument
743 assertion.accept(session); in assertSessionState()
752 assertion.accept(sessionInfo); in assertSessionState()