Home
last modified time | relevance | path

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

/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java96 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode); in getRegionCodesForCountryCode() local
97 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0) in getRegionCodesForCountryCode()
98 : regionCodes); in getRegionCodesForCountryCode()
107 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in regionDialingFromMatchesNumber() local
108 return regionCodes.contains(regionDialingFrom); in regionDialingFromMatchesNumber()
142 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber() local
144 for (String region : regionCodes) { in isPossibleShortNumber()
193 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber() local
194 String regionCode = getRegionCodeForShortNumberFromRegionList(number, regionCodes); in isValidShortNumber()
195 if (regionCodes.size() > 1 && regionCode != null) { in isValidShortNumber()
[all …]
DMultiFileMetadataSourceImpl.java81 List<String> regionCodes = in isNonGeographical() local
83 return (regionCodes.size() == 1 in isNonGeographical()
84 && PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))); in isNonGeographical()
DPhoneNumberUtil.java635 List<String> regionCodes = entry.getValue();
638 if (regionCodes.size() == 1 && REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))) {
643 supportedRegions.addAll(regionCodes);
2324 List<String> regionCodes) {
2326 for (String regionCode : regionCodes) {
2351 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2352 return regionCodes == null ? UNKNOWN_REGION : regionCodes.get(0);
2361 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2362 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0)
2363 : regionCodes);
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DShortNumberInfo.java99 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode); in getRegionCodesForCountryCode() local
100 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0) in getRegionCodesForCountryCode()
101 : regionCodes); in getRegionCodesForCountryCode()
110 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in regionDialingFromMatchesNumber() local
111 return regionCodes.contains(regionDialingFrom); in regionDialingFromMatchesNumber()
145 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber() local
147 for (String region : regionCodes) { in isPossibleShortNumber()
196 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber() local
197 String regionCode = getRegionCodeForShortNumberFromRegionList(number, regionCodes); in isValidShortNumber()
198 if (regionCodes.size() > 1 && regionCode != null) { in isValidShortNumber()
[all …]
DMultiFileMetadataSourceImpl.java82 List<String> regionCodes = in isNonGeographical() local
84 return (regionCodes.size() == 1 in isNonGeographical()
85 && PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))); in isNonGeographical()
DPhoneNumberUtil.java668 List<String> regionCodes = entry.getValue();
671 if (regionCodes.size() == 1 && REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))) {
676 supportedRegions.addAll(regionCodes);
2364 List<String> regionCodes) {
2366 for (String regionCode : regionCodes) {
2391 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2392 return regionCodes == null ? UNKNOWN_REGION : regionCodes.get(0);
2401 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);
2402 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0)
2403 : regionCodes);
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java70 List<String> regionCodes = in getCountryNameForNumber() local
72 if (regionCodes.size() == 1) { in getCountryNameForNumber()
73 return getRegionDisplayName(regionCodes.get(0), language); in getCountryNameForNumber()
76 for (String regionCode : regionCodes) { in getCountryNameForNumber()
/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.java191 List<String> regionCodes = new ArrayList<String>(); in loadRegionData() local
207 regionCodes.add(newRegion); in loadRegionData()
212 regionCodes.add(r); in loadRegionData()
216 regions = new ArrayList<Region>(regionCodes.size()); in loadRegionData()
219 for ( String id : regionCodes) { in loadRegionData()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DRegion.java188 List<String> regionCodes = new ArrayList<String>(); in loadRegionData() local
204 regionCodes.add(newRegion); in loadRegionData()
209 regionCodes.add(r); in loadRegionData()
213 regions = new ArrayList<Region>(regionCodes.size()); in loadRegionData()
216 for ( String id : regionCodes) { in loadRegionData()
/external/cldr/tools/java/org/unicode/cldr/icu/
Dldml2icu_supplemental.txt205 //supplementalData/metadata/validity/variable[@type="choice"][@id="\$territory"] ; /regionCodes ; v…