/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() 206 public ContactInfo lookupNumber(String number, String countryIso) { in lookupNumber() 224 public ContactInfo lookupNumber(String number, String countryIso, long directoryId) { in lookupNumber() 229 ContactInfo info; in lookupNumber() 234 if (info == null || info == ContactInfo.EMPTY) { in lookupNumber() 246 final ContactInfo updatedInfo; in lookupNumber() 252 if (info == ContactInfo.EMPTY) { in lookupNumber() 262 private ContactInfo createEmptyContactInfoForNumber(String number, String countryIso) { in createEmptyContactInfoForNumber() 263 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() 66 ContactInfo getContactInfo(); in getContactInfo()
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
D | ContactInfoCache.java | 27 import com.android.dialer.phonenumbercache.ContactInfo; 53 private final ExpirableCache<NumberWithCountryIso, ContactInfo> mCache; 88 @NonNull ExpirableCache<NumberWithCountryIso, ContactInfo> internalCache, in ContactInfoCache() 98 public ContactInfo getValue( in getValue() 101 ContactInfo callLogContactInfo, in getValue() 104 ExpirableCache.CachedValue<ContactInfo> cachedInfo = mCache.getCachedValue(numberCountryIso); in getValue() 105 ContactInfo info = cachedInfo == null ? null : cachedInfo.getValue(); in getValue() 111 mCache.put(numberCountryIso, ContactInfo.EMPTY); in getValue() 131 if (Objects.equals(info, ContactInfo.EMPTY)) { in getValue() 156 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 | 34 import com.android.dialer.phonenumbercache.ContactInfo; 68 ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso); in updateView() 70 info = new ContactInfo(); in updateView() 96 private void loadContactPhoto(ContactInfo info, String displayName, QuickContactBadge badge) { in loadContactPhoto() 112 private String getDisplayNumber(ContactInfo info) { in getDisplayNumber() 122 private CharSequence getNumberTypeOrLocation(ContactInfo info) { in getNumberTypeOrLocation()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogNotificationsQueryHelper.java | 40 import com.android.dialer.phonenumbercache.ContactInfo; 160 public ContactInfo getContactInfo( in getContactInfo() 167 ContactInfo contactInfo = new ContactInfo(); in getContactInfo() 182 ContactInfo cachedContactInfo = mContactInfoHelper.lookupNumber(number, countryIso); in getContactInfo()
|
D | DefaultVoicemailNotifier.java | 63 import com.android.dialer.phonenumbercache.ContactInfo; 137 final Map<String, ContactInfo> contactInfos = new ArrayMap<>(); in updateNotification() 159 ContactInfo contactInfo = contactInfos.get(newCall.number); in updateNotification() 344 @NonNull NewCall voicemail, @NonNull Map<String, ContactInfo> contactInfos) { in createNotificationForVoicemail() 346 ContactInfo contactInfo = contactInfos.get(voicemail.number); in createNotificationForVoicemail()
|
D | CallLogAdapter.java | 84 import com.android.dialer.phonenumbercache.ContactInfo; 746 final ContactInfo cachedContactInfo = ContactInfoHelper.getContactInfo(cursor); in createPhoneCallDetails() 831 ContactInfo info = ContactInfo.EMPTY; in loadData() 1118 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { in injectContactInfoForTest()
|
D | MissedCallNotifier.java | 51 import com.android.dialer.phonenumbercache.ContactInfo; 150 ContactInfo contactInfo = in updateMissedCallNotification() 238 ContactInfo contactInfo = in getNotificationForCall()
|
D | CallLogListItemViewHolder.java | 73 import com.android.dialer.phonenumbercache.ContactInfo; 194 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 | 53 import com.android.dialer.phonenumbercache.ContactInfo; 98 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()
|