Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/contactinfo/
DContactInfoCache.java147 public ContactInfo getValue(String number, String countryIso, ContactInfo cachedContactInfo) { in getValue() argument
155 info = cachedContactInfo; in getValue()
158 enqueueRequest(number, countryIso, cachedContactInfo, true); in getValue()
164 enqueueRequest(number, countryIso, cachedContactInfo, false); in getValue()
165 } else if (!callLogInfoMatches(cachedContactInfo, info)) { in getValue()
170 enqueueRequest(number, countryIso, cachedContactInfo, false); in getValue()
175 info = cachedContactInfo; in getValue()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogNotificationsHelperTest.java124 ContactInfo cachedContactInfo = new ContactInfo(); in testGetContactInfo_NullCachedLookup() local
125 cachedContactInfo.number = TEST_VALID_NUMBER; in testGetContactInfo_NullCachedLookup()
126 cachedContactInfo.formattedNumber = TEST_FORMATTED_NUMBER; in testGetContactInfo_NullCachedLookup()
128 .thenReturn(cachedContactInfo); in testGetContactInfo_NullCachedLookup()
DCallLogAdapterTest.java905 ContactInfo cachedContactInfo) { in getValue() argument
909 return super.getValue(number, countryIso, cachedContactInfo); in getValue()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogNotificationsHelper.java141 ContactInfo cachedContactInfo = mContactInfoHelper.lookupNumber(number, countryIso); in getContactInfo() local
143 if (cachedContactInfo != null && !TextUtils.isEmpty(cachedContactInfo.name)) { in getContactInfo()
144 return cachedContactInfo; in getContactInfo()
DCallLogAdapter.java504 final ContactInfo cachedContactInfo = ContactInfoHelper.getContactInfo(c); in bindCallLogListViewHolder() local
515 countryIso, cachedContactInfo); in bindCallLogListViewHolder()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallerInfoAsyncQuery.java536 CachedContactInfo cachedContactInfo = CallerInfoUtils in addCallerInfoIntoCache() local
539 cachedContactInfo.setDirectorySource(directoryLabel, directoryId); in addCallerInfoIntoCache()
540 mCachedNumberLookupService.addContact(mContext, cachedContactInfo); in addCallerInfoIntoCache()