Searched refs:treeUri (Results 1 – 5 of 5) sorted by relevance
/frameworks/support/core-utils/tests/java/android/support/v4/provider/ |
D | DocumentFileTest.java | 45 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/api21/android/support/v4/provider/ |
D | DocumentsContractApi21.java | 47 public static Uri prepareTreeUri(Uri treeUri) { in prepareTreeUri() argument 48 return DocumentsContract.buildDocumentUriUsingTree(treeUri, in prepareTreeUri() 49 DocumentsContract.getTreeDocumentId(treeUri)); in prepareTreeUri()
|
/frameworks/support/core-utils/java/android/support/v4/provider/ |
D | DocumentFile.java | 126 public static DocumentFile fromTreeUri(Context context, Uri treeUri) { in fromTreeUri() argument 129 DocumentsContractApi21.prepareTreeUri(treeUri)); in fromTreeUri()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 825 public static Uri buildDocumentUriUsingTree(Uri treeUri, String documentId) { in buildDocumentUriUsingTree() argument 827 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildDocumentUriUsingTree() 828 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT) in buildDocumentUriUsingTree() 882 public static Uri buildChildDocumentsUriUsingTree(Uri treeUri, String parentDocumentId) { in buildChildDocumentsUriUsingTree() argument 884 .authority(treeUri.getAuthority()).appendPath(PATH_TREE) in buildChildDocumentsUriUsingTree() 885 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT) in buildChildDocumentsUriUsingTree() 1393 public static Path findDocumentPath(ContentResolver resolver, Uri treeUri) in findDocumentPath() argument 1395 checkArgument(isTreeUri(treeUri), treeUri + " is not a tree uri."); in findDocumentPath() local 1398 treeUri.getAuthority()); in findDocumentPath() 1400 return findDocumentPath(client, treeUri); in findDocumentPath()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | DocumentsProviderTest.java | 115 final Uri treeUri = DocumentsContract.buildTreeDocumentUri(authority, parentDocId); in buildTreeDocumentUri() local 116 return DocumentsContract.buildDocumentUriUsingTree(treeUri, docId); in buildTreeDocumentUri()
|