Home
last modified time | relevance | path

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

/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhonenumber.java46 public int getCountryCode() { return countryCode_; } in getCountryCode() method in Phonenumber.PhoneNumber
179 setCountryCode(other.getCountryCode()); in mergeFrom()
228 hash = (53 * hash) + getCountryCode(); in hashCode()
DPhoneNumberUtil.java862 if (getRegionCodeForCountryCode(number.getCountryCode()).equals("AR") &&
1032 int countryCallingCode = number.getCountryCode();
1073 int countryCallingCode = number.getCountryCode();
1134 int countryCallingCode = number.getCountryCode();
1201 int countryCallingCode = number.getCountryCode();
1275 int countryCallingCode = number.getCountryCode();
1369 String regionCode = getRegionCodeForCountryCode(number.getCountryCode());
1467 return number.isItalianLeadingZero() && !isLeadingZeroPossible(number.getCountryCode());
1471 int countryCallingCode = number.getCountryCode();
1516 int countryCode = number.getCountryCode();
[all …]
DMetadataManager.java76 callingCodeToAlternateFormatsMap.put(metadata.getCountryCode(), metadata); in loadMetadataFromFile()
DPhoneNumberMatcher.java559 MetadataManager.getAlternateFormatsForCountry(number.getCountryCode()); in checkNumberGroupingIsValid()
612 util.getRegionCodeForCountryCode(number.getCountryCode()); in isNationalPrefixPresentIfRequired()
DAsYouTypeFormatter.java512 return (currentMetaData.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') && in isNanpaNumberWithNationalPrefix()
DPhonemetadata.java507 public int getCountryCode() { return countryCode_; } in getCountryCode() method in Phonemetadata.PhoneMetadata
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAddress.java82 public String getCountryCode() { in getCountryCode() method in ShadowAddress
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DAreaCodeMap.java151 Long.parseLong(number.getCountryCode() + phoneUtil.getNationalSignificantNumber(number)); in lookup()
DPhoneNumberOfflineGeocoder.java273 int countryCallingCode = number.getCountryCode(); in getAreaDescriptionForNumber()
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DPhoneNumberUtilTest.java147 assertEquals(1, metadata.getCountryCode()); in testGetInstanceLoadUSMetadata()
168 assertEquals(49, metadata.getCountryCode()); in testGetInstanceLoadDEMetadata()
188 assertEquals(54, metadata.getCountryCode()); in testGetInstanceLoadARMetadata()
204 assertEquals(800, metadata.getCountryCode()); in testGetInstanceLoadInternationalTollFreeMetadata()