Home
last modified time | relevance | path

Searched refs:callerInfo (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telephony/src/com/android/phone/
DCallLogger.java149 private String getLogNumber(Connection conn, CallerInfo callerInfo) { in getLogNumber() argument
160 if (null == callerInfo || TextUtils.isEmpty(callerInfo.phoneNumber) || in getLogNumber()
161 callerInfo.isEmergencyNumber() || callerInfo.isVoiceMailNumber()) { in getLogNumber()
169 number = callerInfo.phoneNumber; in getLogNumber()
179 String newNumber = PhoneUtils.modifyForSpecialCnapCases(mApplication, callerInfo, in getLogNumber()
198 private int getPresentation(Connection conn, CallerInfo callerInfo) { in getPresentation() argument
201 if (null == callerInfo) { in getPresentation()
204 presentation = callerInfo.numberPresentation; in getPresentation()
/packages/apps/InCallUI/src/com/android/incallui/
DContactInfoCache.java95 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete() argument
96 findInfoQueryComplete((Call) cookie, callerInfo, mIsIncoming, true); in onQueryComplete() local
144 final CallerInfo callerInfo = CallerInfoUtils.getCallerInfoForCall( in findInfo() local
147 findInfoQueryComplete(call, callerInfo, isIncoming, false); in findInfo()
150 private void findInfoQueryComplete(Call call, CallerInfo callerInfo, boolean isIncoming, in findInfoQueryComplete() argument
154 if (callerInfo.contactExists || callerInfo.isEmergencyNumber() || in findInfoQueryComplete()
155 callerInfo.isVoiceMailNumber()) { in findInfoQueryComplete()
164 if (!didLocalLookup || callerInfo.contactExists || in findInfoQueryComplete()
166 cacheEntry = buildEntry(mContext, callId, callerInfo, presentationMode, isIncoming); in findInfoQueryComplete()
176 if (!callerInfo.contactExists && mPhoneNumberService != null) { in findInfoQueryComplete()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallerInfoIntegrationTest.java51 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411"); in testCallerInfo() local
52 assertEquals("800-466-4411", callerInfo.phoneNumber); in testCallerInfo()
53 assertEquals("Home", callerInfo.phoneLabel); in testCallerInfo()
54 assertEquals("Hot Tamale", callerInfo.name); in testCallerInfo()
55 assertEquals("ring", String.valueOf(callerInfo.contactRingtoneUri)); in testCallerInfo()
56 assertEquals(true, callerInfo.shouldSendToVoicemail); in testCallerInfo()
58 String.valueOf(callerInfo.contactRefUri)); in testCallerInfo()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java57 public AddCallArgs(Context context, CallerInfo callerInfo, String number, in AddCallArgs() argument
61 this.callerInfo = callerInfo; in AddCallArgs()
74 public final CallerInfo callerInfo; field in CallLogManager.AddCallArgs
165 CallerInfo callerInfo, in logCall() argument
188 Log.d(TAG, "Logging Calllog entry: " + callerInfo + ", " in logCall()
191 AddCallArgs args = new AddCallArgs(mContext, callerInfo, number, presentation, in logCall()
275 result[i] = Calls.addCall(c.callerInfo, c.context, c.number, c.presentation, in doInBackground()
DCall.java147 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) {
149 ((Call) cookie).setCallerInfo(callerInfo, token);
1125 private void setCallerInfo(CallerInfo callerInfo, int token) { in setCallerInfo() argument
1126 Preconditions.checkNotNull(callerInfo); in setCallerInfo()
1129 mCallerInfo = callerInfo; in setCallerInfo()
1130 Log.i(this, "CallerInfo received for %s: %s", Log.piiHandle(mHandle), callerInfo); in setCallerInfo()