Lines Matching refs:CallerInfo
43 import com.android.internal.telephony.CallerInfo;
446 CallerInfo info = PhoneUtils.getCallerInfo(getContext(), null /* conn */);
453 // callerinfo differs from what we've been requested to display.
469 CallerInfo info = null;
472 } else if (o instanceof CallerInfo) {
473 info = (CallerInfo) o;
491 if (DBG) log("- displayMainCallStatus: starting CallerInfo query...");
501 if (o instanceof CallerInfo) {
502 CallerInfo ci = (CallerInfo) o;
510 if (DBG) log(" ==> Got CallerInfo; updating display: ci = " + ci);
513 CallerInfo ci = ((PhoneUtils.CallerInfoToken) o).currentInfo;
521 + "but we didn't have a cached CallerInfo object! o = " + o);
556 public void onQueryComplete(int token, Object cookie, CallerInfo ci) {
563 if (DBG) log("callerinfo query complete, updating ui from displayMainCallStatus()");
584 // CallerInfo (for CNAP). Therefore if ci.contactExists then use the ci passed in.
585 // Otherwise, regenerate the CIT from the Connection and use the CallerInfo from there.
594 if (DBG) log("callerinfo query complete, updating ui from ongoing or onhold");
797 // Also pull the photo out of the current CallerInfo.
838 CallerInfo info = infoToken.currentInfo;
849 // Also pull the photo out of the current CallerInfo.
968 * based on the specified CallerInfo.
973 private void updateDisplayForPerson(CallerInfo info,
996 // empty number, we will get a valid CallerInfo object, but with
1000 // In the past, we would see a NULL callerinfo object, but this
1004 // .getCallerInfo() that relied on a NULL CallerInfo to indicate
1012 // TODO: It would be cleaner for CallerInfo to explicitly support
1014 // Then we could remove this hack, and instead ask the CallerInfo
1022 // No valid "name" in the CallerInfo, so fall back to
1057 // TODO (CallerInfoAsyncQuery cleanup): Fix the CallerInfo
1067 // We do have a valid "name" in the CallerInfo. Display that
1080 if (DBG) log(" ==> name is present in CallerInfo: displayName '"
1100 // the CallerInfo has been correctly updated. So, we can skip the image
1103 // If the photoResource is filled in for the CallerInfo, (like with the
1106 // for cases where CallerInfo.photoResource may be set. We can also avoid
1251 // only query the CallerInfo once, and limit the number of times
1261 CallerInfo ci = null;
1276 if (o instanceof CallerInfo) {
1277 ci = (CallerInfo) o;
1298 // where CallerInfo.photoResource may be set.
1326 * Try to display the cached image from the callerinfo object.
1330 private static final boolean showCachedImage(ImageView view, CallerInfo ci) {