Searched refs:getDisplayCountry (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/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 | 84 assertEquals("DDEEFF", invalid.getDisplayCountry()); in test_getDisplayName_invalid() 94 assertEquals("", emptyCountry.getDisplayCountry()); in test_getDisplayName_emptyCodes() 98 assertEquals("", emptyCountryAndLanguage.getDisplayCountry()); in test_getDisplayName_emptyCodes() 110 assertEquals("YY", unknown.getDisplayCountry()); in test_getDisplayName_unknown() 140 Locale.forLanguageTag("en-US").getDisplayCountry(null); in testGetDisplayCountry_locale_null() 163 assertEquals("Hong Kong", new Locale("", "HK").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 164 assertEquals("Palestine", new Locale("", "PS").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 166 assertEquals("Cocos (Keeling) Islands", new Locale("", "CC").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() 167 …assertEquals("Falkland Islands (Islas Malvinas)", new Locale("", "FK").getDisplayCountry(Locale.US… in test_getDisplayCountry_8870289() 168 assertEquals("Myanmar (Burma)", new Locale("", "MM").getDisplayCountry(Locale.US)); in test_getDisplayCountry_8870289() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 1980 public final String getDisplayCountry() { in getDisplayCountry() method in Locale 1981 return getDisplayCountry(getDefault(Category.DISPLAY)); in getDisplayCountry() 2035 public String getDisplayCountry(Locale locale) { in getDisplayCountry() method in Locale 2047 String result = LocaleNative.getDisplayCountry(this, locale); in getDisplayCountry() 2049 result = LocaleNative.getDisplayCountry(this, Locale.getDefault()); in getDisplayCountry() 2384 String displayCountry = getDisplayCountry(locale); in getDisplayName()
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 115 public java.lang.String getDisplayCountry() { throw new RuntimeException("Stub!"); } in getDisplayCountry() method in Locale 117 public java.lang.String getDisplayCountry(java.util.Locale locale) { throw new RuntimeException("St… in getDisplayCountry() method in Locale
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 113 @libcore.util.NonNull public java.lang.String getDisplayCountry() { throw new RuntimeException("Stu… in getDisplayCountry() method in Locale 115 @libcore.util.NonNull public java.lang.String getDisplayCountry(@libcore.util.NonNull java.util.Loc… in getDisplayCountry() method in Locale
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 226 public java.lang.String getDisplayCountry() { in getDisplayCountry() method in Locale 230 public java.lang.String getDisplayCountry(java.util.Locale locale) { in getDisplayCountry() method in Locale
|