Lines Matching defs:CallerInfo

46 public class CallerInfo {
47 private static final String TAG = "CallerInfo";
63 * One other detail here is that this CallerInfo object reflects
119 public CallerInfo() {
128 * @param contactRef the URI to attach to this CallerInfo object
129 * @param cursor the first object in the cursor is used to build the CallerInfo object.
130 * @return the CallerInfo which contains the caller id for the given
131 * number. The returned CallerInfo is null if no number is supplied.
133 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) {
134 CallerInfo info = new CallerInfo();
149 // CallerInfo object as well.
228 * @return the CallerInfo which contains the caller id for the given
229 * number. The returned CallerInfo is null if no number is supplied.
231 public static CallerInfo getCallerInfo(Context context, Uri contactRef) {
242 * @return the CallerInfo which contains the caller id for the given
243 * number. The returned CallerInfo is null if no number is supplied. If
247 public static CallerInfo getCallerInfo(Context context, String number) {
258 return new CallerInfo().markAsEmergency(context);
260 return new CallerInfo().markAsVoiceMail();
265 CallerInfo info = getCallerInfo(context, contactUri);
287 static CallerInfo doSecondaryLookupIfNecessary(Context context,
288 String number, CallerInfo previousResult) {
318 CallerInfo info = getCallerInfo(context, number);
351 * Mark this CallerInfo as an emergency call.
356 // javadoc comments at the top of CallerInfo class) to a localized
362 /* package */ CallerInfo markAsEmergency(Context context) {
372 * Mark this CallerInfo as a voicemail call. The voicemail label
380 /* package */ CallerInfo markAsVoiceMail() {
416 * the other CallerInfo fields) since the column we need to use
487 * Updates this CallerInfo's geoDescription field, based on the raw
495 * @param fallbackNumber if this CallerInfo's phoneNumber field is empty,