Home
last modified time | relevance | path

Searched refs:getDisplayLanguage (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java83 assertEquals("aabbcc", invalid.getDisplayLanguage()); in test_getDisplayName_invalid()
91 assertEquals("", emptyLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes()
97 assertEquals("", emptyCountryAndLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes()
109 assertEquals("xx", unknown.getDisplayLanguage()); in test_getDisplayName_unknown()
116 assertEquals("English", Locale.ENGLISH.getDisplayLanguage(Locale.ENGLISH)); in test_getDisplayName_easy()
117 assertEquals("German", Locale.GERMAN.getDisplayLanguage(Locale.ENGLISH)); in test_getDisplayName_easy()
118 assertEquals("Englisch", Locale.ENGLISH.getDisplayLanguage(Locale.GERMAN)); in test_getDisplayName_easy()
119 assertEquals("Deutsch", Locale.GERMAN.getDisplayLanguage(Locale.GERMAN)); in test_getDisplayName_easy()
146 Locale.forLanguageTag("en-US").getDisplayLanguage(null); in testGetDisplayLanguage_locale_null()
183 assertEquals("Tagalog", tl.getDisplayLanguage(Locale.ENGLISH)); in test_tl_and_fil()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java188 + testLocale.getDisplayLanguage(), testLocale in test_getDisplayLanguage()
189 .getDisplayLanguage().equals("English")); in test_getDisplayLanguage()
193 assertEquals("Avestan", l_languageAE.getDisplayLanguage()); in test_getDisplayLanguage()
200 assertEquals("norsk", locale.getDisplayLanguage()); in test_getDisplayLanguage()
207 assertEquals("anglais", new Locale("en", "CA", "WIN32").getDisplayLanguage(l)); in test_getDisplayLanguageLjava_util_Locale()
/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java156 assertEquals("српски", sr_Cyrl_BA.getDisplayLanguage(sr_Cyrl_BA)); in testScriptsPassedToIcu()
161 assertEquals("српски", sr_Cyrl_ME.getDisplayLanguage(sr_Cyrl_ME)); in testScriptsPassedToIcu()
166 assertEquals("srpski", sr_Latn_BA.getDisplayLanguage(sr_Latn_BA)); in testScriptsPassedToIcu()
171 assertEquals("srpski", sr_Latn_ME.getDisplayLanguage(sr_Latn_ME)); in testScriptsPassedToIcu()
/libcore/ojluni/src/main/java/java/util/
DLocale.java1825 public final String getDisplayLanguage() { in getDisplayLanguage() method in Locale
1826 return getDisplayLanguage(getDefault(Category.DISPLAY)); in getDisplayLanguage()
1857 public String getDisplayLanguage(Locale locale) { in getDisplayLanguage() method in Locale
1878 String result = LocaleNative.getDisplayLanguage(this, locale); in getDisplayLanguage()
1880 result = LocaleNative.getDisplayLanguage(this, Locale.getDefault()); in getDisplayLanguage()
2364 String displayLanguage = getDisplayLanguage(locale); in getDisplayName()
/libcore/ojluni/annotations/mmodule/java/util/
DLocale.annotated.java107 public java.lang.String getDisplayLanguage() { throw new RuntimeException("Stub!"); } in getDisplayLanguage() method in Locale
109 public java.lang.String getDisplayLanguage(java.util.Locale locale) { throw new RuntimeException("S… in getDisplayLanguage() method in Locale
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java105 @libcore.util.NonNull public java.lang.String getDisplayLanguage() { throw new RuntimeException("St… in getDisplayLanguage() method in Locale
107 @libcore.util.NonNull public java.lang.String getDisplayLanguage(@libcore.util.NonNull java.util.Lo… in getDisplayLanguage() method in Locale
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java201 public java.lang.String getDisplayLanguage() { in getDisplayLanguage() method in Locale
205 public java.lang.String getDisplayLanguage(java.util.Locale locale) { in getDisplayLanguage() method in Locale