/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 78 assertEquals("GgHhIi", invalid.getVariant()); in test_getDisplayName_invalid() 107 assertEquals("Traditional", unknown.getVariant()); in test_getDisplayName_unknown() 375 assertEquals("vArIaNt_VaRiAnT_VARIANT", b.build().getVariant()); in test_Builder_setVariant() 401 assertEquals("0ABC", b.build().getVariant()); in test_Builder_setVariant() 406 assertEquals("", b.build().getVariant()); in test_Builder_setVariant() 411 assertEquals("", b.build().getVariant()); in test_Builder_setVariant() 453 assertEquals("variant_VARIANT", l.getVariant()); in test_Builder_setLocale() 514 assertEquals("", l.getVariant()); in test_Builder_clear() 606 assertEquals("POSIX", l.getVariant()); in test_setLanguageTag_twoWellFormedSubtags() 688 assertEquals("FOOOO", l.getVariant()); in test_setLanguageTag_threeWellFormedSubtags() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LocaleTest.java | 40 assertTrue("Failed to create Locale", x.getVariant().equals("")); in test_ConstructorLjava_lang_String() 57 && x.getVariant().equals("")); in test_ConstructorLjava_lang_StringLjava_lang_String() 83 && (x.getCountry().equals("CV") && x.getVariant().equals("ZZ"))); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 332 assertTrue("Returned incorrect variant: " + testLocale.getVariant(), in test_getVariant() 333 testLocale.getVariant().equals("WIN32")); in test_getVariant() 405 assertEquals("", root.getVariant()); in test_constantROOT()
|
D | ControlTest.java | 292 assertEquals("three", locale.getVariant()); in test_getCandidateLocales_LStringLLocale()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 227 public String getVariant() { in getVariant() method 352 String vart = locale.getVariant(); in hashCode() 383 && other.getVariant().equals(locale.getVariant())) { in equals() 399 locale.getRegion(), locale.getVariant(), true); in normalize()
|
D | LanguageTag.java | 423 String variant = baseLocale.getVariant(); in parseLocale()
|
D | InternalLocaleBuilder.java | 380 String variant = base.getVariant(); in setLocale()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 1155 System.getProperty(category.variantKey, defaultLocale.getVariant()), in initDefault() 1410 public String getVariant() { in getVariant() method in Locale 1411 return baseLocale.getVariant(); in getVariant() 1593 boolean v = !baseLocale.getVariant().isEmpty(); in toString() 1603 .append(baseLocale.getVariant()); in toString() 1881 if (exts == null && !base.getVariant().isEmpty()) { in forLanguageTag() 1883 base.getRegion(), base.getVariant()); in forLanguageTag() 2321 String variantCode = baseLocale.getVariant(); in getDisplayVariant() 2577 String variantCode = baseLocale.getVariant(); in getDisplayName() 2816 fields.put("variant", baseLocale.getVariant()); in writeObject() [all …]
|
D | ResourceBundle.java | 800 if (!locale.getVariant().isEmpty()) { in toString() 801 l = "__" + locale.getVariant(); in toString() 2937 String variant = base.getVariant(); in createObject() 2960 l.getVariant(), null)); in createObject() 3488 String variant = locale.getVariant(); in toBundleName()
|
D | Currency.java | 412 String variant = locale.getVariant(); in getInstance()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ConstraintsParameters.java | 59 String getVariant(); in getVariant() method
|
/libcore/ojluni/src/test/java/text/testlib/ |
D | TestUtils.java | 71 String variant = locale.getVariant(); in hasSpecialVariant()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 81 @libcore.util.NonNull public java.lang.String getVariant() { throw new RuntimeException("Stub!"); } in getVariant() method in Locale
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 141 public java.lang.String getVariant() { in getVariant() method in Locale
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 1169 setUnchangeableSystemProperty("user.variant", l.getVariant()); in addLegacyLocaleSystemProperties()
|
/libcore/api/ |
D | current.txt | 14269 method @NonNull public String getVariant();
|