Home
last modified time | relevance | path

Searched refs:formattedNumber (Results 1 – 22 of 22) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersAdapter.java44 final String formattedNumber = BlockedNumbersUtil.formatNumber(rawNumber); in bindView() local
46 Spannable numberSpannable = new SpannableString(formattedNumber); in bindView()
54 showDeleteBlockedNumberDialog(context, rawNumber, formattedNumber); in bindView()
60 final String formattedNumber) { in showDeleteBlockedNumberDialog() argument
61 String message = context.getString(R.string.unblock_dialog_body, formattedNumber); in showDeleteBlockedNumberDialog()
62 int startingPosition = message.indexOf(formattedNumber); in showDeleteBlockedNumberDialog()
65 startingPosition + formattedNumber.length()); in showDeleteBlockedNumberDialog()
DBlockedNumbersUtil.java62 String formattedNumber = PhoneNumberUtils.formatNumber(number, getLocaleDefaultToUS()); in formatNumber() local
64 formattedNumber == null ? number : formattedNumber, in formatNumber()
74 String formattedNumber = formatNumber(number); in showToastWithFormattedNumber() local
75 String message = context.getString(stringId, formattedNumber); in showToastWithFormattedNumber()
76 int startingPosition = message.indexOf(formattedNumber); in showToastWithFormattedNumber()
79 startingPosition + formattedNumber.length()); in showToastWithFormattedNumber()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java184 info.formattedNumber = c.getString(CallLogQuery.CACHED_FORMATTED_NUMBER); in getContactInfo()
252 contactInfo.formattedNumber = formatPhoneNumber(number, null, countryIso); in createEmptyContactInfoForNumber()
254 contactInfo.lookupUri = createTemporaryContactUri(contactInfo.formattedNumber); in createEmptyContactInfoForNumber()
368 info.formattedNumber = null; in createPhoneLookupContactInfo()
417 info.formattedNumber = formatPhoneNumber(number, null, countryIso); in queryContactInfoForPhoneNumber()
523 if (!TextUtils.equals(updatedInfo.formattedNumber, callLogInfo.formattedNumber)) { in updateCallLogContactInfo()
524 values.put(Calls.CACHED_FORMATTED_NUMBER, updatedInfo.formattedNumber); in updateCallLogContactInfo()
544 values.put(Calls.CACHED_FORMATTED_NUMBER, updatedInfo.formattedNumber); in updateCallLogContactInfo()
DContactInfo.java42 public String formattedNumber; field in ContactInfo
114 if (!TextUtils.equals(formattedNumber, other.formattedNumber)) { in equals()
161 + formattedNumber in toString()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberAsyncQueryHandler.java149 String formattedNumber = FilteredNumbersUtil.getBlockableNumber(context, e164Number, number); in isBlockedNumber() local
150 if (TextUtils.isEmpty(formattedNumber)) { in isBlockedNumber()
193 new String[] {formattedNumber}, in isBlockedNumber()
220 String formattedNumber = FilteredNumbersUtil.getBlockableNumber(context, e164Number, number); in getBlockedIdSynchronous() local
221 if (TextUtils.isEmpty(formattedNumber)) { in getBlockedIdSynchronous()
236 new String[] {formattedNumber}, in getBlockedIdSynchronous() argument
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java154 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso); in getFormattedNumber() local
155 formattedNumber = TextUtils.isEmpty(formattedNumber) ? number : formattedNumber; in getFormattedNumber()
157 Log.d(TAG, "getFormattedNumber, result: " + formattedNumber); in getFormattedNumber()
159 return formattedNumber; in getFormattedNumber()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneNumberDisplayUtil.java71 CharSequence formattedNumber, in getDisplayNumber() argument
79 if (!TextUtils.isEmpty(formattedNumber)) { in getDisplayNumber()
80 return getTtsSpannableLtrNumber(formattedNumber); in getDisplayNumber()
DPhoneCallDetails.java193 Context context, CharSequence formattedNumber, boolean isVoicemail) { in updateDisplayNumber() argument
196 context, number, numberPresentation, formattedNumber, postDialDigits, isVoicemail) in updateDisplayNumber()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DVoicemailCursorLoader.java114 String formattedNumber = cursor.getString(FORMATTED_NUMBER); in toVoicemailEntry() local
115 if (!TextUtils.isEmpty(formattedNumber)) { in toVoicemailEntry()
116 voicemailEntryBuilder.setFormattedNumber(formattedNumber); in toVoicemailEntry()
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java282 String formattedNumber = PhoneNumberUtils.formatNumber(number, numberE164, countryIso); in formatNumber() local
283 return formattedNumber != null ? formattedNumber : number; in formatNumber()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java264 String formattedNumber = annotatedCallLogRow.getString(formattedNumberColumn); in mergeRow() local
265 if (!TextUtils.isEmpty(formattedNumber)) { in mergeRow()
266 coalescedRowBuilder.setFormattedNumber(formattedNumber); in mergeRow()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java330 String formattedNumber = in handleInsertsAndUpdates() local
332 if (formattedNumber == null) { in handleInsertsAndUpdates()
333 formattedNumber = numberWithPostDialDigits; in handleInsertsAndUpdates()
335 contentValues.put(AnnotatedCallLog.FORMATTED_NUMBER, formattedNumber); in handleInsertsAndUpdates()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DRenameMobileNetworkDialogFragment.java127 final String formattedNumber = DeviceInfoUtils.getFormattedPhoneNumber(getContext(), info); in populateView() local
128 phoneNumber.setText(BidiFormatter.getInstance().unicodeWrap(formattedNumber, in populateView()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogNotificationsQueryHelper.java209 contactInfo.formattedNumber = PhoneNumberHelper.formatNumber(context, number, countryIso); in getContactInfo()
228 if (!TextUtils.isEmpty(contactInfo.formattedNumber)) { in getContactInfo()
230 contactInfo.name = contactInfo.formattedNumber; in getContactInfo()
DCallLogAdapter.java1068 CharSequence formattedNumber = in loadData() local
1069 info.formattedNumber == null in loadData()
1071 : PhoneNumberUtils.createTtsSpannable(info.formattedNumber); in loadData()
1072 details.updateDisplayNumber(activity, formattedNumber, isVoicemailNumber); in loadData()
DMissedCallNotifier.java176 if (TextUtils.equals(contactInfo.name, contactInfo.formattedNumber) in updateMissedCallNotification()
340 if (TextUtils.equals(contactInfo.name, contactInfo.formattedNumber) in getNotificationForCall()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java112 if (!TextUtils.isEmpty(info.formattedNumber)) { in getDisplayNumber()
113 return info.formattedNumber; in getDisplayNumber()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java162 final String formattedNumber = DeviceInfoUtils.getFormattedPhoneNumber(getContext(), info); in populateView() local
163 phoneNumber.setText(BidiFormatter.getInstance().unicodeWrap(formattedNumber, in populateView()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java418 String formattedNumber = PhoneNumberUtils.formatNumber(handle, in getNameForMissedCallNotification() local
424 if (!TextUtils.isEmpty(formattedNumber)) { in getNameForMissedCallNotification()
425 handle = formattedNumber; in getNameForMissedCallNotification()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java267 String formattedNumber = in getDisplayNumber() local
270 return PhoneNumberUtils.createTtsSpannable(formattedNumber); in getDisplayNumber()
DSpamNotificationActivity.java131 String formattedNumber = in getFormattedNumber() local
133 return PhoneNumberUtils.createTtsSpannable(formattedNumber).toString(); in getFormattedNumber()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java681 final String formattedNumber = PhoneNumberUtilsCompat.formatNumber( in addReadOnlyRawContactEditorViews() local
689 bindData(phoneDrawable, phoneContentDescription, formattedNumber, phoneType, in addReadOnlyRawContactEditorViews()