Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java320 try (Cursor phoneLookupCursor = in lookupContactFromUri() argument
329 if (phoneLookupCursor == null) { in lookupContactFromUri()
334 if (!phoneLookupCursor.moveToFirst()) { in lookupContactFromUri()
344 phoneLookupCursor, PhoneQuery.MATCHED_NUMBER, uri); in lookupContactFromUri()
349 String lookupKey = phoneLookupCursor.getString(PhoneQuery.LOOKUP_KEY); in lookupContactFromUri()
350 ContactInfo contactInfo = createPhoneLookupContactInfo(phoneLookupCursor, lookupKey); in lookupContactFromUri()
356 private ContactInfo createPhoneLookupContactInfo(Cursor phoneLookupCursor, String lookupKey) { in createPhoneLookupContactInfo() argument
360 Contacts.getLookupUri(phoneLookupCursor.getLong(PhoneQuery.PERSON_ID), lookupKey); in createPhoneLookupContactInfo()
361 info.name = phoneLookupCursor.getString(PhoneQuery.NAME); in createPhoneLookupContactInfo()
362 info.type = phoneLookupCursor.getInt(PhoneQuery.PHONE_TYPE); in createPhoneLookupContactInfo()
[all …]