Lines Matching refs:info

84         // TODO: get rid of caller info.
85 final CallerInfo info = CallerInfoUtils.buildCallerInfo(context, identification);
86 ContactInfoCache.populateCacheEntry(context, info, entry,
167 // Add the contact info to the cache.
208 final PhoneNumberService.PhoneNumberInfo info) {
211 if (info == null) {
218 entry.name = info.getDisplayName();
219 entry.number = info.getNumber();
220 final int type = info.getPhoneType();
221 final String label = info.getPhoneLabel();
239 if (info.getImageUrl() == null && info.isBusiness()) {
244 // Add the contact info to the cache.
249 if (info.getImageUrl() == null) {
307 CallerInfo info, int presentation, boolean isIncoming) {
312 populateCacheEntry(context, info, cce, presentation, isIncoming);
315 if (info.photoResource != 0) {
316 photo = context.getResources().getDrawable(info.photoResource);
317 } else if (info.isCachedPhotoCurrent) {
318 if (info.cachedPhoto != null) {
319 photo = info.cachedPhoto;
323 } else if (info.person_id == 0) {
326 Uri personUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, info.person_id);
327 Log.d(TAG, "- got personUri: '" + personUri + "', based on info.person_id: " +
328 info.person_id);
343 * Populate a cache entry from a caller identification (which got converted into a caller info).
345 public static void populateCacheEntry(Context context, CallerInfo info, ContactCacheEntry cce,
347 Preconditions.checkNotNull(info);
376 String number = info.phoneNumber;
385 if (TextUtils.isEmpty(info.name)) {
402 } else if (!TextUtils.isEmpty(info.cnapName)) {
404 displayName = info.cnapName;
405 info.name = info.cnapName;
422 displayLocation = info.geoDescription; // may be null
423 Log.d(TAG, "Geodescrption: " + info.geoDescription);
441 displayName = info.name;
443 label = info.phoneLabel;