/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | PhoneNumberDisplayUtil.java | 37 int presentation, 39 if (presentation == Calls.PRESENTATION_UNKNOWN) { 42 if (presentation == Calls.PRESENTATION_RESTRICTED) { 45 if (presentation == Calls.PRESENTATION_PAYPHONE) { 66 int presentation, 70 final CharSequence displayName = getDisplayName(context, number, presentation, isVoicemail); 34 getDisplayName( Context context, CharSequence number, int presentation, boolean isVoicemail) argument 63 getDisplayNumber( Context context, CharSequence number, int presentation, CharSequence formattedNumber, CharSequence postDialDigits, boolean isVoicemail) argument
|
/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 | 1434 // restricted/unavailable presentation, we do not want to perform a contact query 1511 // restricted/unavailable presentation, we do not want to perform a contact query 1581 // If the number presentation has not been set by 1644 // If we're still null/empty here, then check if we have a presentation 2087 * expected number and presentation values within the CallerInfo object. 2089 * @param presentation presentation value used to verify if we are in a corner case 2093 String number, int presentation) { 2096 // displayed/logged after this function returns based on the presentation value. 2102 + ", presentation 2092 modifyForSpecialCnapCases(Context context, CallerInfo ci, String number, int presentation) argument 2241 getPresentationString(Context context, int presentation) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | PhoneNumberUtil.java | 43 public static boolean canPlaceCallsTo(CharSequence number, int presentation) { argument 44 return presentation == CallLog.Calls.PRESENTATION_ALLOWED 72 int presentation) { 73 if (presentation == CallLog.Calls.PRESENTATION_UNKNOWN) { 76 if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { 79 if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { 68 isUnknownNumberThatCanBeLookedUp( Context context, PhoneAccountHandle accountHandle, CharSequence number, int presentation) argument
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
H A D | CallLogListItemHelperTest.java | 249 int presentation, String formattedNumber) { 250 setPhoneCallDetailsWithNumberTypeAndPostDialDigits(number, "", presentation, 256 int presentation, String formattedNumber, int callType) { 257 setPhoneCallDetailsWithNumberTypeAndPostDialDigits(number, "", presentation, 263 String postDialDigits, int presentation, String formattedNumber, int callType) { 265 number, postDialDigits, presentation, formattedNumber); 271 String number, String postDialDigits, int presentation, String formattedNumber) { 275 presentation, 248 setPhoneCallDetailsWithNumber(String number, int presentation, String formattedNumber) argument 255 setPhoneCallDetailsWithNumberAndType(String number, int presentation, String formattedNumber, int callType) argument 262 setPhoneCallDetailsWithNumberTypeAndPostDialDigits(String number, String postDialDigits, int presentation, String formattedNumber, int callType) argument 270 getPhoneCallDetails( String number, String postDialDigits, int presentation, String formattedNumber) argument
|
H A D | CallLogNotificationsHelperTest.java | 134 private ContactInfo getContactInfo(String number, int presentation, String countryIso) { argument 135 return mCallLogNotificationsHelper.getContactInfo(number, presentation, countryIso);
|
H A D | PhoneCallDetailsHelperTest.java | 459 private void setPhoneCallDetailsWithNumber(String number, int presentation, argument 461 PhoneCallDetails details = getPhoneCallDetails(number, presentation, formattedNumber); 534 private void setCallDetailsHeaderWithNumber(String number, int presentation) { argument 536 getPhoneCallDetails(number, presentation, TEST_FORMATTED_NUMBER)); 558 String number, int presentation, String formattedNumber) { 562 presentation, 557 getPhoneCallDetails( String number, int presentation, String formattedNumber) argument
|
H A D | CallLogAdapterTest.java | 341 // Verify correct appearance for presentation. 364 // Verify correct appearnce for presentation. 629 private void createCallLogEntry(String number, String postDialDigits, int presentation, argument 631 Object[] values = getValues(number, postDialDigits, presentation, type); 636 int presentation, int type) { 637 Object[] values = getValues(number, postDialDigits, viaNumber, presentation, type); 703 * @param presentation Number representing display rules for "allowed", 710 int presentation, 712 return getValues(number, postDialDigits, "", presentation, type); 719 * @param presentation Numbe 635 createCallLogEntry(String number, String postDialDigits, String viaNumber, int presentation, int type) argument 707 getValues( String number, String postDialDigits, int presentation, int type) argument 723 getValues( String number, String postDialDigits, String viaNumber, int presentation, int type) argument [all...] |
/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/services/Telephony/src/com/android/services/telephony/ |
H A D | ConferenceParticipantConnection.java | 67 int presentation = getParticipantPresentation(participant); 69 if (presentation != PhoneConstants.PRESENTATION_ALLOWED) { 75 setAddress(address, presentation); 76 setCallerDisplayName(participant.getDisplayName(), presentation); 163 * Determines the number presentation for a conference participant. Per RFC5767, if the host 168 * @return The number presentation. 177 // If no number, bail early and set restricted presentation. 201 // If the hostname portion of the SIP URI is the invalid host string, presentation is
|
H A D | TelephonyConnection.java | 773 int presentation = mOriginalConnection.getNumberPresentation(); 775 presentation != getAddressPresentation()) { 780 setAddress(address, presentation);
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | ContactInfoCache.java | 411 CallerInfo info, int presentation, boolean isIncoming) { 416 populateCacheEntry(context, info, cce, presentation, isIncoming); 457 int presentation, boolean isIncoming) { 504 // (or potentially some other default based on the presentation.) 505 displayName = getPresentationString(context, presentation, info.callSubject); 507 } else if (presentation != TelecomManager.PRESENTATION_ALLOWED) { 509 // AND a restricted presentation. However we leave it here in case of weird 511 displayName = getPresentationString(context, presentation, info.callSubject); 512 Log.d(TAG, " ==> presentation not allowed! displayName = " + displayName); 544 if (presentation ! 410 buildEntry(Context context, String callId, CallerInfo info, int presentation, boolean isIncoming) argument 456 populateCacheEntry(Context context, CallerInfo info, ContactCacheEntry cce, int presentation, boolean isIncoming) argument 612 getPresentationString(Context context, int presentation, String customLabel) argument [all...] |
H A D | CallerInfoUtils.java | 129 * expected number and presentation values within the CallerInfo object. 131 * @param presentation presentation value used to verify if we are in a corner case 135 String number, int presentation) { 138 // displayed/logged after this function returns based on the presentation value. 143 + ", presentation=" + presentation + " ci " + ci); 147 // and fix the presentation to be the same. 151 && presentation == TelecomManager.PRESENTATION_ALLOWED) { 157 // cases only apply if we received an allowed presentation fro 134 modifyForSpecialCnapCases(Context context, CallerInfo ci, String number, int presentation) argument [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallLogManager.java | 63 * @param presentation Number presentation of the phone number to be logged. 74 String postDialDigits, String viaNumber, int presentation, int callType, 83 this.presentation = presentation; 100 public final int presentation; field in class:CallLogManager.AddCallArgs 233 * @param presentation 247 int presentation, 277 + Log.pii(number) + "," + presentation + ", " + callType 280 viaNumber, presentation, callTyp 73 AddCallArgs(Context context, CallerInfo callerInfo, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long creationDate, long durationInMillis, Long dataUsage, UserHandle initiatingUser, @Nullable LogCallCompletedListener logCallCompletedListener) argument 242 logCall( CallerInfo callerInfo, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, long duration, Long dataUsage, boolean isEmergency, UserHandle initiatingUser, @Nullable LogCallCompletedListener logCallCompletedListener) argument [all...] |
H A D | Call.java | 255 * The presentation requirements for the handle. See {@link TelecomManager} for valid values. 263 * The presentation requirements for the handle. See {@link TelecomManager} for valid values. 773 public void setHandle(Uri handle, int presentation) { argument 774 if (!Objects.equals(handle, mHandle) || presentation != mHandlePresentation) { 775 mHandlePresentation = presentation; 811 void setCallerDisplayName(String callerDisplayName, int presentation) { argument 813 presentation != mCallerDisplayNamePresentation) { 815 mCallerDisplayNamePresentation = presentation; 1780 * - a "call presentation" that doesn't allow the number to be revealed 1795 // No incoming number known or call presentation i [all...] |
H A D | ConnectionServiceWrapper.java | 587 public void setAddress(String callId, Uri address, int presentation) { argument 592 logIncoming("setAddress %s %s %d", callId, address, presentation); 595 call.setHandle(address, presentation); 606 String callId, String callerDisplayName, int presentation) { 612 presentation); 615 call.setCallerDisplayName(callerDisplayName, presentation); 605 setCallerDisplayName( String callId, String callerDisplayName, int presentation) argument
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestConnectionManager.java | 99 RemoteConnection connection, Uri address, int presentation) { 100 setAddress(address, presentation); 105 RemoteConnection connection, String callerDisplayName, int presentation) { 106 setCallerDisplayName(callerDisplayName, presentation);
|
/packages/services/Car/service/src/com/android/car/cluster/ |
H A D | InstrumentClusterService.java | 108 InstrumentClusterPresentation presentation = 114 presentation.setContentView(rootView); 120 presentation.show();
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnection.java | 298 int presentation = mOriginalConnection.getNumberPresentation(); 300 presentation != getAddressPresentation()) { 302 setAddress(address, presentation);
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
H A D | MissedCallNotifierImpl.java | 591 final int presentation = 596 if (presentation != Calls.PRESENTATION_ALLOWED 632 call.setHandle(handle, presentation);
|
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
H A D | FillCallLogTestActivity.java | 426 * Determines the presentation for a manually entered call. 565 int presentation, int callType, int features, PhoneAccountHandle accountHandle, 564 addCall(String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
H A D | contacts2_1108.sql | 45 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,presentation INTEGER NOT NULL DEFAULT 1,post_dial_digits TEXT NOT NULL DEFAULT '',date INTEGER,duration INTEGER,data_usage INTEGER,type INTEGER,features INTEGER NOT NULL DEFAULT 0,subscription_component_name TEXT,subscription_id TEXT,phone_account_address TEXT,phone_account_hidden INTEGER NOT NULL DEFAULT 0,sub_id INTEGER DEFAULT -1,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT,countryiso TEXT,voicemail_uri TEXT,is_read INTEGER,geocoded_location TEXT,lookup_uri TEXT,matched_number TEXT,normalized_number TEXT,photo_id INTEGER NOT NULL DEFAULT 0,photo_uri TEXT,formatted_number TEXT,_data TEXT,has_content INTEGER,mime_type TEXT,source_data TEXT,source_package TEXT,transcription TEXT,state INTEGER,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL DEFAULT 0, add_for_all_users INTEGER NOT NULL DEFAULT 1);
|