Home
last modified time | relevance | path

Searched refs:treeUri (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/core-utils/tests/java/android/support/v4/provider/
DDocumentFileTest.java45 private Uri treeUri; field in DocumentFileTest
71 treeUri = perms.get(0).getUri(); in setUp()
133 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri)); in testSimple() local
165 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri)); in testTraverse() local
196 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri)); in testReadAndWrite() local
221 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri)); in testMimes() local
265 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri)); in testCreate() local
295 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri)); in testDelete() local
340 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri)); in testRename() local
/frameworks/support/core-utils/java/android/support/v4/provider/
DDocumentFile.java127 public static DocumentFile fromTreeUri(Context context, Uri treeUri) { in fromTreeUri() argument
130 DocumentsContract.buildDocumentUriUsingTree(treeUri, in fromTreeUri()
131 DocumentsContract.getTreeDocumentId(treeUri))); in fromTreeUri()
/frameworks/base/core/java/android/provider/
DDocumentsContract.java843 public static Uri buildDocumentUriUsingTree(Uri treeUri, String documentId) { in buildDocumentUriUsingTree() argument
845 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildDocumentUriUsingTree()
846 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT) in buildDocumentUriUsingTree()
900 public static Uri buildChildDocumentsUriUsingTree(Uri treeUri, String parentDocumentId) { in buildChildDocumentsUriUsingTree() argument
902 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildChildDocumentsUriUsingTree()
903 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT) in buildChildDocumentsUriUsingTree()
1494 public static Path findDocumentPath(ContentResolver resolver, Uri treeUri) in findDocumentPath() argument
1496 checkArgument(isTreeUri(treeUri), treeUri + " is not a tree uri."); in findDocumentPath() local
1499 treeUri.getAuthority()); in findDocumentPath()
1501 return findDocumentPath(client, treeUri); in findDocumentPath()
/frameworks/base/core/tests/coretests/src/android/provider/
DDocumentsProviderTest.java115 final Uri treeUri = DocumentsContract.buildTreeDocumentUri(authority, parentDocId); in buildTreeDocumentUri() local
116 return DocumentsContract.buildDocumentUriUsingTree(treeUri, docId); in buildTreeDocumentUri()