Home
last modified time | relevance | path

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

/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
DPersonalDataManagerTest.java62 assertEquals("CA", storedProfile.getCountryCode()); in testAddAndEditProfiles()
83 assertEquals("US", storedProfile.getCountryCode()); in testUpdateLanguageCodeInProfile()
92 assertEquals("US", storedProfile2.getCountryCode()); in testUpdateLanguageCodeInProfile()
181 assertEquals("CA", storedProfile1.getCountryCode()); in testRespectCountryCodes()
184 assertEquals("CA", storedProfile2.getCountryCode()); in testRespectCountryCodes()
206 assertEquals("PF", storedProfile1.getCountryCode()); in testMultilineStreetAddress()
/external/libphonenumber/java/src/com/android/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/java/src/com/android/i18n/phonenumbers/
DShortNumberInfo.java104 List<String> regionCodes = phoneUtil.getRegionCodesForCountryCode(number.getCountryCode()); in isPossibleShortNumber()
154 List<String> regionCodes = phoneUtil.getRegionCodesForCountryCode(number.getCountryCode()); in isValidShortNumber()
235 List<String> regionCodes = phoneUtil.getRegionCodesForCountryCode(number.getCountryCode()); in getExpectedCost()
412 List<String> regionCodes = phoneUtil.getRegionCodesForCountryCode(number.getCountryCode()); in isCarrierSpecific()
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()
DPhoneNumberMatcher.java430 if (phoneUtil.getRegionCodeForCountryCode(number.getCountryCode()).equals("IL") && in parseAndVerify()
479 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped()
498 String region = util.getRegionCodeForCountryCode(number.getCountryCode()); in allNumberGroupsRemainGrouped()
587 MetadataManager.getAlternateFormatsForCountry(number.getCountryCode()); in checkNumberGroupingIsValid()
618 .equals(Integer.toString(number.getCountryCode()))) { in containsMoreThanOneSlashInNationalNumber()
661 util.getRegionCodeForCountryCode(number.getCountryCode()); in isNationalPrefixPresentIfRequired()
DPhoneNumberUtil.java922 String mobileToken = getCountryMobileToken(number.getCountryCode());
1112 int countryCallingCode = number.getCountryCode();
1153 int countryCallingCode = number.getCountryCode();
1214 int countryCallingCode = number.getCountryCode();
1281 int countryCallingCode = number.getCountryCode();
1384 int countryCallingCode = number.getCountryCode();
1478 String regionCode = getRegionCodeForCountryCode(number.getCountryCode());
1574 return number.isItalianLeadingZero() && !isLeadingZeroPossible(number.getCountryCode());
1578 int countryCallingCode = number.getCountryCode();
1623 int countryCode = number.getCountryCode();
[all …]
DMetadataManager.java83 callingCodeToAlternateFormatsMap.put(metadata.getCountryCode(), metadata); in loadAlternateFormatsMetadataFromFile()
DAsYouTypeFormatter.java525 return (currentMetadata.getCountryCode() == 1) && (nationalNumber.charAt(0) == '1') && in isNanpaNumberWithNationalPrefix()
DPhonemetadata.java549 public int getCountryCode() { return countryCode_; } in getCountryCode() method in Phonemetadata.PhoneMetadata
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java99 String mobileToken = PhoneNumberUtil.getCountryMobileToken(number.getCountryCode()); in getDescriptionForValidNumber()
105 String region = phoneUtil.getRegionCodeForCountryCode(number.getCountryCode()); in getDescriptionForValidNumber()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAddress.java82 public String getCountryCode() { in getCountryCode() method in ShadowAddress
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/
DAutofillDialogResult.java187 public String getCountryCode() { in getCountryCode() method in AutofillDialogResult.ResultAddress
DPersonalDataManager.java144 public String getCountryCode() { in getCountryCode() method in PersonalDataManager.AutofillProfile
/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()