Home
last modified time | relevance | path

Searched refs:rootId (Results 1 – 6 of 6) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivity.java110 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertJustInitialViewsAppeared() local
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()
146 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertInitialViewsAppeared() local
160 .assertViewAppeared(sessionId, activity.mUsernameLabel, rootId) in assertInitialViewsAppeared()
161 .assertViewAppeared(sessionId, activity.mUsername, rootId) in assertInitialViewsAppeared()
162 .assertViewAppeared(sessionId, activity.mPasswordLabel, rootId) in assertInitialViewsAppeared()
163 .assertViewAppeared(sessionId, activity.mPassword, rootId) in assertInitialViewsAppeared()
[all …]
DLoginActivityTest.java240 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_rootViewSession() local
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()
285 rootId, in testSimpleLifecycle_rootViewSession()
366 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_changeContextOnCreate() local
386 assertViewAppeared(events, 7, sessionId, activity.mUsernameLabel, rootId); in testSimpleLifecycle_changeContextOnCreate()
387 assertViewAppeared(events, 8, sessionId, activity.mUsername, rootId); in testSimpleLifecycle_changeContextOnCreate()
388 assertViewAppeared(events, 9, sessionId, activity.mPasswordLabel, rootId); in testSimpleLifecycle_changeContextOnCreate()
[all …]
DChildlessActivityTest.java312 final AutofillId rootId = rootView.getAutofillId(); in testAddAndRemoveImportantChild() local
326 .assertViewAppeared(sessionId, child, rootId) in testAddAndRemoveImportantChild()
611 final AutofillId rootId = activity.getRootView().getAutofillId(); in dinamicallyAddOneChildOnAnotherSessionTest() local
613 assertViewAppeared(childEvents, 1, child, rootId); in dinamicallyAddOneChildOnAnotherSessionTest()
741 final AutofillId rootId = rootView.getAutofillId(); in testDinamicallyManageSiblingSessions() local
759 .assertViewAppeared(s1c1, rootId) in testDinamicallyManageSiblingSessions()
765 .assertViewAppeared(s2c1, rootId) in testDinamicallyManageSiblingSessions()
766 .assertViewAppeared(s2c2, rootId) in testDinamicallyManageSiblingSessions()
772 .assertViewAppeared(s3c1, rootId) in testDinamicallyManageSiblingSessions()
773 .assertViewAppeared(s3c2, rootId) in testDinamicallyManageSiblingSessions()
[all …]
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java331 String rootId = null; in findDocumentPath() local
333 rootId = currentDocId.equals(mLocalRoot.docId) ? "local" : "create"; in findDocumentPath()
335 return new Path(rootId, path); in findDocumentPath()
339 public Cursor querySearchDocuments(String rootId, String query, String[] projection) in querySearchDocuments() argument
502 public void ejectRoot(String rootId) { in ejectRoot() argument
503 if ("eject".equals(rootId)) { in ejectRoot()
509 throw new IllegalStateException("Root " + rootId + " doesn't support ejection."); in ejectRoot()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java132 final String rootId = "rootId"; in testRootUri() local
145 final Uri uri = DocumentsContract.buildRootUri(auth, rootId); in testRootUri()
148 assertEquals(rootId, DocumentsContract.getRootId(uri)); in testRootUri()
155 final String rootId = "rootId"; in testRootUri_returnFalse() local
162 final Uri uri = DocumentsContract.buildRootUri(auth, rootId); in testRootUri_returnFalse()
165 assertEquals(rootId, DocumentsContract.getRootId(uri)); in testRootUri_returnFalse()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java472 final String rootId = DocumentsContract.getRootId(rootUri); in acquireAccess() local
473 final String documentId = rootId + ":" + directoryName; in acquireAccess()