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

/frameworks/support/v4/api21/android/support/v4/provider/
H A DDocumentsContractApi21.java41 public static Uri prepareTreeUri(Uri treeUri) { argument
42 return DocumentsContract.buildDocumentUriUsingTree(treeUri,
43 DocumentsContract.getTreeDocumentId(treeUri));
/frameworks/support/v4/java/android/support/v4/provider/
H A DDocumentFile.java124 * @param treeUri the {@link Intent#getData()} from a successful
127 public static DocumentFile fromTreeUri(Context context, Uri treeUri) { argument
131 DocumentsContractApi21.prepareTreeUri(treeUri));
/frameworks/support/tests/java/android/support/v4/provider/
H A DDocumentFileTest.java41 private Uri treeUri; field in class:DocumentFileTest
67 treeUri = perms.get(0).getUri();
112 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
144 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
175 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
200 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
244 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
274 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
319 test.exec(DocumentFile.fromTreeUri(getContext(), treeUri));
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java601 * @param treeUri the subtree to leverage to gain access to the target
610 public static Uri buildDocumentUriUsingTree(Uri treeUri, String documentId) { argument
612 .authority(treeUri.getAuthority()).appendPath(PATH_TREE)
613 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT)
657 * @param treeUri the subtree to leverage to gain access to the target
667 public static Uri buildChildDocumentsUriUsingTree(Uri treeUri, String parentDocumentId) { argument
669 .authority(treeUri.getAuthority()).appendPath(PATH_TREE)
670 .appendPath(getTreeDocumentId(treeUri)).appendPath(PATH_DOCUMENT)

Completed in 779 milliseconds