Searched refs:phoneLookupCursor (Results 1 – 1 of 1) sorted by relevance
334 Cursor phoneLookupCursor = null; in lookupContactFromUri() local337 phoneLookupCursor = mContext.getContentResolver().query(uri, projection, null, null, null); in lookupContactFromUri()342 if (phoneLookupCursor == null) { in lookupContactFromUri()347 if (!phoneLookupCursor.moveToFirst()) { in lookupContactFromUri()350 String lookupKey = phoneLookupCursor.getString(PhoneQuery.LOOKUP_KEY); in lookupContactFromUri()351 ContactInfo contactInfo = createPhoneLookupContactInfo(phoneLookupCursor, lookupKey); in lookupContactFromUri()355 phoneLookupCursor.close(); in lookupContactFromUri()359 private ContactInfo createPhoneLookupContactInfo(Cursor phoneLookupCursor, String lookupKey) { in createPhoneLookupContactInfo() argument363 Contacts.getLookupUri(phoneLookupCursor.getLong(PhoneQuery.PERSON_ID), lookupKey); in createPhoneLookupContactInfo()364 info.name = phoneLookupCursor.getString(PhoneQuery.NAME); in createPhoneLookupContactInfo()[all …]