Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java556 assertEquals("(650) 291-0000", PhoneNumberUtils.formatNumber("650 2910000", "US")); in testFormatNumber()
557 assertEquals("223-4567", PhoneNumberUtils.formatNumber("2234567", "US")); in testFormatNumber()
559 PhoneNumberUtils.formatNumber("011861088880000", "US")); in testFormatNumber()
560 assertEquals("010 8888 0000", PhoneNumberUtils.formatNumber("01088880000", "CN")); in testFormatNumber()
562 assertEquals("800-GOOG-114", PhoneNumberUtils.formatNumber("800-GOOG-114", "US")); in testFormatNumber()
572 assertEquals("+81 90-6657-1180", PhoneNumberUtils.formatNumber("+819066571180", "US")); in testFormatJapanInternational()
582 assertEquals("090-6657-0660", PhoneNumberUtils.formatNumber("09066570660", "JP")); in testFormatJapanNational()
583 assertEquals("090-6657-1180", PhoneNumberUtils.formatNumber("+819066571180", "JP")); in testFormatJapanNational()
586 assertEquals("+1 650-555-1212", PhoneNumberUtils.formatNumber("+16505551212", "JP")); in testFormatJapanNational()
593 assertEquals("*650 2910000", PhoneNumberUtils.formatNumber("*650 2910000", "US")); in testFormatNumber_LeadingStarAndHash()
[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/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1283 public static String formatNumber(String source) { in formatNumber() method in PhoneNumberUtils
1285 formatNumber(text, getFormatTypeForLocale(Locale.getDefault())); in formatNumber()
1303 public static String formatNumber(String source, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1305 formatNumber(text, defaultFormattingType); in formatNumber()
1336 public static void formatNumber(Editable text, int defaultFormattingType) { in formatNumber() method in PhoneNumberUtils
1612 public static String formatNumber(String phoneNumber, String defaultCountryIso) { in formatNumber() method in PhoneNumberUtils
1668 public static String formatNumber( in formatNumber() method in PhoneNumberUtils
1693 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.java2013 scrollSelectorValue = formatNumber(selectorIndex); in ensureCachedScrollSelectorValue()
2019 private String formatNumber(int value) { in formatNumber() method in NumberPicker
2049 String text = (mDisplayedValues == null) ? formatNumber(mValue) in updateInputTextView()
2900 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualDecrementButtonText()
2912 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.java347 mCallerInfo.setPhoneNumber(PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/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/api/
Dcurrent.txt47616 method @Deprecated public static String formatNumber(String);
47617 method @Deprecated public static void formatNumber(android.text.Editable, int);
47618 method public static String formatNumber(String, String);
47619 method public static String formatNumber(String, String, String);
/frameworks/base/config/
Dboot-image-profile.txt18784 HSPLandroid/telephony/PhoneNumberUtils;->formatNumber(Ljava/lang/String;Ljava/lang/String;)Ljava/la…