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.java116 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertJustInitialViewsAppeared() local
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()
150 final AutofillId rootId = activity.getRootView().getAutofillId(); in assertInitialViewsDisappeared() local
164 rootId, in assertInitialViewsDisappeared()
172 rootId, in assertInitialViewsDisappeared()
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()
364 final AutofillId rootId = activity.getRootView().getAutofillId(); in testSimpleLifecycle_changeContextOnCreate() local
384 assertViewAppeared(events, 7, sessionId, activity.mUsernameLabel, rootId); in testSimpleLifecycle_changeContextOnCreate()
385 assertViewAppeared(events, 8, sessionId, activity.mUsername, rootId); in testSimpleLifecycle_changeContextOnCreate()
386 assertViewAppeared(events, 9, sessionId, activity.mPasswordLabel, rootId); in testSimpleLifecycle_changeContextOnCreate()
[all …]
DChildlessActivityTest.java308 final AutofillId rootId = rootView.getAutofillId(); in testAddAndRemoveImportantChild() local
322 .assertViewAppeared(sessionId, child, rootId) in testAddAndRemoveImportantChild()
597 final AutofillId rootId = activity.getRootView().getAutofillId(); in dinamicallyAddOneChildOnAnotherSessionTest() local
599 assertViewAppeared(childEvents, 1, child, rootId); in dinamicallyAddOneChildOnAnotherSessionTest()
727 final AutofillId rootId = rootView.getAutofillId(); in testDinamicallyManageSiblingSessions() local
738 .assertViewDisappeared(rootId) in testDinamicallyManageSiblingSessions()
744 .assertViewAppeared(s1c1, rootId) in testDinamicallyManageSiblingSessions()
750 .assertViewAppeared(s2c1, rootId) in testDinamicallyManageSiblingSessions()
751 .assertViewAppeared(s2c2, rootId) in testDinamicallyManageSiblingSessions()
757 .assertViewAppeared(s3c1, 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.java344 final String rootId = DocumentsContract.getRootId(rootUri); in acquireAccess() local
345 final String documentId = rootId + ":" + directoryName; in acquireAccess()