Searched refs:rootId (Results 1 – 2 of 2) sorted by relevance
330 String rootId = null; in findDocumentPath() local332 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() argument501 public void ejectRoot(String rootId) { in ejectRoot() argument502 if ("eject".equals(rootId)) { in ejectRoot()508 throw new IllegalStateException("Root " + rootId + " doesn't support ejection."); in ejectRoot()
124 final String rootId = "rootId"; in testRootUri() local137 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() local154 final Uri uri = DocumentsContract.buildRootUri(auth, rootId); in testRootUri_returnFalse()157 assertEquals(rootId, DocumentsContract.getRootId(uri)); in testRootUri_returnFalse()