Home
last modified time | relevance | path

Searched refs:getCountryCode (Results 1 – 25 of 30) sorted by relevance

12

/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java71 phoneUtil.getRegionCodesForCountryCode(number.getCountryCode()); in getCountryNameForNumber()
121 String mobileToken = PhoneNumberUtil.getCountryMobileToken(number.getCountryCode()); in getDescriptionForValidNumber()
127 String region = phoneUtil.getRegionCodeForCountryCode(number.getCountryCode()); in getDescriptionForValidNumber()
196 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
219 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java68 phoneUtil.getRegionCodesForCountryCode(number.getCountryCode()); in getCountryNameForNumber()
118 String mobileToken = PhoneNumberUtil.getCountryMobileToken(number.getCountryCode()); in getDescriptionForValidNumber()
124 String region = phoneUtil.getRegionCodeForCountryCode(number.getCountryCode()); in getDescriptionForValidNumber()
192 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
215 } else if (!phoneUtil.isNumberGeographical(numberType, number.getCountryCode())) { in getDescriptionForNumber()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DShortNumberInfo.java110 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in regionDialingFromMatchesNumber()
145 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber()
196 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber()
289 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in getExpectedCost()
471 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isCarrierSpecific()
DPhoneNumberUtil.java847 int countryCallingCode = number.getCountryCode();
929 String mobileToken = getCountryMobileToken(number.getCountryCode());
1174 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode());
1242 int countryCallingCode = number.getCountryCode();
1284 int countryCallingCode = number.getCountryCode();
1344 int countryCallingCode = number.getCountryCode();
1415 int countryCallingCode = number.getCountryCode();
1527 int countryCallingCode = number.getCountryCode();
1620 String regionCode = getRegionCodeForCountryCode(number.getCountryCode());
1713 int countryCallingCode = number.getCountryCode();
[all …]
DPhonenumber.java64 public int getCountryCode() { return countryCode_; } in getCountryCode() method in Phonenumber.PhoneNumber
219 setCountryCode(other.getCountryCode()); in mergeFrom()
272 hash = (53 * hash) + getCountryCode(); in hashCode()
DPhoneNumberMatcher.java459 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped()
478 String region = util.getRegionCodeForCountryCode(number.getCountryCode()); in allNumberGroupsRemainGrouped()
568 MetadataManager.getAlternateFormatsForCountry(number.getCountryCode()); in checkNumberGroupingIsValid()
599 .equals(Integer.toString(number.getCountryCode()))) { in containsMoreThanOneSlashInNationalNumber()
642 util.getRegionCodeForCountryCode(number.getCountryCode()); in isNationalPrefixPresentIfRequired()
DMetadataManager.java137 countryCallingCodeToMetadata.put(metadata.getCountryCode(), metadata); in load()
DAsYouTypeFormatter.java528 return (currentMetadata.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') in isNanpaNumberWithNationalPrefix()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java107 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in regionDialingFromMatchesNumber()
142 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber()
193 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber()
286 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in getExpectedCost()
468 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isCarrierSpecific()
DPhoneNumberUtil.java814 int countryCallingCode = number.getCountryCode();
896 String mobileToken = getCountryMobileToken(number.getCountryCode());
1140 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode());
1207 int countryCallingCode = number.getCountryCode();
1249 int countryCallingCode = number.getCountryCode();
1309 int countryCallingCode = number.getCountryCode();
1380 int countryCallingCode = number.getCountryCode();
1492 int countryCallingCode = number.getCountryCode();
1584 String regionCode = getRegionCodeForCountryCode(number.getCountryCode());
1677 int countryCallingCode = number.getCountryCode();
[all …]
DPhonenumber.java47 public int getCountryCode() { return countryCode_; } in getCountryCode() method in Phonenumber.PhoneNumber
197 setCountryCode(other.getCountryCode()); in mergeFrom()
250 hash = (53 * hash) + getCountryCode(); in hashCode()
DPhoneNumberMatcher.java458 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped()
477 String region = util.getRegionCodeForCountryCode(number.getCountryCode()); in allNumberGroupsRemainGrouped()
567 MetadataManager.getAlternateFormatsForCountry(number.getCountryCode()); in checkNumberGroupingIsValid()
598 .equals(Integer.toString(number.getCountryCode()))) { in containsMoreThanOneSlashInNationalNumber()
641 util.getRegionCodeForCountryCode(number.getCountryCode()); in isNationalPrefixPresentIfRequired()
DMetadataManager.java136 countryCallingCodeToMetadata.put(metadata.getCountryCode(), metadata); in load()
DAsYouTypeFormatter.java522 return (currentMetadata.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') in isNanpaNumberWithNationalPrefix()
/external/cldr/tools/java/org/unicode/cldr/util/
DIsoCurrencyParser.java125 public String getCountryCode() { in getCountryCode() method in IsoCurrencyParser.Data
194 public static String getCountryCode(String iso4217Country) { in getCountryCode() method in IsoCurrencyParser
236 country_code = getCountryCode(value); in handlePathValue()
265 countryToCodes.put(data.getCountryCode(), alphabetic_code); in handlePathValue()
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
DPrefixTimeZonesMap.java93 long phonePrefix = Long.parseLong(number.getCountryCode() in lookupTimeZonesForNumber()
105 return lookupTimeZonesForNumber(number.getCountryCode()); in lookupCountryLevelTimeZonesForNumber()
DPrefixFileReader.java120 int countryCallingCode = number.getCountryCode(); in getDescriptionForNumber()
DPhonePrefixMap.java184 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPrefixTimeZonesMap.java91 long phonePrefix = Long.parseLong(number.getCountryCode() in lookupTimeZonesForNumber()
103 return lookupTimeZonesForNumber(number.getCountryCode()); in lookupCountryLevelTimeZonesForNumber()
DPrefixFileReader.java118 int countryCallingCode = number.getCountryCode(); in getDescriptionForNumber()
DPhonePrefixMap.java182 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DMultiFileMetadataSourceImplTest.java34 assertEquals(uaeMetadata.getCountryCode(), 971); in testGeoPhoneNumberMetadataLoadCorrectly()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java141 numberType, number.getCountryCode())) { in getTimeZonesForNumber()
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java143 numberType, number.getCountryCode())) { in getTimeZonesForNumber()
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java261 appendLine("country_code", Integer.toString(number.getCountryCode()), output); in getOutputForSingleNumber()

12