/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | PhoneNumberDisplayUtil.java | 39 int presentation, 41 if (presentation == Calls.PRESENTATION_UNKNOWN) { 44 if (presentation == Calls.PRESENTATION_RESTRICTED) { 47 if (presentation == Calls.PRESENTATION_PAYPHONE) { 68 int presentation, 71 final CharSequence displayName = getDisplayName(context, number, presentation, isVoicemail); 36 getDisplayName( Context context, CharSequence number, int presentation, boolean isVoicemail) argument 65 getDisplayNumber( Context context, CharSequence number, int presentation, CharSequence formattedNumber, boolean isVoicemail) argument
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | PhoneNumberUtil.java | 38 public static boolean canPlaceCallsTo(CharSequence number, int presentation) { argument 39 return presentation == CallLog.Calls.PRESENTATION_ALLOWED 70 int presentation) { 71 if (presentation == CallLog.Calls.PRESENTATION_UNKNOWN) { 74 if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { 77 if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { 66 isUnknownNumberThatCanBeLookedUp( Context context, PhoneAccountHandle accountHandle, CharSequence number, int presentation) argument
|
/packages/services/Telephony/tests/src/com/android/phone/ |
H A D | CnapTest.java | 47 // Checks the cnap 'ABSENT NUMBER' is mapped to the unknown presentation. 63 // TODO: cnapName and name presentation should be set to 72 private String modifyForSpecialCnapCases(String number, int presentation) { argument 74 mContext, mCallerInfo, number, presentation);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | CallerInfoUtils.java | 99 * expected number and presentation values within the CallerInfo object. 101 * @param presentation presentation value used to verify if we are in a corner case 105 String number, int presentation) { 108 // displayed/logged after this function returns based on the presentation value. 113 + ", presentation=" + presentation + " ci " + ci); 117 // and fix the presentation to be the same. 121 && presentation == TelecomManager.PRESENTATION_ALLOWED) { 127 // cases only apply if we received an allowed presentation fro 104 modifyForSpecialCnapCases(Context context, CallerInfo ci, String number, int presentation) argument [all...] |
H A D | ContactInfoCache.java | 358 CallerInfo info, int presentation, boolean isIncoming) { 363 populateCacheEntry(context, info, cce, presentation, isIncoming); 397 int presentation, boolean isIncoming) { 444 // (or potentially some other default based on the presentation.) 445 displayName = getPresentationString(context, presentation); 447 } else if (presentation != TelecomManager.PRESENTATION_ALLOWED) { 449 // AND a restricted presentation. However we leave it here in case of weird 451 displayName = getPresentationString(context, presentation); 452 Log.d(TAG, " ==> presentation not allowed! displayName = " + displayName); 484 if (presentation ! 357 buildEntry(Context context, String callId, CallerInfo info, int presentation, boolean isIncoming) argument 396 populateCacheEntry(Context context, CallerInfo info, ContactCacheEntry cce, int presentation, boolean isIncoming) argument 535 getPresentationString(Context context, int presentation) argument [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallLogger.java | 71 // TODO: In getLogNumber we use the presentation from 76 final int presentation = getPresentation(c, ci); 83 logCall(ci, logNumber, presentation, callLogType, date, duration); 110 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start, argument 176 int presentation = conn.getNumberPresentation(); 180 number, presentation); 191 * Get the presentation from the callerinfo if not null otherwise, 196 * @return The presentation to use in the logs. 199 int presentation; 202 presentation [all...] |
H A D | PhoneUtils.java | 1464 // restricted/unavailable presentation, we do not want to perform a contact query 1541 // restricted/unavailable presentation, we do not want to perform a contact query 1611 // If the number presentation has not been set by 1674 // If we're still null/empty here, then check if we have a presentation 2113 * expected number and presentation values within the CallerInfo object. 2115 * @param presentation presentation value used to verify if we are in a corner case 2119 String number, int presentation) { 2122 // displayed/logged after this function returns based on the presentation value. 2128 + ", presentation 2118 modifyForSpecialCnapCases(Context context, CallerInfo ci, String number, int presentation) argument 2296 getPresentationString(Context context, int presentation) argument [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
H A D | CallLogListItemHelperTest.java | 276 int presentation, String formattedNumber) { 277 setPhoneCallDetailsWithNumberAndType(number, presentation, 283 int presentation, String formattedNumber, int callType) { 285 number, presentation, formattedNumber); 291 String number, int presentation, String formattedNumber) { 295 presentation, 275 setPhoneCallDetailsWithNumber(String number, int presentation, String formattedNumber) argument 282 setPhoneCallDetailsWithNumberAndType(String number, int presentation, String formattedNumber, int callType) argument 290 getPhoneCallDetails( String number, int presentation, String formattedNumber) argument
|
H A D | CallLogFragmentTest.java | 368 int presentation = getPhoneNumberPresentationForListEntry(i); 369 if (presentation == Calls.PRESENTATION_RESTRICTED || 370 presentation == Calls.PRESENTATION_UNKNOWN) { 428 /** Returns the number presentation associated with the given entry in {{@link #mList}. */ 515 * @param presentation Number representing display rules for "allowed", 521 private void insert(String number, int presentation, long date, int duration, int type) { argument 522 insertValues(getValuesToInsert(number, presentation, date, duration, type)); 535 * @param presentation Number representing display rules for "allowed", 541 private Object[] getValuesToInsert(String number, int presentation, argument 546 values[CallLogQuery.NUMBER_PRESENTATION] = presentation; 565 insertVoicemail(String number, int presentation, long date, int duration) argument [all...] |
H A D | PhoneCallDetailsHelperTest.java | 322 private void setPhoneCallDetailsWithNumber(String number, int presentation, argument 324 PhoneCallDetails details = getPhoneCallDetails(number, presentation, formattedNumber); 352 private void setCallDetailsHeaderWithNumber(String number, int presentation) { argument 354 getPhoneCallDetails(number, presentation, TEST_FORMATTED_NUMBER)); 375 String number, int presentation, String formattedNumber) { 379 presentation, 374 getPhoneCallDetails( String number, int presentation, String formattedNumber) argument
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallLogManager.java | 45 * @param presentation Number presentation of the phone number to be logged. 55 int presentation, int callType, int features, PhoneAccountHandle accountHandle, 60 this.presentation = presentation; 73 public final int presentation; field in class:CallLogManager.AddCallArgs 159 * @param presentation 169 int presentation, 191 + Log.pii(number) + "," + presentation + ", " + callType 193 AddCallArgs args = new AddCallArgs(mContext, callerInfo, number, presentation, 54 AddCallArgs(Context context, CallerInfo callerInfo, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long creationDate, long durationInMillis, Long dataUsage) argument 166 logCall( CallerInfo callerInfo, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, long duration, Long dataUsage) argument [all...] |
H A D | ConnectionServiceWrapper.java | 510 public void setAddress(String callId, Uri address, int presentation) { argument 514 logIncoming("setAddress %s %s %d", callId, address, presentation); 518 call.setHandle(address, presentation); 529 String callId, String callerDisplayName, int presentation) { 534 presentation); 538 call.setCallerDisplayName(callerDisplayName, presentation); 528 setCallerDisplayName( String callId, String callerDisplayName, int presentation) argument
|
H A D | Call.java | 233 * The presentation requirements for the handle. See {@link TelecomManager} for valid values. 241 * The presentation requirements for the handle. See {@link TelecomManager} for valid values. 621 public void setHandle(Uri handle, int presentation) { argument 622 if (!Objects.equals(handle, mHandle) || presentation != mHandlePresentation) { 623 mHandlePresentation = presentation; 654 void setCallerDisplayName(String callerDisplayName, int presentation) { argument 656 presentation != mCallerDisplayNamePresentation) { 658 mCallerDisplayNamePresentation = presentation; 1310 * - a "call presentation" that doesn't allow the number to be revealed 1325 // No incoming number known or call presentation i [all...] |