/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAddress.java | 15 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()
|
D | ShadowGeocoder.java | 25 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/ |
D | LocaleNameProviderICU.java | 21 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/ |
D | PhoneNumberUtil.java | 1713 int countryCode = number.getCountryCode(); 1714 if (!hasValidCountryCallingCode(countryCode)) { 1734 if (countryCode == NANPA_COUNTRY_CODE) { 1736 return countryCode + " " + rawInput; 1739 && countryCode == getCountryCodeForValidRegion(regionCallingFrom)) { 1772 String regionCode = getRegionCodeForCountryCode(countryCode); 1774 PhoneMetadata metadataForRegion = getMetadataForRegionOrCallingCode(countryCode, regionCode); 1778 formattedNumber.insert(0, " ").insert(0, countryCode).insert(0, " ") 1789 prefixNumberWithCountryCallingCode(countryCode, 2267 int countryCode = number.getCountryCode(); [all …]
|
D | AsYouTypeFormatter.java | 604 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode); in attemptToExtractCountryCallingCode() local 605 if (countryCode == 0) { in attemptToExtractCountryCallingCode() 610 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode); in attemptToExtractCountryCallingCode() 612 currentMetadata = phoneUtil.getMetadataForNonGeographicalRegion(countryCode); in attemptToExtractCountryCallingCode() 616 String countryCodeString = Integer.toString(countryCode); in attemptToExtractCountryCallingCode()
|
D | PhoneNumberMatcher.java | 477 String countryCode = Integer.toString(number.getCountryCode()); in allNumberGroupsRemainGrouped() local 478 fromIndex = normalizedCandidate.indexOf(countryCode) + countryCode.length(); in allNumberGroupsRemainGrouped()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneGenericNames.java | 239 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/android_icu4j/src/main/java/android/icu/impl/ |
D | TimeZoneGenericNames.java | 241 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/icu4c/source/i18n/ |
D | tzgnames.cpp | 539 char countryCode[ULOC_COUNTRY_CAPACITY]; in getGenericLocationName() local 541 …2_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_… in getGenericLocationName() 542 countryCode[ccLen] = 0; in getGenericLocationName() 545 fLocaleDisplayNames->regionDisplayName(countryCode, country); in getGenericLocationName() 782 char countryCode[ULOC_COUNTRY_CAPACITY]; in getPartialLocationName() local 784 …2_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_… in getPartialLocationName() 785 countryCode[ccLen] = 0; in getPartialLocationName() 788 fTimeZoneNames->getReferenceZoneID(mzID, countryCode, regionalGolden); in getPartialLocationName() 791 fLocaleDisplayNames->regionDisplayName(countryCode, location); in getPartialLocationName()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TrieMapTest.java | 94 for (String countryCode : ULocale.getISOCountries()) { in init() 95 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init() 96 if (!localeName.equals(countryCode)) { in init()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | TrieMapTest.java | 97 for (String countryCode : ULocale.getISOCountries()) { in init() 98 localeName = ULocale.getDisplayCountry("und-" + countryCode, locale); in init() 99 if (!localeName.equals(countryCode)) { in init()
|