Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java58 private final CachedNumberLookupService cachedNumberLookupService; field in ContactInfoHelper
63 cachedNumberLookupService = PhoneNumberCache.get(this.context).getCachedNumberLookupService(); in ContactInfoHelper()
263 if (cachedNumberLookupService != null) { in lookupNumberInRemoteDirectory()
425 } else if (cachedNumberLookupService != null) { in queryContactInfoForPhoneNumber()
427 cachedNumberLookupService.lookupCachedContactFromNumber(context, number); in queryContactInfoForPhoneNumber()
577 if (cachedNumberLookupService != null) { in updateCachedNumberLookupService()
580 cachedNumberLookupService.buildCachedContactInfo(updatedInfo); in updateCachedNumberLookupService()
581 cachedNumberLookupService.addContact(context, cachedContactInfo); in updateCachedNumberLookupService()
593 return cachedNumberLookupService != null && cachedNumberLookupService.isBusiness(sourceType); in isBusiness()
605 return cachedNumberLookupService != null in canReportAsInvalid()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DReportDialogFragment.java49 private CachedNumberLookupService cachedNumberLookupService; field in ReportDialogFragment
66 cachedNumberLookupService = PhoneNumberCache.get(getContext()).getCachedNumberLookupService(); in onCreate()
103 number1 -> cachedNumberLookupService.lookupCachedContactFromNumber(getContext(), number1); in lookupContactInfo()
136 if (cachedNumberLookupService.reportAsInvalid(context, info)) { in reportCallerId()
138 cachedNumberLookupService.addContact(context, info); in reportCallerId()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DClearCallLogDialog.java104 CachedNumberLookupService cachedNumberLookupService = in doInBackground() local
106 if (cachedNumberLookupService != null) { in doInBackground()
107 cachedNumberLookupService.clearAllCacheEntries(appContext); in doInBackground()
DPhoneCallDetailsHelper.java82 private final CachedNumberLookupService cachedNumberLookupService; field in PhoneCallDetailsHelper
102 cachedNumberLookupService = PhoneNumberCache.get(context).getCachedNumberLookupService(); in PhoneCallDetailsHelper()
141 if (cachedNumberLookupService != null in shouldShowLocation()
142 && cachedNumberLookupService.isBusiness(details.sourceType)) { in shouldShowLocation()
DCallLogListItemViewHolder.java133 private final CachedNumberLookupService cachedNumberLookupService; field in CallLogListItemViewHolder
269 cachedNumberLookupService = PhoneNumberCache.get(this.context).getCachedNumberLookupService(); in CallLogListItemViewHolder()
774 cachedNumberLookupService != null in bindActionButtons()
775 && cachedNumberLookupService.canReportAsInvalid(info.sourceType, info.objectId); in bindActionButtons()
959 cachedNumberLookupService != null && cachedNumberLookupService.isBusiness(info.sourceType), in getContactType()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java316 CachedNumberLookupService cachedNumberLookupService = in addCallerInfoIntoCache() local
318 if (ci.contactExists && cachedNumberLookupService != null) { in addCallerInfoIntoCache()
321 CallerInfoUtils.buildCachedContactInfo(cachedNumberLookupService, ci); in addCallerInfoIntoCache()
324 cachedNumberLookupService.addContact(context, cachedContactInfo); in addCallerInfoIntoCache()
331 cachedNumberLookupService.addPhoto(context, ci.normalizedNumber, in); in addCallerInfoIntoCache()
DContactInfoCache.java320 final CachedNumberLookupService cachedNumberLookupService = in maybeInsertCnapInformationIntoCache() local
326 if (cachedNumberLookupService == null in maybeInsertCnapInformationIntoCache()
335 call.getNumber(), info.cnapName, context, cachedNumberLookupService)); in maybeInsertCnapInformationIntoCache()