Searched refs:assertion (Results 1 – 5 of 5) sorted by relevance
149 public static <T> T eventually(@NonNull String description, @NonNull Callable<T> assertion) in eventually() argument151 return MY_TIMEOUT.run(description, assertion); in eventually()
597 private void assertNextEvent(@NonNull EventAssertion assertion, @NonNull String errorFormat, in assertNextEvent() argument607 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()
1054 @Nullable Visitor<UiObject2> assertion) {1057 if (assertion != null) {1061 assertion.visit(child);
1073 int sessionId, Consumer<PackageInstaller.SessionInfo> assertion) { in assertSessionState() argument1080 assertion.accept(session); in assertSessionState()1089 assertion.accept(sessionInfo); in assertSessionState()