Searched refs:dataCursor (Results 1 – 4 of 4) sorted by relevance
278 Cursor dataCursor = context.getContentResolver() in updateSecondaryVersionCounter() local281 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() local311 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 …]
204 final Cursor dataCursor = queryRawContactsForSimContacts(contacts); in findAccountsOfExistingSimContacts() local207 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()
329 Cursor dataCursor = contentResolver.query(Data.CONTENT_URI, in loadAggregationSuggestions() local331 if (dataCursor != null) { in loadAggregationSuggestions()333 mMainHandler.obtainMessage(MESSAGE_DATA_CURSOR, dataCursor)); in loadAggregationSuggestions()364 protected void deliverNotification(Cursor dataCursor) { in deliverNotification() argument368 mDataCursor = dataCursor; in deliverNotification()
206 final Cursor dataCursor = queryAllDataInAccount(); in ignoresEmptyContacts() local207 assertThat(dataCursor, ContactsMatchers.hasCount(1)); in ignoresEmptyContacts()209 dataCursor.close(); in ignoresEmptyContacts()234 final Cursor dataCursor = queryAllDataInAccount(); in largeImport() local236 assertThat(dataCursor, ContactsMatchers.hasCount(MAX_SIM_CONTACTS * 3)); in largeImport()238 dataCursor.close(); in largeImport()