/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivity.java | 22 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 123 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared() 124 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in assertJustInitialViewsAppeared() 125 assertViewAppeared(events, 5, sessionId, rootView, grandpa1.getAutofillId()); in assertJustInitialViewsAppeared() 126 assertViewAppeared(events, 6, sessionId, activity.mUsernameLabel, rootId); in assertJustInitialViewsAppeared() 127 assertViewAppeared(events, 7, sessionId, activity.mUsername, rootId); in assertJustInitialViewsAppeared() 128 assertViewAppeared(events, 8, sessionId, activity.mPasswordLabel, rootId); in assertJustInitialViewsAppeared() 129 assertViewAppeared(events, 9, sessionId, activity.mPassword, rootId); in assertJustInitialViewsAppeared() 157 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in assertInitialViewsAppeared() 158 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in assertInitialViewsAppeared() [all …]
|
D | PartialNotImportantActivityTest.java | 153 .assertViewAppeared(notImportantParentView, root.getAutofillId()) in testAddAndRemoveImportantChild() 154 .assertViewAppeared(container, notImportantParentView.getAutofillId()) in testAddAndRemoveImportantChild() 155 .assertViewAppeared(child, container.getAutofillId()) in testAddAndRemoveImportantChild() 199 .assertViewAppeared(notImportantParentView, root.getAutofillId()) in testAddImportantChildAfterSessionStarted() 200 .assertViewAppeared(container, notImportantParentView.getAutofillId()) in testAddImportantChildAfterSessionStarted() 201 .assertViewAppeared(child, container.getAutofillId()); in testAddImportantChildAfterSessionStarted()
|
D | ChildlessActivityTest.java | 27 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 323 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testAddAndRemoveImportantChild() 324 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testAddAndRemoveImportantChild() 325 .assertViewAppeared(sessionId, rootView, grandpa1.getAutofillId()) in testAddAndRemoveImportantChild() 326 .assertViewAppeared(sessionId, child, rootId) in testAddAndRemoveImportantChild() 371 .assertViewAppeared(sessionId, grandpa2, decor.getAutofillId()) in testAddImportantChildAfterSessionStarted() 372 .assertViewAppeared(sessionId, grandpa, grandpa2.getAutofillId()) in testAddImportantChildAfterSessionStarted() 373 .assertViewAppeared(sessionId, rootView, grandpa.getAutofillId()) in testAddImportantChildAfterSessionStarted() 374 .assertViewAppeared(sessionId, child, rootView.getAutofillId()) in testAddImportantChildAfterSessionStarted() 425 .assertViewAppeared(mainSessionId, grandpa2, decor.getAutofillId()) in testAddAndRemoveImportantChildOnDifferentSession() [all …]
|
D | LoginActivityTest.java | 28 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 247 assertViewAppeared(mainEvents, 3, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_rootViewSession() 248 assertViewAppeared(mainEvents, 4, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_rootViewSession() 277 assertViewAppeared(childEvents, 0, childSessionId, activity.getRootView(), in testSimpleLifecycle_rootViewSession() 279 assertViewAppeared(childEvents, 1, childSessionId, activity.mUsernameLabel, rootId); in testSimpleLifecycle_rootViewSession() 280 assertViewAppeared(childEvents, 2, childSessionId, activity.mUsername, rootId); in testSimpleLifecycle_rootViewSession() 281 assertViewAppeared(childEvents, 3, childSessionId, activity.mPasswordLabel, rootId); in testSimpleLifecycle_rootViewSession() 282 assertViewAppeared(childEvents, 4, childSessionId, activity.mPassword, rootId); in testSimpleLifecycle_rootViewSession() 383 assertViewAppeared(events, 4, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate() 384 assertViewAppeared(events, 5, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate() [all …]
|
D | EventsAssertor.java | 134 public EventsAssertor assertViewAppeared(@NonNull View expectedView) { in assertViewAppeared() method in EventsAssertor 145 public EventsAssertor assertViewAppeared(@NonNull View expectedView, in assertViewAppeared() method in EventsAssertor 157 public EventsAssertor assertViewAppeared(@NonNull ContentCaptureSessionId expectedSessionId, in assertViewAppeared() method in EventsAssertor 159 assertViewAppeared(expectedView, expectedParentId); in assertViewAppeared() 169 public EventsAssertor assertViewAppeared(@NonNull ContentCaptureSessionId expectedSessionId, in assertViewAppeared() method in EventsAssertor 171 assertViewAppeared(expectedView); in assertViewAppeared() 181 public EventsAssertor assertViewAppeared(@NonNull String text) { in assertViewAppeared() method in EventsAssertor
|
D | CustomViewActivity.java | 22 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 135 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared() 136 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in assertJustInitialViewsAppeared()
|
D | Assertions.java | 181 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertDecorViewAppeared() 193 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertViewWithUnknownParentAppeared() 212 public static ContentCaptureEvent assertViewAppeared(@NonNull List<ContentCaptureEvent> events, in assertViewAppeared() method in Assertions 223 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions 235 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions 237 assertViewAppeared(events, index, expectedView, expectedParentId, /* expectedText= */ null); in assertViewAppeared() 243 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions 246 assertViewAppeared(events, index, expectedView, expectedParentId); in assertViewAppeared()
|
D | BlankWithTitleActivity.java | 49 .assertViewAppeared("Blanka") in assertDefaultEvents()
|
D | CustomViewActivityTest.java | 147 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testSessionLifecycleEvents() 148 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testSessionLifecycleEvents() 152 .assertViewAppeared(session.id, customViewRef.get()) in testSessionLifecycleEvents() 213 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testVirtualView_wrongWay() 214 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testVirtualView_wrongWay() 217 .assertViewAppeared(session.id, activity.mCustomView) in testVirtualView_wrongWay()
|