/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 71 assertEquals("aabbcc", invalid.getLanguage()); in test_getDisplayName_invalid() 100 assertEquals("xx", unknown.getLanguage()); in test_getDisplayName_unknown() 217 assertEquals(oldCode, newLocale.getLanguage()); in assertObsolete() 218 assertEquals(oldCode, oldLocale.getLanguage()); in assertObsolete() 317 assertEquals("en", b.build().getLanguage()); in test_Builder_setLanguage() 348 assertEquals("", b.build().getLanguage()); in test_Builder_setLanguage() 353 assertEquals("", b.build().getLanguage()); in test_Builder_setLanguage() 447 assertEquals("en", b.build().getLanguage()); in test_Builder_setLocale() 480 assertEquals("en", l.getLanguage()); in test_Builder_setLocale() 496 assertEquals("fr", l.getLanguage()); in test_Builder_setLocale() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LocaleTest.java | 82 assertTrue("Failed to create Locale", x.getLanguage().equals("xx") in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 323 assertTrue("Returned incorrect language: " + testLocale.getLanguage(), in test_getLanguage() 324 testLocale.getLanguage().equals("en")); in test_getLanguage() 403 assertEquals("", root.getLanguage()); in test_constantROOT()
|
D | ControlTest.java | 292 assertEquals("one", locale.getLanguage()); in test_getCandidateLocales_LStringLLocale()
|
/libcore/libart/src/main/java/java/lang/ |
D | CaseMapper.java | 48 String languageCode = locale.getLanguage(); in toLowerCase() 147 String languageCode = locale.getLanguage(); in toUpperCase()
|
/libcore/ojluni/annotations/mmodule/sun/util/locale/ |
D | LanguageTag.annotated.java | 46 public java.lang.String getLanguage() { throw new RuntimeException("Stub!"); } in getLanguage() method in LanguageTag
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LanguageTag.java | 419 String language = baseLocale.getLanguage(); in parseLocale() 546 public String getLanguage() { in getLanguage() method in LanguageTag
|
D | InternalLocaleBuilder.java | 353 String lang = langtag.getLanguage(); in setLanguageTag() 377 String language = base.getLanguage(); in setLocale()
|
D | BaseLocale.java | 91 public String getLanguage() { in getLanguage() method in BaseLocale
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneTextPrinterParser.java | 85 if (locale.getLanguage().equals("ji")) { in test_printText()
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 113 if (calLocale.getLanguage().equals("ja")) { in test()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 2371 String language = base.getLanguage(); in createObject() 2393 if (l.getLanguage().length() == 0) { in createObject() 2890 String language = locale.getLanguage(); in toBundleName()
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 75 public java.lang.String getLanguage() { throw new RuntimeException("Stub!"); } in getLanguage() method in Locale
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 103 assertEquals(l[i].getLanguage(), result.getLanguage()); in test_getLocale()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 129 public java.lang.String getLanguage() { in getLanguage() method in Locale
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 73 @libcore.util.NonNull public java.lang.String getLanguage() { throw new RuntimeException("Stub!"); } in getLanguage() method in Locale
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 1085 setUnchangeableSystemProperty("user.language", l.getLanguage()); in addLegacyLocaleSystemProperties()
|