Home
last modified time | relevance | path

Searched refs:countryCode (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAddress.java15 private String countryCode; field in ShadowAddress
83 return countryCode; in getCountryCode()
87 public void setCountryCode(String countryCode) { in setCountryCode() argument
88 this.countryCode = countryCode; in setCountryCode()
DShadowGeocoder.java25 private String countryCode; field in ShadowGeocoder
51 address.setCountryCode(countryCode); in getFromLocation()
87 …d setSimulatedResponse(String address, String city, String state, String zip, String countryCode) { in setSimulatedResponse() argument
92 this.countryCode = countryCode; in setSimulatedResponse()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
DLocaleNameProviderICU.java21 public String getDisplayCountry(String countryCode, Locale locale) { in getDisplayCountry() argument
22 countryCode = AsciiUtil.toUpperString(countryCode); in getDisplayCountry()
24 .regionDisplayName(countryCode); in getDisplayCountry()
25 if (disp == null || disp.length() == 0 || disp.equals(countryCode)) { in getDisplayCountry()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java1627 int countryCode = number.getCountryCode();
1628 if (!hasValidCountryCallingCode(countryCode)) {
1648 if (countryCode == NANPA_COUNTRY_CODE) {
1650 return countryCode + " " + rawInput;
1653 && countryCode == getCountryCodeForValidRegion(regionCallingFrom)) {
1686 String regionCode = getRegionCodeForCountryCode(countryCode);
1688 PhoneMetadata metadataForRegion = getMetadataForRegionOrCallingCode(countryCode, regionCode);
1692 formattedNumber.insert(0, " ").insert(0, countryCode).insert(0, " ")
1703 prefixNumberWithCountryCallingCode(countryCode,
2185 int countryCode = number.getCountryCode();
[all …]
DAsYouTypeFormatter.java603 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode); in attemptToExtractCountryCallingCode() local
604 if (countryCode == 0) { in attemptToExtractCountryCallingCode()
609 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode); in attemptToExtractCountryCallingCode()
611 currentMetadata = phoneUtil.getMetadataForNonGeographicalRegion(countryCode); in attemptToExtractCountryCallingCode()
615 String countryCodeString = Integer.toString(countryCode); in attemptToExtractCountryCallingCode()
DPhoneNumberMatcher.java478 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped() local
479 fromIndex = normalizedCandidate.indexOf(countryCode) + countryCode.length(); in allNumberGroupsRemainGrouped()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneGenericNames.java241 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); in getGenericLocationName() local
242 if (countryCode != null) { in getGenericLocationName()
245 String country = getLocaleDisplayNames().regionDisplayName(countryCode); in getGenericLocationName()
551 String countryCode = ZoneMeta.getCanonicalCountry(tzID); in getPartialLocationName() local
552 if (countryCode != null) { in getPartialLocationName()
554 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); in getPartialLocationName()
557 location = getLocaleDisplayNames().regionDisplayName(countryCode); in getPartialLocationName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneGenericNames.java239 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); in getGenericLocationName() local
240 if (countryCode != null) { in getGenericLocationName()
243 String country = getLocaleDisplayNames().regionDisplayName(countryCode); in getGenericLocationName()
549 String countryCode = ZoneMeta.getCanonicalCountry(tzID); in getPartialLocationName() local
550 if (countryCode != null) { in getPartialLocationName()
552 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); in getPartialLocationName()
555 location = getLocaleDisplayNames().regionDisplayName(countryCode); in getPartialLocationName()
/external/icu/icu4c/source/i18n/
Dtzgnames.cpp538 char countryCode[ULOC_COUNTRY_CAPACITY]; in getGenericLocationName() local
540 …2_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_… in getGenericLocationName()
541 countryCode[ccLen] = 0; in getGenericLocationName()
544 fLocaleDisplayNames->regionDisplayName(countryCode, country); in getGenericLocationName()
781 char countryCode[ULOC_COUNTRY_CAPACITY]; in getPartialLocationName() local
783 …2_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_… in getPartialLocationName()
784 countryCode[ccLen] = 0; in getPartialLocationName()
787 fTimeZoneNames->getReferenceZoneID(mzID, countryCode, regionalGolden); in getPartialLocationName()
790 fLocaleDisplayNames->regionDisplayName(countryCode, location); in getPartialLocationName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieMapTest.java92 for (String countryCode : ULocale.getISOCountries()) { in init()
93 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init()
94 if (!localeName.equals(countryCode)) { in init()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMapTest.java91 for (String countryCode : ULocale.getISOCountries()) { in init()
92 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init()
93 if (!localeName.equals(countryCode)) { in init()