Home
last modified time | relevance | path

Searched refs:metadataCursor (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfo.java128 Cursor metadataCursor; in generateFileInfo() local
130 metadataCursor = in generateFileInfo()
148 metadataCursor = null; in generateFileInfo()
159 if (metadataCursor != null) { in generateFileInfo()
161 if (metadataCursor.moveToFirst()) { in generateFileInfo()
162 int indexName = metadataCursor.getColumnIndex(OpenableColumns.DISPLAY_NAME); in generateFileInfo()
163 int indexSize = metadataCursor.getColumnIndex(OpenableColumns.SIZE); in generateFileInfo()
165 fileName = metadataCursor.getString(indexName); in generateFileInfo()
168 length = metadataCursor.getLong(indexSize); in generateFileInfo()
173 metadataCursor.close(); in generateFileInfo()
DBluetoothOppReceiveFileInfo.java99 Cursor metadataCursor = in generateFileInfo() local
112 if (metadataCursor != null) { in generateFileInfo()
114 if (metadataCursor.moveToFirst()) { in generateFileInfo()
115 hint = metadataCursor.getString(0); in generateFileInfo()
116 length = metadataCursor.getLong(1); in generateFileInfo()
117 mimeType = metadataCursor.getString(2); in generateFileInfo()
120 metadataCursor.close(); in generateFileInfo()
DBluetoothOppUtility.java163 Cursor metadataCursor = in queryTransfersInBatch() local
173 if (metadataCursor == null) { in queryTransfersInBatch()
177 for (metadataCursor.moveToFirst(); in queryTransfersInBatch()
178 !metadataCursor.isAfterLast(); in queryTransfersInBatch()
179 metadataCursor.moveToNext()) { in queryTransfersInBatch()
180 String fileName = metadataCursor.getString(0); in queryTransfersInBatch()
189 metadataCursor.close(); in queryTransfersInBatch()
220 Cursor metadataCursor = in openReceivedFile() local
229 if (metadataCursor != null) { in openReceivedFile()
231 if (metadataCursor.moveToFirst()) { in openReceivedFile()
[all …]