Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java568 assertEquals("(650) 291-0000", PhoneNumberUtils.formatNumber("650 2910000", "US")); in testFormatNumber()
569 assertEquals("223-4567", PhoneNumberUtils.formatNumber("2234567", "US")); in testFormatNumber()
571 PhoneNumberUtils.formatNumber("011861088880000", "US")); in testFormatNumber()
572 assertEquals("010 8888 0000", PhoneNumberUtils.formatNumber("01088880000", "CN")); in testFormatNumber()
574 assertEquals("800-GOOG-114", PhoneNumberUtils.formatNumber("800-GOOG-114", "US")); in testFormatNumber()
579 assertEquals("(650) 291-0000", PhoneNumberUtils.formatNumber("650 2910000", "us")); in testFormatNumber_lowerCase()
580 assertEquals("223-4567", PhoneNumberUtils.formatNumber("2234567", "us")); in testFormatNumber_lowerCase()
582 PhoneNumberUtils.formatNumber("011861088880000", "us")); in testFormatNumber_lowerCase()
583 assertEquals("010 8888 0000", PhoneNumberUtils.formatNumber("01088880000", "cn")); in testFormatNumber_lowerCase()
585 assertEquals("800-GOOG-114", PhoneNumberUtils.formatNumber("800-GOOG-114", "us")); in testFormatNumber_lowerCase()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java187 formattedNumber = PhoneNumberUtils.formatNumber(rawNumber); in getFormattedPhoneNumber()
204 sb.append(PhoneNumberUtils.formatNumber(rawNumber)).append("\n"); in getFormattedPhoneNumbers()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabContactSyncController.java180 String number = formatNumber(context, cursor.getString( in handlePhoneNumberDeletedCase()
262 String number = formatNumber(context, contactCursor.getString( in handlePhoneNumberInsertedCase()
342 private String formatNumber(Context context, String number) { in formatNumber() method in EabContactSyncController
DEabUtil.java143 String formattedNumber = EabControllerImpl.formatNumber(context, contactNumber); in getEabContactId()
DEabControllerImpl.java907 return formatNumber(context, numberParts[0]); in getNumberFromUri()
910 static String formatNumber(Context context, String number) { in formatNumber() method in EabControllerImpl
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1299 public static String formatNumber(String source) { in formatNumber() method in PhoneNumberUtils
1301 formatNumber(text, getFormatTypeForLocale(Locale.getDefault())); in formatNumber()
1319 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1321 formatNumber(text, defaultFormattingType); in formatNumber()
1352 public static void formatNumber(Editable text, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1640 public static String formatNumber(String phoneNumber, String defaultCountryIso) { in formatNumber() method in PhoneNumberUtils
1711 public static String formatNumber( in formatNumber() method in PhoneNumberUtils
1740 String result = formatNumber(phoneNumber, defaultCountryIso); in formatNumber()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java129 private static String formatNumber(Context context, String number, in formatNumber() method in SmsNumberUtils
586 result = formatNumber(context, destAddr, networkMcc, networkType); in filterDestAddr()
/frameworks/base/core/java/android/widget/
DNumberPicker.java2012 scrollSelectorValue = formatNumber(selectorIndex); in ensureCachedScrollSelectorValue()
2018 private String formatNumber(int value) { in formatNumber() method in NumberPicker
2048 String text = (mDisplayedValues == null) ? formatNumber(mValue) in updateInputTextView()
2902 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualDecrementButtonText()
2914 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualIncrementButtonText()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java91 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in VCardUtils.PhoneNumberUtilsPort
93 PhoneNumberUtils.formatNumber(text, defaultFormattingType); in formatNumber()
DVCardBuilder.java852 formatted = PhoneNumberUtilsPort.formatNumber( in appendPhones()
DVCardEntry.java1810 formattedNumber = PhoneNumberUtilsPort.formatNumber( in addPhone()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfoAsyncQuery.java348 mCallerInfo.setPhoneNumber(PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java2637 String formatNumber = GsmCdmaConnection.formatDialString(dialingNumber); in setCallForwardingOption() local
2639 commandInterfaceCFAction, commandInterfaceCFReason, formatNumber); in setCallForwardingOption()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28390 method public static deprecated java.lang.String formatNumber(java.lang.String);
28391 method public static deprecated void formatNumber(android.text.Editable, int);
28392 method public static java.lang.String formatNumber(java.lang.String, java.lang.String);
28393 …method public static java.lang.String formatNumber(java.lang.String, java.lang.String, java.lang.S…
/frameworks/base/core/api/
Dcurrent.txt45268 method @Deprecated public static String formatNumber(String);
45269 method @Deprecated public static void formatNumber(android.text.Editable, int);
45270 method public static String formatNumber(String, String);
45271 method public static String formatNumber(String, String, String);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt67755 Landroid/widget/NumberPicker;->formatNumber(I)Ljava/lang/String;