HomeSort by relevance Sort by last modified time
    Searched refs:callerInfo (Results 1 - 3 of 3) 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/services/Telephony/src/com/android/phone/
CallLogger.java 19 import com.android.internal.telephony.CallerInfo;
62 final CallerInfo ci = getCallerInfoFromConnection(c); // May be null.
109 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start,
141 * @return The CallerInfo associated with the connection. Maybe null.
143 private CallerInfo getCallerInfoFromConnection(Connection conn) {
144 CallerInfo ci = null;
147 if ((o == null) || (o instanceof CallerInfo)) {
148 ci = (CallerInfo) o;
150 ci = CallerInfo.getCallerInfo(mApplication.getApplicationContext(), (Uri) o);
161 * outgoing call we use the CallerInfo phoneNumber field i
    [all...]
  /packages/apps/InCallUI/src/com/android/incallui/
ContactInfoCache.java 85 final CallerInfo info = CallerInfoUtils.buildCallerInfo(context, identification);
99 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) {
101 findInfoQueryComplete(identification, callerInfo, mIsIncoming, true);
150 final CallerInfo callerInfo = CallerInfoUtils.getCallerInfoForCall(
153 findInfoQueryComplete(identification, callerInfo, isIncoming, false);
157 CallerInfo callerInfo, boolean isIncoming, boolean didLocalLookup) {
160 if (callerInfo.contactExists || callerInfo.isEmergencyNumber() || callerInfo.isVoiceMailNumber())
    [all...]

Completed in 130 milliseconds