Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java168 public static ContactInfo getContactInfo(Cursor c) { in getContactInfo()
169 ContactInfo info = new ContactInfo(); in getContactInfo()
190 public ContactInfo lookupNumber(String number, String countryIso) { in lookupNumber()
208 public ContactInfo lookupNumber(String number, String countryIso, long directoryId) { in lookupNumber()
214 ContactInfo info; in lookupNumber()
220 if (info == null || info == ContactInfo.EMPTY) { in lookupNumber()
232 final ContactInfo updatedInfo; in lookupNumber()
239 if (info == ContactInfo.EMPTY) { in lookupNumber()
249 private ContactInfo createEmptyContactInfoForNumber(String number, String countryIso) { in createEmptyContactInfoForNumber()
250 ContactInfo contactInfo = new ContactInfo(); in createEmptyContactInfoForNumber()
[all …]
DContactInfo.java27 public class ContactInfo { class
29 public static final ContactInfo EMPTY = new ContactInfo();
95 ContactInfo other = (ContactInfo) obj; in equals()
DCachedNumberLookupService.java29 CachedContactInfo buildCachedContactInfo(ContactInfo info); in buildCachedContactInfo()
66 ContactInfo getContactInfo(); in getContactInfo()
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoCache.java28 import com.android.dialer.phonenumbercache.ContactInfo;
54 private final ExpirableCache<NumberWithCountryIso, ContactInfo> cache;
90 @NonNull ExpirableCache<NumberWithCountryIso, ContactInfo> internalCache, in ContactInfoCache()
104 public ContactInfo getValue( in getValue()
107 ContactInfo callLogContactInfo, in getValue()
110 ExpirableCache.CachedValue<ContactInfo> cachedInfo = cache.getCachedValue(numberCountryIso); in getValue()
111 ContactInfo info = cachedInfo == null ? null : cachedInfo.getValue(); in getValue()
117 cache.put(numberCountryIso, ContactInfo.EMPTY); in getValue()
137 if (Objects.equals(info, ContactInfo.EMPTY)) { in getValue()
162 ContactInfo info; in queryContactInfo()
[all …]
DExpirableCacheHeadlessFragment.java24 import com.android.dialer.phonenumbercache.ContactInfo;
37 private ExpirableCache<NumberWithCountryIso, ContactInfo> retainedCache;
64 public ExpirableCache<NumberWithCountryIso, ContactInfo> getRetainedCache() { in getRetainedCache()
DContactInfoRequest.java21 import com.android.dialer.phonenumbercache.ContactInfo;
39 public final ContactInfo callLogInfo;
62 String number, String countryIso, ContactInfo callLogInfo, @TYPE int type) { in ContactInfoRequest()
DContactPhotoLoader.java33 import com.android.dialer.phonenumbercache.ContactInfo;
47 private final ContactInfo contactInfo;
49 public ContactPhotoLoader(Context context, ContactInfo contactInfo) { in ContactPhotoLoader()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java33 import com.android.dialer.phonenumbercache.ContactInfo;
67 ContactInfo info = contactInfoHelper.lookupNumber(number, countryIso); in updateView()
69 info = new ContactInfo(); in updateView()
95 private void loadContactPhoto(ContactInfo info, String displayName, QuickContactBadge badge) { in loadContactPhoto()
111 private String getDisplayNumber(ContactInfo info) { in getDisplayNumber()
121 private CharSequence getNumberTypeOrLocation(ContactInfo info, String countryIso) { in getNumberTypeOrLocation()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DPhoneFragmentViewModel.java41 private LiveData<ContactInfo> mContactInfo;
61 mContactInfo = map(numberInfo, ContactInfo::new); in PhoneFragmentViewModel()
78 public LiveData<ContactInfo> getContactInfo() { in getContactInfo()
117 public class ContactInfo { class in PhoneFragmentViewModel
122 public ContactInfo(PhoneNumberInfo info) { in ContactInfo() method in PhoneFragmentViewModel.ContactInfo
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogNotificationsQueryHelper.java43 import com.android.dialer.phonenumbercache.ContactInfo;
200 public ContactInfo getContactInfo( in getContactInfo()
207 ContactInfo contactInfo = new ContactInfo(); in getContactInfo()
222 ContactInfo cachedContactInfo = contactInfoHelper.lookupNumber(number, countryIso); in getContactInfo()
DVisualVoicemailNotifier.java47 import com.android.dialer.phonenumbercache.ContactInfo;
74 @NonNull Map<String, ContactInfo> contactInfos, in showNotifications()
156 @NonNull Map<String, ContactInfo> contactInfos) { in createNotificationForVoicemail()
158 ContactInfo contactInfo = contactInfos.get(voicemail.number); in createNotificationForVoicemail()
DVisualVoicemailUpdateTask.java38 import com.android.dialer.phonenumbercache.ContactInfo;
98 Map<String, ContactInfo> contactInfos = new ArrayMap<>(); in updateNotification()
101 ContactInfo contactInfo = in updateNotification()
DMissedCallNotifier.java62 import com.android.dialer.phonenumbercache.ContactInfo;
168 ContactInfo contactInfo = in updateMissedCallNotification()
325 ContactInfo contactInfo = in getNotificationForCall()
DCallLogAdapter.java91 import com.android.dialer.phonenumbercache.ContactInfo;
952 final ContactInfo cachedContactInfo = ContactInfoHelper.getContactInfo(cursor); in createPhoneCallDetails()
1051 ContactInfo info = ContactInfo.EMPTY; in loadData()
1361 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { in injectContactInfoForTest()
1473 private void logCp2Metrics(PhoneCallDetails details, ContactInfo contactInfo) { in logCp2Metrics()
DCallLogListItemViewHolder.java89 import com.android.dialer.phonenumbercache.ContactInfo;
222 public volatile ContactInfo info;
1076 private static boolean isNonContactEntry(ContactInfo info) { in isNonContactEntry()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoUtils.java30 import com.android.dialer.phonenumbercache.ContactInfo;
129 ContactInfo info = new ContactInfo(); in buildCachedContactInfo()
DContactInfoCache.java53 import com.android.dialer.phonenumbercache.ContactInfo;
96 ContactInfo contactInfo = new ContactInfo(); in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java31 import com.android.dialer.phonenumbercache.ContactInfo;
133 public ContactInfo cachedContactInfo;