Searched refs:getDisplayCountry (Results 1 – 6 of 6) sorted by relevance
/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/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() 178 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 | 79 assertEquals("DDEEFF", invalid.getDisplayCountry()); in test_getDisplayName_invalid() 89 assertEquals("", emptyCountry.getDisplayCountry()); in test_getDisplayName_emptyCodes() 93 assertEquals("", emptyCountryAndLanguage.getDisplayCountry()); in test_getDisplayName_emptyCodes() 105 assertEquals("YY", unknown.getDisplayCountry()); in test_getDisplayName_unknown() 134 assertEquals("Hong Kong", new Locale("", "HK").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 135 assertEquals("Macau", new Locale("", "MO").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 136 assertEquals("Palestine", new Locale("", "PS").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 138 assertEquals("Cocos (Keeling) Islands", new Locale("", "CC").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 139 …assertEquals("Falkland Islands (Islas Malvinas)", new Locale("", "FK").getDisplayCountry(Locale.US… in test_getDisplayCountry_8870289() 140 assertEquals("Macedonia (FYROM)", new Locale("", "MK").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 1877 public final String getDisplayCountry() { in getDisplayCountry() method in Locale 1878 return getDisplayCountry(getDefault(Category.DISPLAY)); in getDisplayCountry() 1887 public String getDisplayCountry(Locale locale) { in getDisplayCountry() method in Locale 1899 String result = ICU.getDisplayCountry(this, locale); in getDisplayCountry() 1901 result = ICU.getDisplayCountry(this, Locale.getDefault()); in getDisplayCountry() 2112 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 | 231 icuTargetLocale.locale().getDisplayCountry(icuLocale.locale(), str); in ICU_getDisplayCountryNative()
|