Home
last modified time | relevance | path

Searched refs:defaultLocale (Results 1 – 17 of 17) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java32 Locale defaultLocale; field in LocaleTest
196 Locale defaultLocale = Locale.getDefault(); in test_getDisplayLanguage() local
202 Locale.setDefault(defaultLocale); in test_getDisplayLanguage()
431 defaultLocale = Locale.getDefault(); in setUp()
442 Locale.setDefault(defaultLocale); in tearDown()
DTimeZoneTest.java268 Locale defaultLocale = Locale.getDefault(); in test_getDisplayName_ZI() local
271 defaultLocale); in test_getDisplayName_ZI()
DControlTest.java212 Locale defaultLocale = Locale.getDefault(); in test_getNoFallbackControl_LList() local
227 Locale.setDefault(defaultLocale); in test_getNoFallbackControl_LList()
355 Locale defaultLocale = Locale.getDefault(); in test_getFallbackLocale_LStringLLocale() local
376 Locale.setDefault(defaultLocale); in test_getFallbackLocale_LStringLLocale()
DGregorianCalendarTest.java34 private Locale defaultLocale; field in GregorianCalendarTest
39 defaultLocale = Locale.getDefault(); in setUp()
46 Locale.setDefault(defaultLocale); in tearDown()
DCalendarTest.java34 Locale defaultLocale; field in CalendarTest
1089 defaultLocale = Locale.getDefault(); in setUp()
1094 Locale.setDefault(defaultLocale); in tearDown()
DFormatterTest.java156 private Locale defaultLocale; field in FormatterTest
4231 defaultLocale = Locale.getDefault(); in setUp()
4256 Locale.setDefault(defaultLocale); in tearDown()
/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java263 Locale defaultLocale = Locale.getDefault(); in testEqualsIgnoreCase() local
274 Locale.setDefault(defaultLocale); in testEqualsIgnoreCase()
287 Locale defaultLocale = Locale.getDefault(); in testRegionMatches_ignoreCase() local
298 Locale.setDefault(defaultLocale); in testRegionMatches_ignoreCase()
789 Locale defaultLocale = Locale.getDefault(); in testFormat_invalidLocale() local
794 Locale.setDefault(defaultLocale); in testFormat_invalidLocale()
/libcore/ojluni/src/main/java/java/util/
DLocale.java907 return NoImagePreloadHolder.defaultLocale; in getDefault()
997 final Locale defaultLocale = NoImagePreloadHolder.defaultLocale; in initDefault() local
1012 System.getProperty(category.languageKey, defaultLocale.getLanguage()), in initDefault()
1013 System.getProperty(category.scriptKey, defaultLocale.getScript()), in initDefault()
1014 System.getProperty(category.countryKey, defaultLocale.getCountry()), in initDefault()
1015 System.getProperty(category.variantKey, defaultLocale.getVariant()), in initDefault()
1053 NoImagePreloadHolder.defaultLocale = newLocale; in setDefault()
2476 public volatile static Locale defaultLocale = initDefault(); field in Locale.NoImagePreloadHolder
DResourceBundle.java2528 Locale defaultLocale = Locale.getDefault(); in getFallbackLocale() local
2529 return locale.equals(defaultLocale) ? null : defaultLocale; in getFallbackLocale()
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java45 private Locale defaultLocale; field in GregorianCalendarTest
50 defaultLocale = Locale.getDefault(); in setUp()
57 Locale.setDefault(defaultLocale); in tearDown()
DTimeZoneTest.java380 Locale defaultLocale = Locale.getDefault(); in testTimeZoneIDLocalization() local
389 Locale.setDefault(defaultLocale); in testTimeZoneIDLocalization()
DLocaleTest.java1639 final Locale defaultLocale = Locale.getDefault(); in test_setDefault_withCategory() local
1668 Locale.setDefault(defaultLocale); in test_setDefault_withCategory()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java236 Locale defaultLocale = Locale.getDefault(); in testGetProviders() local
275 Locale.setDefault(defaultLocale); in testGetProviders()
DProviderTest.java342 Locale defaultLocale = Locale.getDefault(); in testGetServiceCaseSensitivity() local
350 Locale.setDefault(defaultLocale); in testGetServiceCaseSensitivity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DMessageFormatTest.java48 private Locale defaultLocale; field in MessageFormatTest
896 defaultLocale = Locale.getDefault(); in setUp()
913 Locale.setDefault(defaultLocale); in tearDown()
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java773 public static volatile java.util.Locale defaultLocale; field in Locale.NoImagePreloadHolder
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java499 Locale defaultLocale = Locale.getDefault(); in testDomainMatchesCaseMapping() local
505 Locale.setDefault(defaultLocale); in testDomainMatchesCaseMapping()