Home
last modified time | relevance | path

Searched refs:carrierCode (Results 1 – 2 of 2) sorted by relevance

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1226 public String formatNationalNumberWithCarrierCode(PhoneNumber number, String carrierCode) {
1242 PhoneNumberFormat.NATIONAL, carrierCode));
1773 String carrierCode) {
1784 : formatNsnUsingPattern(number, formattingPattern, numberFormat, carrierCode);
1815 String carrierCode) {
1821 carrierCode != null && carrierCode.length() > 0 &&
1826 CC_PATTERN.matcher(carrierCodeFormattingRule).replaceFirst(carrierCode);
2640 StringBuilder number, PhoneMetadata metadata, StringBuilder carrierCode) {
2666 if (carrierCode != null && numOfGroups > 0 && prefixMatcher.group(numOfGroups) != null) {
2667 carrierCode.append(prefixMatcher.group(1));
[all …]
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberUtilTest.java1483 StringBuilder carrierCode = new StringBuilder(); in testMaybeStripNationalPrefix() local
1485 numberToStrip, metadata, carrierCode)); in testMaybeStripNationalPrefix()
1486 assertEquals("81", carrierCode.toString()); in testMaybeStripNationalPrefix()