HomeSort by relevance Sort by last modified time
    Searched refs:callerInfo (Results 1 - 8 of 8) 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/Telecomm/tests/src/com/android/server/telecom/tests/
DirectToVoicemailCallFilterTest.java 22 import com.android.internal.telephony.CallerInfo;
52 CallerInfo callerInfo = new CallerInfo();
53 callerInfo.shouldSendToVoicemail = true;
55 queryListener.onCallerInfoQueryComplete(TEST_HANDLE, callerInfo);
69 CallerInfo callerInfo = new CallerInfo();
70 callerInfo.shouldSendToVoicemail = false
    [all...]
CallerInfoAsyncQueryFactoryFixture.java 19 import com.android.internal.telephony.CallerInfo;
44 replyWithCallerInfo(new CallerInfo());
47 void replyWithCallerInfo(CallerInfo callerInfo) {
48 mListener.onQueryComplete(mToken, mCookie, callerInfo);
  /packages/services/Telephony/src/com/android/phone/
CallLogger.java 19 import com.android.internal.telephony.CallerInfo;
63 final CallerInfo ci = getCallerInfoFromConnection(c); // May be null.
110 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start,
119 * @return The CallerInfo associated with the connection. Maybe null.
121 private CallerInfo getCallerInfoFromConnection(Connection conn) {
122 CallerInfo ci = null;
125 if ((o == null) || (o instanceof CallerInfo)) {
126 ci = (CallerInfo) o;
128 ci = CallerInfo.getCallerInfo(mApplication.getApplicationContext(), (Uri) o);
139 * outgoing call we use the CallerInfo phoneNumber field i
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
CallerInfoLookupHelper.java 28 import com.android.internal.telephony.CallerInfo;
44 void onCallerInfoQueryComplete(Uri handle, CallerInfo info);
45 void onContactPhotoQueryComplete(Uri handle, CallerInfo info);
49 public CallerInfo callerInfo;
88 if (info.callerInfo != null) {
91 listener.onCallerInfoQueryComplete(handle, info.callerInfo);
92 if (!info.imageQueryPending && (info.callerInfo.cachedPhoto != null ||
93 info.callerInfo.cachedPhotoIcon != null)) {
94 listener.onContactPhotoQueryComplete(handle, info.callerInfo);
    [all...]
CallLogManager.java 40 import com.android.internal.telephony.CallerInfo;
61 * @param callerInfo Caller details.
73 public AddCallArgs(Context context, CallerInfo callerInfo, String number,
79 this.callerInfo = callerInfo;
96 public final CallerInfo callerInfo;
229 * @param callerInfo Caller details.
243 CallerInfo callerInfo
    [all...]
Call.java 45 import com.android.internal.telephony.CallerInfo;
189 public void onCallerInfoQueryComplete(Uri handle, CallerInfo callerInfo) {
191 Call.this.setCallerInfo(handle, callerInfo);
196 public void onContactPhotoQueryComplete(Uri handle, CallerInfo callerInfo) {
198 Call.this.setCallerInfo(handle, callerInfo);
306 private CallerInfo mCallerInfo;
    [all...]
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
ContactInfoCache.java 108 final CallerInfo info = CallerInfoUtils.buildCallerInfo(context, call);
115 final CallerInfo info) {
159 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) {
160 findInfoQueryComplete((Call) cookie, callerInfo, mIsIncoming, true);
208 final CallerInfo callerInfo = CallerInfoUtils.getCallerInfoForCall(
211 findInfoQueryComplete(call, callerInfo, isIncoming, false);
214 private void findInfoQueryComplete(Call call, CallerInfo callerInfo, boolean isIncoming
    [all...]

Completed in 851 milliseconds