Searched refs:rawContactCursor (Results 1 – 2 of 2) sorted by relevance
94 final Cursor rawContactCursor = resolver.query( in loadInBackground() local98 if (rawContactCursor == null) { in loadInBackground()102 if (rawContactCursor.getCount() < 1) { in loadInBackground()103 rawContactCursor.close(); in loadInBackground()107 rawContactCursor.moveToPosition(-1); in loadInBackground()111 while (rawContactCursor.moveToNext()) { in loadInBackground()113 rawContact.id = rawContactCursor.getLong(RAW_CONTACT_ID); in loadInBackground()115 rawContact.displayName = rawContactCursor.getString(DISPLAY_NAME_PRIMARY); in loadInBackground()116 rawContact.displayNameAlt = rawContactCursor.getString(DISPLAY_NAME_ALTERNATIVE); in loadInBackground()117 rawContact.accountName = rawContactCursor.getString(ACCOUNT_NAME); in loadInBackground()[all …]
7699 Cursor rawContactCursor = mResolver.query(RawContacts.CONTENT_URI, null, null, null, null); in testCleanupDanglingContacts_noDanglingContacts() local7703 assertEquals(2, rawContactCursor.getCount()); in testCleanupDanglingContacts_noDanglingContacts()