Home
last modified time | relevance | path

Searched refs:regionCodes (Results 1 – 7 of 7) sorted by relevance

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java98 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode); in getRegionCodesForCountryCode() local
99 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0) in getRegionCodesForCountryCode()
100 : regionCodes); in getRegionCodesForCountryCode()
155 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber() local
157 for (String region : regionCodes) { in isPossibleShortNumber()
229 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber() local
230 String regionCode = getRegionCodeForShortNumberFromRegionList(number, regionCodes); in isValidShortNumber()
231 if (regionCodes.size() > 1 && regionCode != null) { in isValidShortNumber()
366 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in getExpectedCost() local
367 if (regionCodes.size() == 0) { in getExpectedCost()
[all …]
DPhoneNumberUtil.java592 List<String> regionCodes = entry.getValue();
595 if (regionCodes.size() == 1 && REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))) {
600 supportedRegions.addAll(regionCodes);
2147 List<String> regionCodes) {
2149 for (String regionCode : regionCodes) {
2174 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2175 return regionCodes == null ? UNKNOWN_REGION : regionCodes.get(0);
2184 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2185 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0)
2186 : regionCodes);
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java67 List<String> regionCodes = in getCountryNameForNumber() local
69 if (regionCodes.size() == 1) { in getCountryNameForNumber()
70 return getRegionDisplayName(regionCodes.get(0), language); in getCountryNameForNumber()
73 for (String regionCode : regionCodes) { in getCountryNameForNumber()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRegion.java156 UResourceBundle regionCodes = null; in loadRegionData() local
165 regionCodes = metadata.get("regionCodes"); in loadRegionData()
182 int regionCodeSize = regionCodes.getSize(); in loadRegionData()
186 String id = regionCodes.getString(i); in loadRegionData()
/external/icu/icu4c/source/i18n/
Dregion.cpp92 …LocalUResourceBundlePointer regionCodes(ures_getByKey(metadata.getAlias(),"regionCodes",NULL,&stat… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
122 while ( ures_hasNext(regionCodes.getAlias()) ) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
123 UnicodeString regionID = ures_getNextUnicodeString(regionCodes.getAlias(), NULL, &status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/external/icu/icu4c/source/data/misc/
Dmetadata.txt4204 regionCodes{
DsupplementalData.txt13875 regionCodes{