Searched refs:treeUri (Results 1 - 5 of 5) sorted by relevance

/frameworks/support/core-utils/java/android/support/v4/provider/
H A DDocumentFile.java123 * @param treeUri the {@link Intent#getData()} from a successful
126 public static DocumentFile fromTreeUri(Context context, Uri treeUri) { argument
129 DocumentsContractApi21.prepareTreeUri(treeUri));
/frameworks/support/core-utils/api21/android/support/v4/provider/
H A DDocumentsContractApi21.java47 public static Uri prepareTreeUri(Uri treeUri) { argument
48 return DocumentsContract.buildDocumentUriUsingTree(treeUri,
49 DocumentsContract.getTreeDocumentId(treeUri));
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
H A DDocumentFileTest.java45 private Uri treeUri; field in class:DocumentFileTest
71 treeUri = perms.get(0).getUri();
133 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
165 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
196 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
221 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
265 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
295 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
340 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
/frameworks/base/core/tests/coretests/src/android/provider/
H A DDocumentsProviderTest.java115 final Uri treeUri = DocumentsContract.buildTreeDocumentUri(authority, parentDocId);
116 return DocumentsContract.buildDocumentUriUsingTree(treeUri, docId);
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java816 * @param treeUri the subtree to leverage to gain access to the target
825 public static Uri buildDocumentUriUsingTree(Uri treeUri, String documentId) { argument
827 .authority(treeUri.getAuthority()).appendPath(PATH_TREE)
828 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT)
872 * @param treeUri the subtree to leverage to gain access to the target
882 public static Uri buildChildDocumentsUriUsingTree(Uri treeUri, String parentDocumentId) { argument
884 .authority(treeUri.getAuthority()).appendPath(PATH_TREE)
885 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT)
1389 * @param treeUri treeUri o
1393 findDocumentPath(ContentResolver resolver, Uri treeUri) argument
[all...]

Completed in 185 milliseconds