Home | History | Annotate | Download | only in documentsui

Lines Matching refs:DocumentInfo

32 import com.android.documentsui.base.DocumentInfo;
40 * Provides synchronous access to {@link DocumentInfo} instances given some identifying information
45 @Nullable DocumentInfo getRootDocument(RootInfo root);
46 @Nullable DocumentInfo getDocument(Uri uri);
47 @Nullable DocumentInfo getArchiveDocument(Uri uri);
52 List<DocumentInfo> getDocuments(String authority, List<String> docIds) throws RemoteException;
54 @Nullable Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName);
71 public @Nullable DocumentInfo getRootDocument(RootInfo root) {
77 public @Nullable DocumentInfo getDocument(Uri uri) {
79 return DocumentInfo.fromUri(mContext.getContentResolver(), uri);
81 Log.w(TAG, "Couldn't create DocumentInfo for uri: " + uri);
88 public List<DocumentInfo> getDocuments(String authority, List<String> docIds)
94 List<DocumentInfo> result = new ArrayList<>(docIds.size());
99 Log.e(TAG, "Couldn't create DocumentInfo for Uri: " + uri);
103 result.add(DocumentInfo.fromCursor(cursor, authority));
112 public DocumentInfo getArchiveDocument(Uri uri) {
132 public Uri createDocument(DocumentInfo parentDoc, String mimeType, String displayName) {