Home
last modified time | relevance | path

Searched refs:formatNumber (Results 1 – 25 of 33) sorted by relevance

12

/packages/services/Telephony/tests/src/com/android/phone/tests/
DCallForwardInfoTest.java39 assertNotNull(PhoneNumberUtils.formatNumber("+12345678900", Locale.US.getCountry())); in testCallForwardNumberResponses()
40 assertNotNull(PhoneNumberUtils.formatNumber("123-456-7890", Locale.US.getCountry())); in testCallForwardNumberResponses()
41 assertNotNull(PhoneNumberUtils.formatNumber("#123", Locale.US.getCountry())); in testCallForwardNumberResponses()
42 assertNotNull(PhoneNumberUtils.formatNumber("*12", Locale.US.getCountry())); in testCallForwardNumberResponses()
44 assertNull(PhoneNumberUtils.formatNumber("a", Locale.US.getCountry())); in testCallForwardNumberResponses()
45 assertNull(PhoneNumberUtils.formatNumber("a1", Locale.US.getCountry())); in testCallForwardNumberResponses()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersUtil.java46 public static String formatNumber(String number){ in formatNumber() method in BlockedNumbersUtil
47 String formattedNumber = PhoneNumberUtils.formatNumber(number, getLocaleDefaultToUS()); in formatNumber()
59 String formattedNumber = formatNumber(number); in showToastWithFormattedNumber()
DBlockedNumbersAdapter.java44 final String formattedNumber = BlockedNumbersUtil.formatNumber(rawNumber); in bindView()
/packages/apps/Contacts/src/com/android/contacts/compat/
DPhoneNumberUtilsCompat.java73 public static String formatNumber( in formatNumber() method in PhoneNumberUtilsCompat
76 return PhoneNumberUtils.formatNumber(phoneNumber, phoneNumberE164, defaultCountryIso); in formatNumber()
79 return PhoneNumberUtils.formatNumber(phoneNumber); in formatNumber()
/packages/apps/Dialer/java/com/android/contacts/common/compat/
DPhoneNumberUtilsCompat.java34 public static String formatNumber( in formatNumber() method in PhoneNumberUtilsCompat
36 return PhoneNumberUtils.formatNumber(phoneNumber, phoneNumberE164, defaultCountryIso); in formatNumber()
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java164 public static String formatNumber(@Nullable String number, Context context) { in formatNumber() method in PhoneNumberHelper
170 PhoneNumberUtils.formatNumber( in formatNumber()
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java90 return context.getString(R.string.action_call, PhoneNumberUtils.formatNumber(ssp)); in getPrettyUriString()
92 return context.getString(R.string.action_text, PhoneNumberUtils.formatNumber(ssp)); in getPrettyUriString()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java211 displayNumber = PhoneNumberHelper.formatNumber(number, context); in populateCacheEntry()
224 displayNumber = PhoneNumberHelper.formatNumber(number, context); in populateCacheEntry()
249 displayNumber = PhoneNumberHelper.formatNumber(number, context); in populateCacheEntry()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DPhoneDataItem.java57 PhoneNumberUtilsCompat.formatNumber( in computeFormattedPhoneNumber()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DPhoneDataItem.java81 final String formattedPhoneNumber = PhoneNumberUtilsCompat.formatNumber(phoneNumber, in computeFormattedPhoneNumber()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DBlockedNumbersAdapter.java68 PhoneNumberUtils.formatNumber(number, countryIso), in bindView()
/packages/services/Telephony/src/com/android/phone/
DCallGatewayManager.java189 return PhoneNumberUtils.formatNumber(uri.getSchemeSpecificPart()); in formatProviderUri()
DCallForwardEditPreference.java156 if (mReplaceInvalidCFNumber && (PhoneNumberUtils.formatNumber(callForwardInfo.number, in handleCallForwardResult()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DBottomRow.java105 PhoneNumberUtils.formatNumber(state.callbackNumber)); in getInfo()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DLegacyVoicemailNotifier.java144 PhoneNumberUtils.formatNumber(voicemailNumber)); in getNotificationText()
DCallLogNotificationsQueryHelper.java181 contactInfo.formattedNumber = PhoneNumberUtils.formatNumber(number, countryIso); in getContactInfo()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DDialerPhoneNumberListAdapter.java231 PhoneNumberUtils.formatNumber(PhoneNumberUtils.normalizeNumber(queryString), mCountryIso); in setQueryString()
DBlockedListSearchFragment.java176 PhoneNumberUtils.formatNumber(number, countryIso), in blockNumber()
/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java110 return PhoneNumberUtils.formatNumber(mPhoneNumber, mCountryCode); in getFormattedPhone()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DCallLogInteraction.java73 number = PhoneNumberUtilsCompat.formatNumber(number, in getViewHeader()
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
DTelecomUtils.java223 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso); in getFormattedNumber()
/packages/apps/Settings/src/com/android/settings/sim/
DSimPreferenceDialog.java142 numberView.setText(PhoneNumberUtils.formatNumber(rawNumber)); in createEditDialog()
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/
DTelecomUtils.java334 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso); in getFormattedNumber()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java192 PhoneNumberUtils.formatNumber(call.getNumber(), GeoUtil.getCurrentCountryIso(context)); in getDisplayNumber()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java215 String formattedViaNumber = PhoneNumberUtils.formatNumber(call.getViaNumber(), in logCall()

12