Home
last modified time | relevance | path

Searched refs:CallerInfo (Results 1 – 22 of 22) 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.java31 import android.telecom.CallerInfo;
47 void onCallerInfoQueryComplete(Uri handle, @Nullable CallerInfo info); in onCallerInfoQueryComplete()
48 void onContactPhotoQueryComplete(Uri handle, CallerInfo info); in onContactPhotoQueryComplete()
52 public CallerInfo callerInfo;
86 public CompletableFuture<Pair<Uri, CallerInfo>> startLookup(final Uri handle) { in startLookup()
88 final CompletableFuture<Pair<Uri, CallerInfo>> callerInfoFuture = new CompletableFuture<>(); in startLookup()
101 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in startLookup()
109 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in startLookup()
DMissedCallNotifier.java23 import android.telecom.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.java36 import android.telecom.CallerInfo;
154 CallerInfo contactCallerInfo = incomingCall.getCallerInfo(); in isWorkContact()
156 (contactCallerInfo.userType == CallerInfo.USER_TYPE_WORK); in isWorkContact()
DCallLogManager.java44 import android.telecom.CallerInfo;
82 public AddCallArgs(Context context, CallerInfo callerInfo, String number, in AddCallArgs()
110 public final CallerInfo callerInfo;
395 CallerInfo callerInfo, in logCall()
DCall.java38 import android.telecom.CallerInfo;
248 public void onCallerInfoQueryComplete(Uri handle, CallerInfo callerInfo) {
255 public void onContactPhotoQueryComplete(Uri handle, CallerInfo callerInfo) {
414 private CallerInfo mCallerInfo;
3166 private void setCallerInfo(Uri handle, CallerInfo callerInfo) { in setCallerInfo()
3191 public CallerInfo getCallerInfo() { in getCallerInfo()
DCallsManager.java69 import android.telecom.CallerInfo;
1671 CompletableFuture<Pair<Uri, CallerInfo>> contactLookupFuture = in startOutgoingCall()
1897 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in findOutgoingCallPhoneAccount()
1913 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in findOutgoingCallPhoneAccount()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallerInfoAsyncQueryFactoryFixture.java19 import android.telecom.CallerInfo;
46 replyWithCallerInfo(new CallerInfo()); in reply()
49 void replyWithCallerInfo(CallerInfo callerInfo) { in replyWithCallerInfo()
71 private CallerInfo mStoredResponse;
77 public void setResponse(CallerInfo callerInfo) { in setResponse()
DCallerInfoLookupHelperTest.java40 import android.telecom.CallerInfo;
66 CallerInfo mCallerInfo1;
67 CallerInfo mCallerInfo2;
89 mCallerInfo1 = new CallerInfo(); in setUp()
90 mCallerInfo2 = new CallerInfo(); in setUp()
119 verify(listener).onCallerInfoQueryComplete(eq(Uri.EMPTY), isNull(CallerInfo.class)); in testLookupWithEmptyHandle()
DMissedCallNotifierImplTest.java42 import android.telecom.CallerInfo;
455 when(mockCallInfoFactory.makeCallInfo(nullable(CallerInfo.class), in testLoadOneCallFromDb()
491 CallerInfo ci = new CallerInfo(); in testLoadOneCallFromDb()
524 when(mockCallInfoFactory.makeCallInfo(nullable(CallerInfo.class), in testLoadTwoCallsFromDb()
554 CallerInfo ci = new CallerInfo(); in testLoadTwoCallsFromDb()
DDirectToVoicemailFilterTest.java28 import android.telecom.CallerInfo;
72 private CallerInfo mCallerInfo;
80 mCallerInfo = new CallerInfo(); in setUp()
DBlockCheckerFilterTest.java35 import android.telecom.CallerInfo;
DBasicCallTests.java60 import android.telecom.CallerInfo;
387 CallerInfo sendToVoicemailCallerInfo = new CallerInfo(); in testIncomingCallFromContactWithSendToVoicemailIsRejected()
DCallsManagerTest.java50 import android.telecom.CallerInfo;
337 CallerInfo info = new CallerInfo(); in setupCallerInfoLookupHelper()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallerInfoIntegrationTest.java25 import android.telecom.CallerInfo;
51 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411"); in testCallerInfo()
DCallLogProviderTest.java19 import android.telecom.CallerInfo;
187 CallerInfo ci = new CallerInfo(); in testAddCall()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DDirectToVoicemailFilter.java21 import android.telecom.CallerInfo;
48 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
76 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
DBlockCheckerFilter.java26 import android.telecom.CallerInfo;
76 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
84 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) { in startFilterLookup()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java65 import android.telecom.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()