Searched refs:metadataCursor (Results 1 – 4 of 4) sorted by relevance
226 final Cursor metadataCursor = contentResolver.query(contentUri, in isVirtualDocument() local228 if (metadataCursor != null) { in isVirtualDocument()231 if (metadataCursor.moveToNext()) { in isVirtualDocument()232 flags = metadataCursor.getInt(0); in isVirtualDocument()238 metadataCursor.close(); in isVirtualDocument()270 Cursor metadataCursor = null; in generateLocalAttachment() local287 metadataCursor = contentResolver.query( in generateLocalAttachment()290 if (metadataCursor != null) { in generateLocalAttachment()292 if (metadataCursor.moveToNext()) { in generateLocalAttachment()293 name = metadataCursor.getString(0); in generateLocalAttachment()[all …]
114 Cursor metadataCursor; in generateFileInfo() local116 metadataCursor = contentResolver.query(uri, new String[]{ in generateFileInfo()121 metadataCursor = null; in generateFileInfo()127 if (metadataCursor != null) { in generateFileInfo()129 if (metadataCursor.moveToFirst()) { in generateFileInfo()130 int indexName = metadataCursor.getColumnIndex(OpenableColumns.DISPLAY_NAME); in generateFileInfo()131 int indexSize = metadataCursor.getColumnIndex(OpenableColumns.SIZE); in generateFileInfo()133 fileName = metadataCursor.getString(indexName); in generateFileInfo()136 length = metadataCursor.getLong(indexSize); in generateFileInfo()143 metadataCursor.close(); in generateFileInfo()
101 Cursor metadataCursor = contentResolver.query(contentUri, new String[]{ in generateFileInfo() local104 if (metadataCursor != null) { in generateFileInfo()106 if (metadataCursor.moveToFirst()) { in generateFileInfo()107 hint = metadataCursor.getString(0); in generateFileInfo()108 length = metadataCursor.getLong(1); in generateFileInfo()109 mimeType = metadataCursor.getString(2); in generateFileInfo()112 metadataCursor.close(); in generateFileInfo()
152 Cursor metadataCursor = in queryTransfersInBatch() local157 if (metadataCursor == null) { in queryTransfersInBatch()161 for (metadataCursor.moveToFirst(); !metadataCursor.isAfterLast(); in queryTransfersInBatch()162 metadataCursor.moveToNext()) { in queryTransfersInBatch()163 String fileName = metadataCursor.getString(0); in queryTransfersInBatch()174 metadataCursor.close(); in queryTransfersInBatch()