/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
D | ContactInfoHelper.java | 184 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 …]
|
D | ContactInfo.java | 27 public class ContactInfo { class 29 public static final ContactInfo EMPTY = new ContactInfo(); 95 ContactInfo other = (ContactInfo) obj; in equals()
|
D | CachedNumberLookupService.java | 29 CachedContactInfo buildCachedContactInfo(ContactInfo info); in buildCachedContactInfo() 68 ContactInfo getContactInfo(); in getContactInfo()
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
D | ContactInfoCache.java | 28 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 …]
|
D | ExpirableCacheHeadlessFragment.java | 24 import com.android.dialer.phonenumbercache.ContactInfo; 37 private ExpirableCache<NumberWithCountryIso, ContactInfo> retainedCache; 64 public ExpirableCache<NumberWithCountryIso, ContactInfo> getRetainedCache() { in getRetainedCache()
|
D | ContactInfoRequest.java | 21 import com.android.dialer.phonenumbercache.ContactInfo; 39 public final ContactInfo callLogInfo; 62 String number, String countryIso, ContactInfo callLogInfo, @TYPE int type) { in ContactInfoRequest()
|
D | ContactPhotoLoader.java | 33 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/ |
D | SenderInfoLoader.java | 50 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 …]
|
D | ContactInfo.java | 23 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
|
D | ContactInfoSource.java | 28 ContactInfo getContactInfo(String email); in getContactInfo()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ContactLoaderCallbacks.java | 27 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/ |
D | NumbersAdapter.java | 35 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/ |
D | CallLogNotificationsQueryHelper.java | 39 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()
|
D | VisualVoicemailNotifier.java | 47 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()
|
D | VisualVoicemailUpdateTask.java | 33 import com.android.dialer.phonenumbercache.ContactInfo; 75 Map<String, ContactInfo> contactInfos = new ArrayMap<>(); in updateNotification() 78 ContactInfo contactInfo = in updateNotification()
|
D | MissedCallNotifier.java | 52 import com.android.dialer.phonenumbercache.ContactInfo; 150 ContactInfo contactInfo = in updateMissedCallNotification() 296 ContactInfo contactInfo = in getNotificationForCall()
|
D | CallLogAdapter.java | 87 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()
|
D | CallLogListItemViewHolder.java | 88 import com.android.dialer.phonenumbercache.ContactInfo; 214 public volatile ContactInfo info;
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
D | ContactResolver.java | 30 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/ |
D | RegularSearchListAdapter.java | 27 import com.android.dialer.phonenumbercache.ContactInfo; 43 ContactInfo info = new ContactInfo(); in getContactInfo()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfoUtils.java | 35 import com.android.dialer.phonenumbercache.ContactInfo; 134 ContactInfo info = new ContactInfo(); in buildCachedContactInfo()
|
D | ContactInfoCache.java | 54 import com.android.dialer.phonenumbercache.ContactInfo; 99 ContactInfo contactInfo = new ContactInfo(); in doInBackground()
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | PhoneCallDetails.java | 31 import com.android.dialer.phonenumbercache.ContactInfo; 130 public ContactInfo cachedContactInfo;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageHeaderView.java | 47 import com.android.mail.ContactInfo; 848 final ContactInfo info = mContactInfoSource.getContactInfo(email); in updateContactInfo()
|