Home
last modified time | relevance | path

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

12

/third_party/libphonenumber/java/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()
/third_party/libphonenumber/migrator/src/test/java/com/google/phonenumbers/migrator/
DMigrationUtilsTest.java55 .getMigratableRangeByCountry(job.getRecipesRangeTable(), job.getCountryCode(), in getCountryMigratableNumbers_expectNoMatches()
68 .getMigratableRangeByCountry(job.getRecipesRangeTable(), job.getCountryCode(), in getCountryMigratableNumbers_expectMatches()
113 .findMatchingRecipe(job.getRecipesCsvTable(), job.getCountryCode(), testNumberToMatch)) in findMatchingRecipe_expectNoMatchingRecipe()
124 .findMatchingRecipe(job.getRecipesCsvTable(), job.getCountryCode(), testNumberToMatch); in findMatchingRecipe_expectMatchingRecipe()
DMigrationFactoryTest.java59 assertThat(mj.getCountryCode().toString()).matches(countryCode); in createFromFilePath_validPathLocation_expectValidFields()
89 assertThat(mj.getCountryCode().toString()).matches(countryCode); in createFromNumberString_validNumberFormat_expectValidFields()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DShortNumberInfo.java114 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in regionDialingFromMatchesNumber()
163 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber()
213 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber()
305 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in getExpectedCost()
480 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isCarrierSpecific()
DPhoneNumberUtil.java886 int countryCallingCode = number.getCountryCode();
968 String mobileToken = getCountryMobileToken(number.getCountryCode());
1218 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode());
1285 int countryCallingCode = number.getCountryCode();
1327 int countryCallingCode = number.getCountryCode();
1387 int countryCallingCode = number.getCountryCode();
1458 int countryCallingCode = number.getCountryCode();
1562 int countryCallingCode = number.getCountryCode();
1655 String regionCode = getRegionCodeForCountryCode(number.getCountryCode());
1748 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.java465 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped()
484 String region = util.getRegionCodeForCountryCode(number.getCountryCode()); in allNumberGroupsRemainGrouped()
581 .getFormattingMetadataForCountryCallingCode(number.getCountryCode()); in checkNumberGroupingIsValid()
622 .equals(Integer.toString(number.getCountryCode()))) { in containsMoreThanOneSlashInNationalNumber()
665 util.getRegionCodeForCountryCode(number.getCountryCode()); in isNationalPrefixPresentIfRequired()
DMetadataManager.java136 countryCallingCodeToMetadata.put(metadata.getCountryCode(), metadata); in load()
DAsYouTypeFormatter.java536 return (currentMetadata.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') in isNanpaNumberWithNationalPrefix()
/third_party/libphonenumber/java/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.java119 int countryCallingCode = number.getCountryCode(); in getDescriptionForNumber()
DPhonePrefixMap.java182 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
DMultiFileMetadataSourceImplTest.java34 assertEquals(uaeMetadata.getCountryCode(), 971); in testGeoPhoneNumberMetadataLoadCorrectly()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/metadata/source/
DMapBackedMetadataContainer.java44 return phoneMetadata.getCountryCode();
/third_party/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/
DBuildMetadataJsonFromXml.java153 key = Integer.toString(metadata.getCountryCode()); in writeCountryToMetadataMap()
319 jsArrayBuilder.append(metadata.getCountryCode()); in toJsArray()
DBuildMetadataProtoFromXml.java180 regionCode = Integer.toString(metadata.getCountryCode()); in start()
/third_party/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java141 numberType, number.getCountryCode())) { in getTimeZonesForNumber()
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DMigrationJob.java67 public DigitSequence getCountryCode() { in getCountryCode() method in MigrationJob
258 public DigitSequence getCountryCode() { in getCountryCode() method in MigrationJob.MigrationReport
DCommandLineMain.java113 System.out.println("Migration of country code +" + migrationJob.getCountryCode() + " phone " in main()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java146 int countryCode = metadata.getCountryCode(); in buildCountryCodeToRegionCodeMap()
259 : Integer.toString(metadata.getCountryCode()); in loadInternationalFormat()
296 : Integer.toString(metadata.getCountryCode()); in loadNationalFormat()
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DMetadataFilterTest.java866 assertEquals(metadata.getCountryCode(), COUNTRY_CODE); in testFilterMetadata_liteBuild()
895 assertEquals(metadata.getCountryCode(), COUNTRY_CODE); in testFilterMetadata_specialBuild()
931 assertEquals(metadata.getCountryCode(), COUNTRY_CODE); in testFilterMetadata_emptyFilter()
/third_party/libphonenumber/javascript/i18n/phonenumbers/
Dphonenumber.pb.js64 i18n.phonenumbers.PhoneNumber.prototype.getCountryCode = function() { method in i18n.phonenumbers.PhoneNumber
/third_party/libphonenumber/migrator/migrator-servlet/src/main/java/com/google/phonenumbers/
DServletMain.java229 req.setAttribute("fileCountryCode", report.getCountryCode()); in handleFileMigration()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_geolocation.js254 getCountryCode: function (...args) { method
Dohos_wifi.js416 getCountryCode: function (...args) { method

12