Home
last modified time | relevance | path

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

/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/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()
469 List<String> regionCodes = getRegionCodesForCountryCode(number.getCountryCode()); in isCarrierSpecific()
DPhoneNumberUtil.java812 int countryCallingCode = number.getCountryCode();
890 String mobileToken = getCountryMobileToken(number.getCountryCode());
1036 return isNumberGeographical(getNumberType(phoneNumber), phoneNumber.getCountryCode());
1106 int countryCallingCode = number.getCountryCode();
1148 int countryCallingCode = number.getCountryCode();
1209 int countryCallingCode = number.getCountryCode();
1280 int countryCallingCode = number.getCountryCode();
1387 int countryCallingCode = number.getCountryCode();
1481 String regionCode = getRegionCodeForCountryCode(number.getCountryCode());
1578 return number.isItalianLeadingZero() && !isLeadingZeroPossible(number.getCountryCode());
[all …]
DPhoneNumberMatcher.java429 if (phoneUtil.getRegionCodeForCountryCode(number.getCountryCode()).equals("IL") in parseAndVerify()
478 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped()
497 String region = util.getRegionCodeForCountryCode(number.getCountryCode()); in allNumberGroupsRemainGrouped()
586 MetadataManager.getAlternateFormatsForCountry(number.getCountryCode()); in checkNumberGroupingIsValid()
617 .equals(Integer.toString(number.getCountryCode()))) { in containsMoreThanOneSlashInNationalNumber()
660 util.getRegionCodeForCountryCode(number.getCountryCode()); in isNationalPrefixPresentIfRequired()
DPhonenumber.java46 public int getCountryCode() { return countryCode_; } in getCountryCode() method in Phonenumber.PhoneNumber
196 setCountryCode(other.getCountryCode()); in mergeFrom()
249 hash = (53 * hash) + getCountryCode(); in hashCode()
DMetadataManager.java136 countryCallingCodeToMetadata.put(metadata.getCountryCode(), metadata); in load()
DAsYouTypeFormatter.java532 return (currentMetadata.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') in isNanpaNumberWithNationalPrefix()
DPhonemetadata.java637 public int getCountryCode() { return countryCode_; } in getCountryCode() method in Phonemetadata.PhoneMetadata
/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.java116 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()
DPhoneNumberUtilTest.java138 assertEquals(1, metadata.getCountryCode()); in testGetInstanceLoadUSMetadata()
162 assertEquals(49, metadata.getCountryCode()); in testGetInstanceLoadDEMetadata()
187 assertEquals(54, metadata.getCountryCode()); in testGetInstanceLoadARMetadata()
203 assertEquals(800, metadata.getCountryCode()); in testGetInstanceLoadInternationalTollFreeMetadata()
373 assertEquals(1, usInvalidNumber.getCountryCode()); in testGetInvalidExampleNumber()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAddress.java82 public String getCountryCode() { in getCountryCode() method in ShadowAddress
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java141 numberType, number.getCountryCode())) { in getTimeZonesForNumber()
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java279 appendLine("country_code", Integer.toString(number.getCountryCode()), output); in getOutputForSingleNumber()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiManagerFacade.java704 return mWifi.getCountryCode(); in wifiGetCountryCode()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java363 result.put("country_code", address.getCountryCode()); in buildJsonAddress()