Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java330 String rootId = null; in findDocumentPath() local
332 rootId = currentDocId.equals(mLocalRoot.docId) ? "local" : "create"; in findDocumentPath()
334 return new Path(rootId, path); in findDocumentPath()
338 public Cursor querySearchDocuments(String rootId, String query, String[] projection) in querySearchDocuments() argument
501 public void ejectRoot(String rootId) { in ejectRoot() argument
502 if ("eject".equals(rootId)) { in ejectRoot()
508 throw new IllegalStateException("Root " + rootId + " doesn't support ejection."); in ejectRoot()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java124 final String rootId = "rootId"; in testRootUri() local
137 final Uri uri = DocumentsContract.buildRootUri(auth, rootId); in testRootUri()
140 assertEquals(rootId, DocumentsContract.getRootId(uri)); in testRootUri()
147 final String rootId = "rootId"; in testRootUri_returnFalse() local
154 final Uri uri = DocumentsContract.buildRootUri(auth, rootId); in testRootUri_returnFalse()
157 assertEquals(rootId, DocumentsContract.getRootId(uri)); in testRootUri_returnFalse()