Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java59 void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete()
63 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded()
88 final CallerInfo info, in startQuery()
98 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in startQuery()
111 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery()
123 CallerInfo info, in startDefaultDirectoryQuery()
143 CallerInfo info, in startQueryInternal()
172 String[] proejection = CallerInfo.getDefaultPhoneLookupProjection(); in startQueryInternal()
187 CallerInfo info, in startOtherDirectoriesQuery()
297 int token, Object cookie, CallerInfo ci, long directoryId) { in onDirectoryQueryComplete()
[all …]
DCallerInfo.java43 public class CallerInfo { class
152 public CallerInfo() { in CallerInfo() method in CallerInfo
172 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) { in getCallerInfo()
173 CallerInfo info = new CallerInfo(); in getCallerInfo()
322 private static CallerInfo getCallerInfo(Context context, Uri contactRef) { in getCallerInfo()
339 static CallerInfo doSecondaryLookupIfNecessary( in doSecondaryLookupIfNecessary()
340 Context context, String number, CallerInfo previousResult) { in doSecondaryLookupIfNecessary()
456 /* package */ CallerInfo markAsEmergency(Context context) { in markAsEmergency()
471 /* package */ CallerInfo markAsVoiceMail(Context context) { in markAsVoiceMail()
DCallerInfoUtils.java51 static CallerInfo getCallerInfoForCall( in getCallerInfoForCall()
56 CallerInfo info = buildCallerInfo(context, call); in getCallerInfoForCall()
79 static CallerInfo buildCallerInfo(Context context, DialerCall call) { in buildCallerInfo()
80 CallerInfo info = new CallerInfo(); in buildCallerInfo()
128 CachedNumberLookupService lookupService, CallerInfo ci) { in buildCachedContactInfo()
154 Context context, CallerInfo ci, String number, int presentation) { in modifyForSpecialCnapCases()
DContactInfoCache.java145 final CallerInfo info = CallerInfoUtils.buildCallerInfo(context, call); in buildCacheEntryFromCall()
153 @NonNull CallerInfo info, in populateCacheEntry()
319 Context context, final DialerCall call, final CallerInfo info) { in maybeInsertCnapInformationIntoCache()
404 final CallerInfo callerInfo = in findInfo()
432 CallerInfo callerInfo, in updateCallerInfoInCacheOnAnyThread()
508 CallerInfo callerInfo, String cnapName, boolean isIncoming) { in maybeUpdateFromCequintCallerId()
622 private ContactCacheEntry buildEntry(Context context, CallerInfo info, int presentation) { in buildEntry()
800 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in onDataLoaded()
814 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallerInfoLookupHelper.java33 import com.android.internal.telephony.CallerInfo;
50 void onCallerInfoQueryComplete(Uri handle, @Nullable CallerInfo info); in onCallerInfoQueryComplete()
51 void onContactPhotoQueryComplete(Uri handle, CallerInfo info); in onContactPhotoQueryComplete()
55 public CallerInfo callerInfo;
89 public CompletableFuture<Pair<Uri, CallerInfo>> startLookup(final Uri handle) { in startLookup()
91 final CompletableFuture<Pair<Uri, CallerInfo>> callerInfoFuture = new CompletableFuture<>(); in startLookup()
104 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in startLookup()
112 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in startLookup()
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()
DRingtoneFactory.java38 import com.android.internal.telephony.CallerInfo;
156 CallerInfo contactCallerInfo = incomingCall.getCallerInfo(); in isWorkContact()
158 (contactCallerInfo.userType == CallerInfo.USER_TYPE_WORK); in isWorkContact()
DCallLogManager.java44 import com.android.internal.telephony.CallerInfo;
83 public AddCallArgs(Context context, CallerInfo callerInfo, String number, in AddCallArgs()
111 public final CallerInfo callerInfo;
367 CallerInfo callerInfo, in logCall()
DCall.java57 import com.android.internal.telephony.CallerInfo;
234 public void onCallerInfoQueryComplete(Uri handle, CallerInfo callerInfo) {
241 public void onContactPhotoQueryComplete(Uri handle, CallerInfo callerInfo) {
380 private CallerInfo mCallerInfo;
2614 private void setCallerInfo(Uri handle, CallerInfo callerInfo) { in setCallerInfo()
2639 public CallerInfo getCallerInfo() { in getCallerInfo()
DCallsManager.java71 import com.android.internal.telephony.CallerInfo;
1480 CompletableFuture<Pair<Uri, CallerInfo>> contactLookupFuture = in startOutgoingCall()
1664 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in findOutgoingCallPhoneAccount()
1679 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in findOutgoingCallPhoneAccount()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java48 import com.android.internal.telephony.CallerInfo;
247 if (userDataObject instanceof CallerInfo) { in placeCall()
248 ((CallerInfo) userDataObject).contactRefUri = contactRef; in placeCall()
673 static CallerInfo getCallerInfo(Context context, Connection c) { in getCallerInfo()
674 CallerInfo info = null; in getCallerInfo()
682 info = CallerInfo.getCallerInfo(context, (Uri) userDataObject); in getCallerInfo()
692 info = (CallerInfo) userDataObject; in getCallerInfo()
702 info = CallerInfo.getCallerInfo(context, number); in getCallerInfo()
722 public CallerInfo currentInfo;
783 cit.currentInfo = new CallerInfo(); in startGetCallerInfo()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallScreeningServiceControllerTest.java36 import com.android.internal.telephony.CallerInfo;
179 CallerInfo callerInfo = new CallerInfo(); in testAllAllowCall()
210 CallerInfo callerInfo = new CallerInfo(); in testCarrierAllowCallAndContactExists()
274 CallerInfo callerInfo = new CallerInfo(); in testDefaultDialerRejectCall()
320 CallerInfo callerInfo = new CallerInfo(); in testUserChosenRejectCall()
DDirectToVoicemailCallFilterTest.java23 import com.android.internal.telephony.CallerInfo;
60 CallerInfo callerInfo = new CallerInfo(); in testSendToVoicemail()
81 CallerInfo callerInfo = new CallerInfo(); in testDontSendToVoicemail()
DCallerInfoLookupHelperTest.java40 import com.android.internal.telephony.CallerInfo;
65 CallerInfo mCallerInfo1;
66 CallerInfo mCallerInfo2;
88 mCallerInfo1 = new CallerInfo(); in setUp()
89 mCallerInfo2 = new CallerInfo(); in setUp()
112 verify(listener).onCallerInfoQueryComplete(eq(Uri.EMPTY), isNull(CallerInfo.class)); in testLookupWithEmptyHandle()
DCallerInfoAsyncQueryFactoryFixture.java19 import com.android.internal.telephony.CallerInfo;
44 replyWithCallerInfo(new CallerInfo()); in reply()
47 void replyWithCallerInfo(CallerInfo callerInfo) { in replyWithCallerInfo()
DMissedCallNotifierImplTest.java42 import com.android.internal.telephony.CallerInfo;
454 when(mockCallInfoFactory.makeCallInfo(nullable(CallerInfo.class), in testLoadOneCallFromDb()
490 CallerInfo ci = new CallerInfo(); in testLoadOneCallFromDb()
523 when(mockCallInfoFactory.makeCallInfo(nullable(CallerInfo.class), in testLoadTwoCallsFromDb()
553 CallerInfo ci = new CallerInfo(); in testLoadTwoCallsFromDb()
DCallsManagerTest.java52 import com.android.internal.telephony.CallerInfo;
294 CallerInfo info = new CallerInfo(); in setupCallerInfoLookupHelper()
DBasicCallTests.java62 import com.android.internal.telephony.CallerInfo;
378 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.java23 import com.android.internal.telephony.CallerInfo;
45 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
84 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
DAsyncBlockCheckFilter.java29 import com.android.internal.telephony.CallerInfo;
72 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
79 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
DCallScreeningServiceController.java32 import com.android.internal.telephony.CallerInfo;
224 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in checkContactExistsAndBindService()
236 public void onContactPhotoQueryComplete(Uri handle, CallerInfo in checkContactExistsAndBindService()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java65 import com.android.internal.telephony.CallerInfo;
293 CallerInfo ci = callInfo.getCallerInfo(); in showMissedCallNotification()
294 if (ci != null && ci.userType == CallerInfo.USER_TYPE_WORK) { in showMissedCallNotification()
596 CallerInfo info) { in reloadFromDatabase()
615 CallerInfo info) { in reloadFromDatabase()