Searched refs:assertion (Results 1 – 5 of 5) sorted by relevance
147 public static <T> T eventually(@NonNull String description, @NonNull Callable<T> assertion) in eventually() argument149 return MY_TIMEOUT.run(description, assertion); in eventually()
587 private void assertNextEvent(@NonNull EventAssertion assertion, @NonNull String errorFormat, in assertNextEvent() argument597 final String error = assertion.getErrorMessage(event); in assertNextEvent()
84 private static void eventually(String description, Callable<Boolean> assertion) in eventually() argument86 SESSION_LIFECYCLE_TIMEOUT.run(description, assertion); in eventually()
1045 @Nullable Visitor<UiObject2> assertion) {1048 if (assertion != null) {1052 assertion.visit(child);
736 int sessionId, Consumer<PackageInstaller.SessionInfo> assertion) { in assertSessionState() argument743 assertion.accept(session); in assertSessionState()752 assertion.accept(sessionInfo); in assertSessionState()