Searched refs:regionCodes (Results 1 – 10 of 10) sorted by relevance
94 var regionCodes = i18n.phonenumbers.metadata96 return regionCodes ? regionCodes : [];110 var regionCodes = this.getRegionCodesForCountryCode_(112 return regionDialingFrom != null && regionCodes.includes(regionDialingFrom);151 var regionCodes = this.getRegionCodesForCountryCode_(154 for (var i = 0; i < regionCodes.length; i++) {155 var region = regionCodes[i];212 var regionCodes = this.getRegionCodesForCountryCode_(215 regionCodes);216 if (regionCodes.length > 1 && regionCode != null) {[all …]
3143 getRegionCodeForNumberFromRegionList_ = function(number, regionCodes) { argument3150 var regionCodesLength = regionCodes.length;3152 regionCode = regionCodes[i];3184 var regionCodes =3186 return regionCodes == null ?3187 i18n.phonenumbers.PhoneNumberUtil.UNKNOWN_REGION_ : regionCodes[0];3204 var regionCodes =3206 return regionCodes == null ? [] : regionCodes;
103 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode); in getRegionCodesForCountryCode() local104 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0) in getRegionCodesForCountryCode()105 : regionCodes); in getRegionCodesForCountryCode()114 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in regionDialingFromMatchesNumber() local115 return regionCodes.contains(regionDialingFrom); in regionDialingFromMatchesNumber()163 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber() local165 for (String region : regionCodes) { in isPossibleShortNumber()213 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber() local214 String regionCode = getRegionCodeForShortNumberFromRegionList(number, regionCodes); in isValidShortNumber()215 if (regionCodes.size() > 1 && regionCode != null) { in isValidShortNumber()[all …]
81 List<String> regionCodes = in isNonGeographical() local83 return (regionCodes.size() == 1 in isNonGeographical()84 && PhoneNumberUtil.REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))); in isNonGeographical()
688 List<String> regionCodes = entry.getValue();691 if (regionCodes.size() == 1 && REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))) {696 supportedRegions.addAll(regionCodes);2405 List<String> regionCodes) {2407 for (String regionCode : regionCodes) {2432 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);2433 return regionCodes == null ? UNKNOWN_REGION : regionCodes.get(0);2442 List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(countryCallingCode);2443 return Collections.unmodifiableList(regionCodes == null ? new ArrayList<String>(0)2444 : regionCodes);
67 List<String> regionCodes = in getCountryNameForNumber() local69 if (regionCodes.size() == 1) { in getCountryNameForNumber()70 return getRegionDisplayName(regionCodes.get(0), language); in getCountryNameForNumber()73 for (String regionCode : regionCodes) { in getCountryNameForNumber()
191 List<String> regionCodes = new ArrayList<String>(); in loadRegionData() local207 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()
185 List<String> regionCodes = new ArrayList<String>(); in loadRegionData() local201 regionCodes.add(newRegion); in loadRegionData()206 regionCodes.add(r); in loadRegionData()210 regions = new ArrayList<Region>(regionCodes.size()); in loadRegionData()213 for ( String id : regionCodes) { in loadRegionData()
267 List<String> regionCodes = entry.getValue(); in writeMap() local269 regionCodes.size() + ");\n"); in writeMap()270 for (String regionCode : regionCodes) { in writeMap()
265 //supplementalData/metadata/validity/variable[@type="choice"][@id="\$territory"] ; /regionCodes ; v…