Searched refs:NATIONAL (Results 1 - 3 of 3) sorted by relevance
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtilTest.java | 409 assertEquals("650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.NATIONAL)); 412 assertEquals("800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.NATIONAL)); 415 assertEquals("900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.NATIONAL)); 421 phoneUtil.format(US_SPOOF_WITH_RAW_INPUT, PhoneNumberFormat.NATIONAL)); 422 assertEquals("0", phoneUtil.format(US_SPOOF, PhoneNumberFormat.NATIONAL)); 426 assertEquals("242 365 1234", phoneUtil.format(BS_NUMBER, PhoneNumberFormat.NATIONAL)); 431 assertEquals("(020) 7031 3000", phoneUtil.format(GB_NUMBER, PhoneNumberFormat.NATIONAL)); 434 assertEquals("(07912) 345 678", phoneUtil.format(GB_MOBILE, PhoneNumberFormat.NATIONAL)); 441 assertEquals("030/1234", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); 447 assertEquals("0291 123", phoneUtil.format(deNumber, PhoneNumberFormat.NATIONAL)); [all...] |
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtil.java | 365 * INTERNATIONAL and NATIONAL formats are consistent with the definition in ITU-T Recommendation 367 * "+41 44 668 1800" in INTERNATIONAL format, and as "044 668 1800" in NATIONAL format. 379 NATIONAL, enum constant in enum:PhoneNumberUtil.PhoneNumberFormat 1242 PhoneNumberFormat.NATIONAL, carrierCode)); 1243 maybeAppendFormattedExtension(number, metadata, PhoneNumberFormat.NATIONAL, formattedNumber); 1244 prefixNumberWithCountryCallingCode(countryCallingCode, PhoneNumberFormat.NATIONAL, 1327 " " + format(numberNoExt, PhoneNumberFormat.NATIONAL); 1338 formattedNumber = format(numberNoExt, PhoneNumberFormat.NATIONAL); 1358 formattedNumber = format(numberNoExt, PhoneNumberFormat.NATIONAL); 1375 * same as that of the region where the number is from, then NATIONAL formattin [all...] |
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
H A D | PhoneNumberParserServlet.java | 225 appendLine("National format", phoneUtil.format(number, PhoneNumberFormat.NATIONAL), output);
|
Completed in 78 milliseconds