Home
last modified time | relevance | path

Searched refs:formatNumber (Results 1 – 15 of 15) 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.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()
2894 return (mDisplayedValues == null) ? formatNumber(value) in getVirtualDecrementButtonText()
2906 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.java341 mCallerInfo.setPhoneNumber(PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java2175 String formatNumber = GsmCdmaConnection.formatDialString(dialingNumber); in setCallForwardingOption() local
2177 commandInterfaceCFAction, commandInterfaceCFReason, formatNumber); in setCallForwardingOption()
/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/config/
Dboot-image-profile.txt14056 HSPLandroid/telephony/PhoneNumberUtils;->formatNumber(Landroid/text/Editable;I)V
14057 HSPLandroid/telephony/PhoneNumberUtils;->formatNumber(Ljava/lang/String;Ljava/lang/String;)Ljava/la…
14058 HSPLandroid/telephony/PhoneNumberUtils;->formatNumber(Ljava/lang/String;Ljava/lang/String;Ljava/lan…
Dhiddenapi-greylist-max-o.txt82827 Landroid/widget/NumberPicker;->formatNumber(I)Ljava/lang/String;
/frameworks/base/non-updatable-api/
Dcurrent.txt45382 method @Deprecated public static String formatNumber(String);
45383 method @Deprecated public static void formatNumber(android.text.Editable, int);
45384 method public static String formatNumber(String, String);
45385 method public static String formatNumber(String, String, String);
/frameworks/base/api/
Dcurrent.txt45526 method @Deprecated public static String formatNumber(String);
45527 method @Deprecated public static void formatNumber(android.text.Editable, int);
45528 method public static String formatNumber(String, String);
45529 method public static String formatNumber(String, String, String);