Searched refs:countryCode (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/main/java/java/util/ |
D | Locale.java | 236 private transient String countryCode; field in Locale 250 this.countryCode = upperCaseCountryCode; in Locale() 280 countryCode = ""; in Locale() 296 countryCode = country.toUpperCase(Locale.US); in Locale() 321 && countryCode.equals(o.countryCode) in equals() 350 return countryCode; in getCountry() 377 if (countryCode.isEmpty()) { in getDisplayCountry() 408 localeString = toNewString("fil", countryCode, variantCode); in getDisplayLanguage() 448 if (!countryCode.isEmpty()) { in getDisplayName() 453 buffer.append(displayCountry.isEmpty() ? countryCode : displayCountry); in getDisplayName() [all …]
|
/libcore/luni/src/main/java/java/util/spi/ |
D | LocaleNameProvider.java | 61 public abstract String getDisplayCountry(String countryCode, Locale locale); in getDisplayCountry() argument
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 175 public static native String getCurrencyCode(String countryCode); in getCurrencyCode() argument 180 public static native String getDisplayCountryNative(String countryCode, String locale); in getDisplayCountryNative() argument
|
D | TimeZoneNames.java | 150 String countryCode = locale.getCountry(); in forLocale() local 153 if (line.startsWith(countryCode)) { in forLocale()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 142 ScopedUtfChars countryCode(env, javaCountryCode); in ICU_getCurrencyCode() local 143 …ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status)… in ICU_getCurrencyCode() 609 … jstring countryCode = env->NewStringUTF(Locale::createFromName(localeName.c_str()).getCountry()); in ICU_initLocaleDataImpl() local 610 jstring internationalCurrencySymbol = ICU_getCurrencyCode(env, NULL, countryCode); in ICU_initLocaleDataImpl() 611 env->DeleteLocalRef(countryCode); in ICU_initLocaleDataImpl() 612 countryCode = NULL; in ICU_initLocaleDataImpl()
|