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.java149 public static <T> T eventually(@NonNull String description, @NonNull Callable<T> assertion) in eventually() argument
151 return MY_TIMEOUT.run(description, assertion); in eventually()
DCtsContentCaptureService.java597 private void assertNextEvent(@NonNull EventAssertion assertion, @NonNull String errorFormat, in assertNextEvent() argument
607 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.java1054 @Nullable Visitor<UiObject2> assertion) {
1057 if (assertion != null) {
1061 assertion.visit(child);
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java1073 int sessionId, Consumer<PackageInstaller.SessionInfo> assertion) { in assertSessionState() argument
1080 assertion.accept(session); in assertSessionState()
1089 assertion.accept(sessionInfo); in assertSessionState()