Home
last modified time | relevance | path

Searched refs:dataCursor (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java278 Cursor dataCursor = context.getContentResolver() in updateSecondaryVersionCounter() local
281 if (dataCursor == null) { in updateSecondaryVersionCounter()
286 while (dataCursor.moveToNext()) { in updateSecondaryVersionCounter()
288 dataCursor.getString(dataCursor.getColumnIndex(Data.MIMETYPE)))) { in updateSecondaryVersionCounter()
293 dataCursor.close(); in updateSecondaryVersionCounter()
308 Cursor dataCursor = context.getContentResolver() in updateSecondaryVersionCounter() local
311 if (dataCursor == null) { in updateSecondaryVersionCounter()
316 int indexData = dataCursor.getColumnIndex(Data.DATA1); in updateSecondaryVersionCounter()
317 int indexMimeType = dataCursor.getColumnIndex(Data.MIMETYPE); in updateSecondaryVersionCounter()
320 while (dataCursor.moveToNext()) { in updateSecondaryVersionCounter()
[all …]
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java204 final Cursor dataCursor = queryRawContactsForSimContacts(contacts); in findAccountsOfExistingSimContacts() local
207 while (dataCursor.moveToNext()) { in findAccountsOfExistingSimContacts()
208 final String number = DataQuery.getPhoneNumber(dataCursor); in findAccountsOfExistingSimContacts()
209 final String name = DataQuery.getDisplayName(dataCursor); in findAccountsOfExistingSimContacts()
216 final long id = DataQuery.getRawContactId(dataCursor); in findAccountsOfExistingSimContacts()
223 dataCursor.close(); in findAccountsOfExistingSimContacts()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java329 Cursor dataCursor = contentResolver.query(Data.CONTENT_URI, in loadAggregationSuggestions() local
331 if (dataCursor != null) { in loadAggregationSuggestions()
333 mMainHandler.obtainMessage(MESSAGE_DATA_CURSOR, dataCursor)); in loadAggregationSuggestions()
364 protected void deliverNotification(Cursor dataCursor) { in deliverNotification() argument
368 mDataCursor = dataCursor; in deliverNotification()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java206 final Cursor dataCursor = queryAllDataInAccount(); in ignoresEmptyContacts() local
207 assertThat(dataCursor, ContactsMatchers.hasCount(1)); in ignoresEmptyContacts()
209 dataCursor.close(); in ignoresEmptyContacts()
234 final Cursor dataCursor = queryAllDataInAccount(); in largeImport() local
236 assertThat(dataCursor, ContactsMatchers.hasCount(MAX_SIM_CONTACTS * 3)); in largeImport()
238 dataCursor.close(); in largeImport()