Lines Matching refs:DocumentInfo
26 import static com.android.documentsui.model.DocumentInfo.getCursorLong;
27 import static com.android.documentsui.model.DocumentInfo.getCursorString;
56 import com.android.documentsui.model.DocumentInfo;
75 final List<DocumentInfo> mSrcs;
76 final ArrayList<DocumentInfo> convertedFiles = new ArrayList<>();
96 String id, DocumentStack stack, List<DocumentInfo> srcs) {
109 @OpType int opType, String id, DocumentStack destination, List<DocumentInfo> srcs) {
234 DocumentInfo srcInfo;
235 DocumentInfo dstInfo = stack.peek();
280 * @param srcParent DocumentInfo for the parent of the document to process.
286 void processDocument(DocumentInfo src, DocumentInfo srcParent,
287 DocumentInfo dstDirInfo) throws ResourceException {
314 void byteCopyDocument(DocumentInfo src, DocumentInfo dest) throws ResourceException {
363 DocumentInfo dstInfo = null;
365 dstInfo = DocumentInfo.fromUri(getContentResolver(), dstUri);
367 throw new ResourceException("Could not load DocumentInfo for newly created file %s.",
387 private void copyDirectoryHelper(DocumentInfo srcDir, DocumentInfo destDir)
409 DocumentInfo src;
412 src = DocumentInfo.fromCursor(cursor, srcDir.authority);
443 private void copyFileHelper(DocumentInfo src, DocumentInfo dest, DocumentInfo destParent,
548 private long calculateSize(List<DocumentInfo> srcs) throws ResourceException {
551 for (DocumentInfo src : srcs) {
613 boolean isDescendentOf(DocumentInfo doc, DocumentInfo parent)