Searched refs:getDisplayCountry (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/main/java/java/util/spi/ |
D | LocaleNameProvider.java | 125 public abstract String getDisplayCountry(String countryCode, Locale locale); in getDisplayCountry() method in LocaleNameProvider
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LocaleTest.java | 173 + testLocale.getDisplayCountry(), testLocale in test_getDisplayCountry() 174 .getDisplayCountry().equals("Canada")); in test_getDisplayCountry() 179 l_countryCD.getDisplayCountry()); in test_getDisplayCountry() 183 assertEquals("Italie", Locale.ITALY.getDisplayCountry(new Locale("fr", "CA", "WIN32"))); in test_getDisplayCountryLjava_util_Locale()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 44 assertEquals("DDEEFF", invalid.getDisplayCountry()); in test_getDisplayName_invalid() 54 assertEquals("", emptyCountry.getDisplayCountry()); in test_getDisplayName_emptyCodes() 58 assertEquals("", emptyCountryAndLanguage.getDisplayCountry()); in test_getDisplayName_emptyCodes() 70 assertEquals("YY", unknown.getDisplayCountry()); in test_getDisplayName_unknown() 99 assertEquals("Hong Kong", new Locale("", "HK").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 100 assertEquals("Macau", new Locale("", "MO").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 101 assertEquals("Palestine", new Locale("", "PS").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 103 assertEquals("Cocos (Keeling) Islands", new Locale("", "CC").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 104 assertEquals("Congo (DRC)", new Locale("", "CD").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 105 assertEquals("Congo (Republic)", new Locale("", "CG").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() [all …]
|
/libcore/luni/src/test/java/libcore/icu/ |
D | ICUTest.java | 157 assertEquals("Босна и Херцеговина", sr_Cyrl_BA.getDisplayCountry(sr_Cyrl_BA)); in testScriptsPassedToIcu() 162 assertEquals("Црна Гора", sr_Cyrl_ME.getDisplayCountry(sr_Cyrl_ME)); in testScriptsPassedToIcu() 167 assertEquals("Bosna i Hercegovina", sr_Latn_BA.getDisplayCountry(sr_Latn_BA)); in testScriptsPassedToIcu() 172 assertEquals("Crna Gora", sr_Latn_ME.getDisplayCountry(sr_Latn_ME)); in testScriptsPassedToIcu()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 1722 public final String getDisplayCountry() { in getDisplayCountry() method in Locale 1723 return getDisplayCountry(getDefault(Category.DISPLAY)); in getDisplayCountry() 1730 public String getDisplayCountry(Locale locale) { in getDisplayCountry() method in Locale 1742 String result = ICU.getDisplayCountry(this, locale); in getDisplayCountry() 1744 result = ICU.getDisplayCountry(this, Locale.getDefault()); in getDisplayCountry() 1944 String displayCountry = getDisplayCountry(locale); in getDisplayName()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 414 public static String getDisplayCountry(Locale targetLocale, Locale locale) { in getDisplayCountry() method in ICU
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 226 icuTargetLocale.locale().getDisplayCountry(icuLocale.locale(), str); in ICU_getDisplayCountryNative()
|