Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java184 public static ContactInfo getContactInfo(Cursor c) { in getContactInfo()
185 ContactInfo info = new ContactInfo(); in getContactInfo()
207 public ContactInfo lookupNumber(String number, String countryIso) { in lookupNumber()
225 public ContactInfo lookupNumber(String number, String countryIso, long directoryId) { in lookupNumber()
231 ContactInfo info; in lookupNumber()
237 if (info == null || info == ContactInfo.EMPTY) { in lookupNumber()
249 final ContactInfo updatedInfo; in lookupNumber()
256 if (info == ContactInfo.EMPTY) { in lookupNumber()
266 private ContactInfo createEmptyContactInfoForNumber(String number, String countryIso) { in createEmptyContactInfoForNumber()
267 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()
68 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> mCache;
90 @NonNull ExpirableCache<NumberWithCountryIso, ContactInfo> internalCache, in ContactInfoCache()
104 public ContactInfo getValue( in getValue()
107 ContactInfo callLogContactInfo, in getValue()
110 ExpirableCache.CachedValue<ContactInfo> cachedInfo = mCache.getCachedValue(numberCountryIso); in getValue()
111 ContactInfo info = cachedInfo == null ? null : cachedInfo.getValue(); in getValue()
117 mCache.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 mContactInfo;
49 public ContactPhotoLoader(Context context, ContactInfo contactInfo) { in ContactPhotoLoader()
/packages/apps/UnifiedEmail/src/com/android/mail/
DSenderInfoLoader.java50 public class SenderInfoLoader extends AsyncTaskLoader<ImmutableMap<String, ContactInfo>> {
90 public ImmutableMap<String, ContactInfo> loadInBackground() { in loadInBackground()
116 public static ImmutableMap<String, ContactInfo> loadContactPhotos( in loadContactPhotos()
122 Map<String, ContactInfo> results = Maps.newHashMap(); in loadContactPhotos()
125 Map<Long, Pair<String, ContactInfo>> photoIdMap = Maps.newHashMap(); in loadContactPhotos()
159 ContactInfo result = new ContactInfo(contactUri); in loadContactPhotos()
176 results.put(email, new ContactInfo(null)); in loadContactPhotos()
214 Pair<String, ContactInfo> prev = photoIdMap.get(photoId); in loadContactPhotos()
216 ContactInfo prevResult = prev.second; in loadContactPhotos()
223 results.put(email, new ContactInfo(prevResult.contactUri, photo)); in loadContactPhotos()
[all …]
DContactInfo.java23 public class ContactInfo { class
28 public ContactInfo(Uri contactUri) { in ContactInfo() method in ContactInfo
32 public ContactInfo(Uri contactUri, byte[] photoBytes) { in ContactInfo() method in ContactInfo
36 public ContactInfo(Uri contactUri, Bitmap photo) { in ContactInfo() method in ContactInfo
40 private ContactInfo(Uri contactUri, byte[] photoBytes, Bitmap photo) { in ContactInfo() method in ContactInfo
DContactInfoSource.java28 ContactInfo getContactInfo(String email); in getContactInfo()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DContactLoaderCallbacks.java27 import com.android.mail.ContactInfo;
39 LoaderManager.LoaderCallbacks<ImmutableMap<String, ContactInfo>> {
42 private ImmutableMap<String, ContactInfo> mContactInfoMap;
56 public Loader<ImmutableMap<String, ContactInfo>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
61 public void onLoadFinished(Loader<ImmutableMap<String, ContactInfo>> loader, in onLoadFinished()
62 ImmutableMap<String, ContactInfo> data) { in onLoadFinished()
68 public void onLoaderReset(Loader<ImmutableMap<String, ContactInfo>> loader) { in onLoaderReset()
72 public ContactInfo getContactInfo(String email) { in getContactInfo()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java35 import com.android.dialer.phonenumbercache.ContactInfo;
69 ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso); in updateView()
71 info = new ContactInfo(); in updateView()
97 private void loadContactPhoto(ContactInfo info, String displayName, QuickContactBadge badge) { in loadContactPhoto()
113 private String getDisplayNumber(ContactInfo info) { in getDisplayNumber()
123 private CharSequence getNumberTypeOrLocation(ContactInfo info) { in getNumberTypeOrLocation()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogNotificationsQueryHelper.java39 import com.android.dialer.phonenumbercache.ContactInfo;
172 public ContactInfo getContactInfo( in getContactInfo()
179 ContactInfo contactInfo = new ContactInfo(); in getContactInfo()
194 ContactInfo cachedContactInfo = mContactInfoHelper.lookupNumber(number, countryIso); in getContactInfo()
DVisualVoicemailNotifier.java47 import com.android.dialer.phonenumbercache.ContactInfo;
61 @NonNull Map<String, ContactInfo> contactInfos, in showNotifications()
162 @NonNull Map<String, ContactInfo> contactInfos) { in createNotificationForVoicemail()
164 ContactInfo contactInfo = contactInfos.get(voicemail.number); in createNotificationForVoicemail()
DVisualVoicemailUpdateTask.java33 import com.android.dialer.phonenumbercache.ContactInfo;
75 Map<String, ContactInfo> contactInfos = new ArrayMap<>(); in updateNotification()
78 ContactInfo contactInfo = in updateNotification()
DMissedCallNotifier.java52 import com.android.dialer.phonenumbercache.ContactInfo;
150 ContactInfo contactInfo = in updateMissedCallNotification()
296 ContactInfo contactInfo = in getNotificationForCall()
DCallLogAdapter.java87 import com.android.dialer.phonenumbercache.ContactInfo;
938 final ContactInfo cachedContactInfo = ContactInfoHelper.getContactInfo(cursor); in createPhoneCallDetails()
1023 ContactInfo info = ContactInfo.EMPTY; in loadData()
1314 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { in injectContactInfoForTest()
DCallLogListItemViewHolder.java88 import com.android.dialer.phonenumbercache.ContactInfo;
214 public volatile ContactInfo info;
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactResolver.java30 import com.android.mail.ContactInfo;
186 final ImmutableMap<String, ContactInfo> contactInfos = loadContactPhotos(emails); in doInBackground()
200 final ContactInfo contactInfo = contactInfos.get(email); in doInBackground()
244 protected ImmutableMap<String, ContactInfo> loadContactPhotos(Set<String> emails) { in loadContactPhotos()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DRegularSearchListAdapter.java27 import com.android.dialer.phonenumbercache.ContactInfo;
43 ContactInfo info = new ContactInfo(); in getContactInfo()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoUtils.java35 import com.android.dialer.phonenumbercache.ContactInfo;
134 ContactInfo info = new ContactInfo(); in buildCachedContactInfo()
DContactInfoCache.java54 import com.android.dialer.phonenumbercache.ContactInfo;
99 ContactInfo contactInfo = new ContactInfo(); in doInBackground()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java31 import com.android.dialer.phonenumbercache.ContactInfo;
130 public ContactInfo cachedContactInfo;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageHeaderView.java47 import com.android.mail.ContactInfo;
848 final ContactInfo info = mContactInfoSource.getContactInfo(email); in updateContactInfo()