Searched refs:metadataCursor (Results 1 – 3 of 3) sorted by relevance
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()
151 Cursor metadataCursor = in queryTransfersInBatch() local156 if (metadataCursor == null) { in queryTransfersInBatch()160 for (metadataCursor.moveToFirst(); !metadataCursor.isAfterLast(); in queryTransfersInBatch()161 metadataCursor.moveToNext()) { in queryTransfersInBatch()162 String fileName = metadataCursor.getString(0); in queryTransfersInBatch()173 metadataCursor.close(); in queryTransfersInBatch()194 Cursor metadataCursor = context.getContentResolver().query(uri, new String[]{ in openReceivedFile() local196 if (metadataCursor != null) { in openReceivedFile()198 if (metadataCursor.moveToFirst()) { in openReceivedFile()199 path = Uri.parse(metadataCursor.getString(0)); in openReceivedFile()[all …]
95 Cursor metadataCursor = contentResolver.query(contentUri, new String[]{ in generateFileInfo() local98 if (metadataCursor != null) { in generateFileInfo()100 if (metadataCursor.moveToFirst()) { in generateFileInfo()101 hint = metadataCursor.getString(0); in generateFileInfo()102 length = metadataCursor.getLong(1); in generateFileInfo()103 mimeType = metadataCursor.getString(2); in generateFileInfo()106 metadataCursor.close(); in generateFileInfo()