HomeSort by relevance Sort by last modified time
    Searched refs:callerInfo (Results 1 - 4 of 4) sorted by null

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
CallerInfoIntegrationTest.java 25 import com.android.internal.telephony.CallerInfo;
29 * Integration test for {@link CallerInfo} and {@link ContactsProvider2}.
51 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411");
52 assertEquals("800-466-4411", callerInfo.phoneNumber);
53 assertEquals("Home", callerInfo.phoneLabel);
54 assertEquals("Hot Tamale", callerInfo.name);
55 assertEquals("ring", String.valueOf(callerInfo.contactRingtoneUri));
56 assertEquals(true, callerInfo.shouldSendToVoicemail)
    [all...]
  /packages/apps/Phone/src/com/android/phone/
CallLogger.java 19 import com.android.internal.telephony.CallerInfo;
61 final CallerInfo ci = getCallerInfoFromConnection(c); // May be null.
108 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start,
140 * @return The CallerInfo associated with the connection. Maybe null.
142 private CallerInfo getCallerInfoFromConnection(Connection conn) {
143 CallerInfo ci = null;
146 if ((o == null) || (o instanceof CallerInfo)) {
147 ci = (CallerInfo) o;
158 * outgoing call we use the CallerInfo phoneNumber field if
161 * If CallerInfo is missing the phone number, get it from the connection
    [all...]
NotificationMgr.java 52 import com.android.internal.telephony.CallerInfo;
442 if ( (n.number.equals(CallerInfo.UNKNOWN_NUMBER)) ||
443 (n.number.equals(CallerInfo.PRIVATE_NUMBER)) ||
444 (n.number.equals(CallerInfo.PAYPHONE_NUMBER)) ) {
469 * {@link PhoneUtils#modifyForSpecialCnapCases(Context, CallerInfo, String, int)}.
    [all...]
CallCard.java 46 import com.android.internal.telephony.CallerInfo;
75 public final CallerInfo callerInfo;
77 public AsyncLoadCookie(ImageView imageView, CallerInfo callerInfo, Call call) {
79 this.callerInfo = callerInfo;
546 CallerInfo info = PhoneUtils.getCallerInfo(getContext(), null /* conn */);
554 // callerinfo differs from what we've been requested to display.
570 CallerInfo info = null
    [all...]

Completed in 993 milliseconds