Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/calllog/
DContactInfoHelper.java52 public ContactInfo lookupNumber(String number, String countryIso) { in lookupNumber()
53 final ContactInfo info; in lookupNumber()
58 ContactInfo sipInfo = queryContactInfoForSipAddress(number); in lookupNumber()
59 if (sipInfo == null || sipInfo == ContactInfo.EMPTY) { in lookupNumber()
70 ContactInfo phoneInfo = queryContactInfoForPhoneNumber(number, countryIso); in lookupNumber()
72 if (phoneInfo == null || phoneInfo == ContactInfo.EMPTY) { in lookupNumber()
79 final ContactInfo updatedInfo; in lookupNumber()
85 if (info == ContactInfo.EMPTY) { in lookupNumber()
87 updatedInfo = new ContactInfo(); in lookupNumber()
106 private ContactInfo lookupContactFromUri(Uri uri) { in lookupContactFromUri()
[all …]
DCallLogAdapter.java106 private ExpirableCache<NumberWithCountryIso, ContactInfo> mContactInfoCache;
117 public final ContactInfo callLogInfo;
119 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) { in ContactInfoRequest()
335 void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, in enqueueRequest()
358 private boolean queryContactInfo(String number, String countryIso, ContactInfo callLogInfo) { in queryContactInfo()
359 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso); in queryContactInfo()
369 ContactInfo existingInfo = mContactInfoCache.getPossiblyExpired(numberCountryIso); in queryContactInfo()
370 boolean updated = (existingInfo != ContactInfo.EMPTY) && !info.equals(existingInfo); in queryContactInfo()
529 final ContactInfo cachedContactInfo = getContactInfoFromCallLog(c); in bindView()
551 ExpirableCache.CachedValue<ContactInfo> cachedInfo = in bindView()
[all …]
DContactInfo.java27 public final class ContactInfo { class
40 public static ContactInfo EMPTY = new ContactInfo();
59 ContactInfo other = (ContactInfo) obj; in equals()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogAdapterTest.java58 public ContactInfo lookupNumber(String number, String countryIso) { in setUp()
59 ContactInfo info = new ContactInfo(); in setUp()
148 ContactInfo info = createContactInfo(); in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest()
164 private ContactInfo createContactInfo() { in createContactInfo()
165 ContactInfo info = new ContactInfo(); in createContactInfo()
199 public final ContactInfo callLogInfo;
202 public Request(String number, String countryIso, ContactInfo callLogInfo, in Request()
219 void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, in enqueueRequest()
DCallLogFragmentTest.java473 ContactInfo contactInfo = new ContactInfo(); in insertWithCachedValues()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java61 import com.android.dialer.calllog.ContactInfo;
621 ContactInfo info = in getPhoneCallDetailsForUri()