Home
last modified time | relevance | path

Searched refs:CallerInfo (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java62 void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete()
66 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded()
91 final CallerInfo info, in startQuery()
101 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in startQuery()
114 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery()
126 CallerInfo info, in startDefaultDirectoryQuery()
146 CallerInfo info, in startQueryInternal()
174 String[] proejection = CallerInfo.getDefaultPhoneLookupProjection(contactRef); in startQueryInternal()
189 CallerInfo info, in startOtherDirectoriesQuery()
298 int token, Object cookie, CallerInfo ci, long directoryId) { in onDirectoryQueryComplete()
[all …]
DCallerInfo.java46 public class CallerInfo { class
168 public CallerInfo() { in CallerInfo() method in CallerInfo
197 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) { in getCallerInfo()
198 CallerInfo info = new CallerInfo(); in getCallerInfo()
340 private static CallerInfo getCallerInfo(Context context, Uri contactRef) { in getCallerInfo()
357 static CallerInfo doSecondaryLookupIfNecessary( in doSecondaryLookupIfNecessary()
358 Context context, String number, CallerInfo previousResult) { in doSecondaryLookupIfNecessary()
474 /* package */ CallerInfo markAsEmergency(Context context) { in markAsEmergency()
490 /* package */ CallerInfo markAsVoiceMail(Context context) { in markAsVoiceMail()
DCallerInfoUtils.java57 static CallerInfo getCallerInfoForCall( in getCallerInfoForCall()
62 CallerInfo info = buildCallerInfo(context, call); in getCallerInfoForCall()
85 static CallerInfo buildCallerInfo(Context context, DialerCall call) { in buildCallerInfo()
86 CallerInfo info = new CallerInfo(); in buildCallerInfo()
133 CachedNumberLookupService lookupService, CallerInfo ci) { in buildCachedContactInfo()
173 Context context, CallerInfo ci, String number, int presentation) { in modifyForSpecialCnapCases()
DContactInfoCache.java142 final CallerInfo info = CallerInfoUtils.buildCallerInfo(context, call); in buildCacheEntryFromCall()
150 @NonNull CallerInfo info, in populateCacheEntry()
316 Context context, final DialerCall call, final CallerInfo info) { in maybeInsertCnapInformationIntoCache()
395 final CallerInfo callerInfo = in findInfo()
421 CallerInfo callerInfo, in updateCallerInfoInCacheOnAnyThread()
495 CallerInfo callerInfo, String cnapName, boolean isIncoming) { in maybeUpdateFromCequintCallerId()
606 private ContactCacheEntry buildEntry(Context context, CallerInfo info, int presentation) { in buildEntry()
791 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in onDataLoaded()
805 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete()
/packages/services/Telephony/src/com/android/phone/
DCallLogger.java19 import com.android.internal.telephony.CallerInfo;
63 final CallerInfo ci = getCallerInfoFromConnection(c); // May be null. in logCall()
110 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start, in logCall()
121 private CallerInfo getCallerInfoFromConnection(Connection conn) { in getCallerInfoFromConnection()
122 CallerInfo ci = null; in getCallerInfoFromConnection()
125 if ((o == null) || (o instanceof CallerInfo)) { in getCallerInfoFromConnection()
126 ci = (CallerInfo) o; in getCallerInfoFromConnection()
128 ci = CallerInfo.getCallerInfo(mApplication.getApplicationContext(), (Uri) o); in getCallerInfoFromConnection()
149 private String getLogNumber(Connection conn, CallerInfo callerInfo) { in getLogNumber()
198 private int getPresentation(Connection conn, CallerInfo callerInfo) { in getPresentation()
DPhoneUtils.java55 import com.android.internal.telephony.CallerInfo;
643 if (userDataObject instanceof CallerInfo) { in placeCall()
644 ((CallerInfo) userDataObject).contactRefUri = contactRef; in placeCall()
1231 static CallerInfo getCallerInfo(Context context, Connection c) { in getCallerInfo()
1232 CallerInfo info = null; in getCallerInfo()
1240 info = CallerInfo.getCallerInfo(context, (Uri) userDataObject); in getCallerInfo()
1250 info = (CallerInfo) userDataObject; in getCallerInfo()
1260 info = CallerInfo.getCallerInfo(context, number); in getCallerInfo()
1280 public CallerInfo currentInfo;
1367 cit.currentInfo = new CallerInfo(); in startGetCallerInfo()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DMissedCallNotifier.java23 import com.android.internal.telephony.CallerInfo;
30 public CallInfo makeCallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, in makeCallInfo()
37 private CallerInfo mCallerInfo;
42 public CallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, Uri handle, in CallInfo()
57 public CallerInfo getCallerInfo() { in getCallerInfo()
DCallerInfoLookupHelper.java32 import com.android.internal.telephony.CallerInfo;
48 void onCallerInfoQueryComplete(Uri handle, @Nullable CallerInfo info); in onCallerInfoQueryComplete()
49 void onContactPhotoQueryComplete(Uri handle, CallerInfo info); in onContactPhotoQueryComplete()
53 public CallerInfo callerInfo;
DRingtoneFactory.java35 import com.android.internal.telephony.CallerInfo;
133 CallerInfo contactCallerInfo = incomingCall.getCallerInfo(); in isWorkContact()
135 (contactCallerInfo.userType == CallerInfo.USER_TYPE_WORK); in isWorkContact()
DCallLogManager.java40 import com.android.internal.telephony.CallerInfo;
73 public AddCallArgs(Context context, CallerInfo callerInfo, String number, in AddCallArgs()
96 public final CallerInfo callerInfo;
253 CallerInfo callerInfo, in logCall()
DCall.java54 import com.android.internal.telephony.CallerInfo;
215 public void onCallerInfoQueryComplete(Uri handle, CallerInfo callerInfo) {
222 public void onContactPhotoQueryComplete(Uri handle, CallerInfo callerInfo) {
361 private CallerInfo mCallerInfo;
2256 private void setCallerInfo(Uri handle, CallerInfo callerInfo) { in setCallerInfo()
2281 public CallerInfo getCallerInfo() { in getCallerInfo()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDirectToVoicemailCallFilterTest.java22 import com.android.internal.telephony.CallerInfo;
51 CallerInfo callerInfo = new CallerInfo(); in testSendToVoicemail()
68 CallerInfo callerInfo = new CallerInfo(); in testDontSendToVoicemail()
DCallerInfoLookupHelperTest.java27 import com.android.internal.telephony.CallerInfo;
60 CallerInfo mCallerInfo1;
61 CallerInfo mCallerInfo2;
82 mCallerInfo1 = new CallerInfo(); in setUp()
83 mCallerInfo2 = new CallerInfo(); in setUp()
104 verify(listener).onCallerInfoQueryComplete(eq(Uri.EMPTY), isNull(CallerInfo.class)); in testLookupWithEmptyHandle()
DMissedCallNotifierImplTest.java42 import com.android.internal.telephony.CallerInfo;
434 when(mockCallInfoFactory.makeCallInfo(nullable(CallerInfo.class), in testLoadOneCallFromDb()
470 CallerInfo ci = new CallerInfo(); in testLoadOneCallFromDb()
502 when(mockCallInfoFactory.makeCallInfo(nullable(CallerInfo.class), in testLoadTwoCallsFromDb()
532 CallerInfo ci = new CallerInfo(); in testLoadTwoCallsFromDb()
DCallerInfoAsyncQueryFactoryFixture.java19 import com.android.internal.telephony.CallerInfo;
44 replyWithCallerInfo(new CallerInfo()); in reply()
47 void replyWithCallerInfo(CallerInfo callerInfo) { in replyWithCallerInfo()
DBasicCallTests.java55 import com.android.internal.telephony.CallerInfo;
337 CallerInfo sendToVoicemailCallerInfo = new CallerInfo(); in testIncomingCallFromContactWithSendToVoicemailIsRejected()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallerInfoIntegrationTest.java25 import com.android.internal.telephony.CallerInfo;
51 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411"); in testCallerInfo()
DCallLogProviderTest.java19 import com.android.internal.telephony.CallerInfo;
182 CallerInfo ci = new CallerInfo(); in testAddCall()
/packages/services/Telephony/tests/src/com/android/phone/
DCnapTest.java23 import com.android.internal.telephony.CallerInfo;
35 private CallerInfo mCallerInfo;
44 mCallerInfo = new CallerInfo(); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DDirectToVoicemailCallFilter.java22 import com.android.internal.telephony.CallerInfo;
44 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
71 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java65 import com.android.internal.telephony.CallerInfo;
292 CallerInfo ci = callInfo.getCallerInfo(); in showMissedCallNotification()
293 if (ci != null && ci.userType == CallerInfo.USER_TYPE_WORK) { in showMissedCallNotification()
589 CallerInfo info) { in reloadFromDatabase()
608 CallerInfo info) { in reloadFromDatabase()