/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivity.java | 22 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 129 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared() 130 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in assertJustInitialViewsAppeared() 131 assertViewAppeared(events, 5, sessionId, rootView, grandpa1.getAutofillId()); in assertJustInitialViewsAppeared() 132 assertViewAppeared(events, 6, sessionId, activity.mUsernameLabel, rootId); in assertJustInitialViewsAppeared() 133 assertViewAppeared(events, 7, sessionId, activity.mUsername, rootId); in assertJustInitialViewsAppeared() 134 assertViewAppeared(events, 8, sessionId, activity.mPasswordLabel, rootId); in assertJustInitialViewsAppeared() 135 assertViewAppeared(events, 9, sessionId, activity.mPassword, rootId); in assertJustInitialViewsAppeared()
|
D | LoginActivityTest.java | 28 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 195 assertViewAppeared(mainEvents, 3, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_rootViewSession() 196 assertViewAppeared(mainEvents, 4, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_rootViewSession() 225 assertViewAppeared(childEvents, 0, childSessionId, activity.getRootView(), in testSimpleLifecycle_rootViewSession() 227 assertViewAppeared(childEvents, 1, childSessionId, activity.mUsernameLabel, rootId); in testSimpleLifecycle_rootViewSession() 228 assertViewAppeared(childEvents, 2, childSessionId, activity.mUsername, rootId); in testSimpleLifecycle_rootViewSession() 229 assertViewAppeared(childEvents, 3, childSessionId, activity.mPasswordLabel, rootId); in testSimpleLifecycle_rootViewSession() 230 assertViewAppeared(childEvents, 4, childSessionId, activity.mPassword, rootId); in testSimpleLifecycle_rootViewSession() 329 assertViewAppeared(events, 4, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate() 330 assertViewAppeared(events, 5, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate() [all …]
|
D | ChildlessActivityTest.java | 28 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 322 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in testAddAndRemoveImportantChild() 323 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in testAddAndRemoveImportantChild() 324 assertViewAppeared(events, 5, sessionId, rootView, grandpa1.getAutofillId()); in testAddAndRemoveImportantChild() 325 assertViewAppeared(events, 6, sessionId, child, rootId); in testAddAndRemoveImportantChild() 368 assertViewAppeared(events, 2, sessionId, child, rootView.getAutofillId()); in testAddImportantChildAfterSessionStarted() 369 assertViewAppeared(events, 3, sessionId, rootView, grandpa.getAutofillId()); in testAddImportantChildAfterSessionStarted() 416 assertViewAppeared(mainEvents, 2, mainSessionId, rootView, grandpa.getAutofillId()); in testAddAndRemoveImportantChildOnDifferentSession() 427 assertViewAppeared(childEvents, 1, childSessionId, child, rootView.getAutofillId()); in testAddAndRemoveImportantChildOnDifferentSession() 600 assertViewAppeared(childEvents, 1, child, rootId); in dinamicallyAddOneChildOnAnotherSessionTest() [all …]
|
D | Assertions.java | 160 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertDecorViewAppeared() 172 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertViewWithUnknownParentAppeared() 191 public static ContentCaptureEvent assertViewAppeared(@NonNull List<ContentCaptureEvent> events, in assertViewAppeared() method in Assertions 202 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions 214 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions 216 assertViewAppeared(events, index, expectedView, expectedParentId, /* expectedText= */ null); in assertViewAppeared() 222 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions 225 assertViewAppeared(events, index, expectedView, expectedParentId); in assertViewAppeared()
|
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 | BlankWithTitleActivity.java | 22 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 61 final ViewNode title = assertViewAppeared(events, 6).getViewNode(); in assertDefaultEvents()
|
D | CustomViewActivityTest.java | 22 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared; 169 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in testVirtualView_wrongWay() 170 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in testVirtualView_wrongWay()
|