Searched refs:expectedView (Results 1 – 3 of 3) sorted by relevance
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | EventsAssertor.java | 134 public EventsAssertor assertViewAppeared(@NonNull View expectedView) { in assertViewAppeared() argument 135 assertNextEvent((event) -> assertViewEvent(event, expectedView), in assertViewAppeared() 137 String.format("no VIEW_APPEARED event for %s", expectedView)); in assertViewAppeared() 145 public EventsAssertor assertViewAppeared(@NonNull View expectedView, in assertViewAppeared() argument 147 assertNextEvent((event) -> assertViewEvent(event, expectedView, expectedParentId), in assertViewAppeared() 149 String.format("no VIEW_APPEARED event for %s", expectedView)); in assertViewAppeared() 158 @NonNull View expectedView, @NonNull AutofillId expectedParentId) { in assertViewAppeared() argument 159 assertViewAppeared(expectedView, expectedParentId); in assertViewAppeared() 160 assertSessionId(expectedSessionId, expectedView); in assertViewAppeared() 170 @NonNull View expectedView) { in assertViewAppeared() argument [all …]
|
D | Assertions.java | 168 @NonNull List<ContentCaptureEvent> events, int index, @NonNull View expectedView) { in assertViewWithUnknownParentAppeared() argument 169 return assertViewWithUnknownParentAppeared(events, index, expectedView, in assertViewWithUnknownParentAppeared() 191 @NonNull List<ContentCaptureEvent> events, int index, @NonNull View expectedView, in assertViewWithUnknownParentAppeared() argument 197 .isEqualTo(expectedView.getClass().getName()); in assertViewWithUnknownParentAppeared() 199 .isEqualTo(expectedView.getAutofillId()); in assertViewWithUnknownParentAppeared() 224 @NonNull View expectedView, @Nullable AutofillId expectedParentId, in assertViewAppeared() argument 226 final ViewNode node = assertViewWithUnknownParentAppeared(events, index, expectedView, in assertViewAppeared() 236 @NonNull View expectedView, @Nullable AutofillId expectedParentId) { in assertViewAppeared() argument 237 assertViewAppeared(events, index, expectedView, expectedParentId, /* expectedText= */ null); in assertViewAppeared() 245 @NonNull View expectedView, @Nullable AutofillId expectedParentId) { in assertViewAppeared() argument [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MyAutofillCallback.java | 110 public MyEvent assertUiShownEvent(View expectedView) throws InterruptedException { in assertUiShownEvent() argument 115 .isSameInstanceAs(expectedView); in assertUiShownEvent() 122 public void assertUiShownEvent(View expectedView, int expectedChildId) in assertUiShownEvent() argument 124 final MyEvent event = assertUiShownEvent(expectedView); in assertUiShownEvent() 134 public int assertUiShownEventForVirtualChild(View expectedView) throws InterruptedException { in assertUiShownEventForVirtualChild() argument 135 final MyEvent event = assertUiShownEvent(expectedView); in assertUiShownEventForVirtualChild() 142 public MyEvent assertUiHiddenEvent(View expectedView) throws InterruptedException { in assertUiHiddenEvent() argument 147 .isSameInstanceAs(expectedView); in assertUiHiddenEvent() 154 public void assertUiHiddenEvent(View expectedView, int expectedChildId) in assertUiHiddenEvent() argument 156 final MyEvent event = assertUiHiddenEvent(expectedView); in assertUiHiddenEvent() [all …]
|