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.java269 Locale defaultLocale = Locale.getDefault(); in test_getDisplayName_ZI() local
272 defaultLocale); in test_getDisplayName_ZI()
DControlTest.java209 Locale defaultLocale = Locale.getDefault(); in test_getNoFallbackControl_LList() local
224 Locale.setDefault(defaultLocale); in test_getNoFallbackControl_LList()
352 Locale defaultLocale = Locale.getDefault(); in test_getFallbackLocale_LStringLLocale() local
373 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.java264 Locale defaultLocale = Locale.getDefault(); in testEqualsIgnoreCase() local
275 Locale.setDefault(defaultLocale); in testEqualsIgnoreCase()
288 Locale defaultLocale = Locale.getDefault(); in testRegionMatches_ignoreCase() local
299 Locale.setDefault(defaultLocale); in testRegionMatches_ignoreCase()
790 Locale defaultLocale = Locale.getDefault(); in testFormat_invalidLocale() local
795 Locale.setDefault(defaultLocale); in testFormat_invalidLocale()
/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.java388 Locale defaultLocale = Locale.getDefault(); in testTimeZoneIDLocalization() local
397 Locale.setDefault(defaultLocale); in testTimeZoneIDLocalization()
DLocaleTest.java1621 final Locale defaultLocale = Locale.getDefault(); in test_setDefault_withCategory() local
1650 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/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java44 private Locale defaultLocale; field in SimpleDateFormatTest
49 defaultLocale = Locale.getDefault(); in setUp()
56 Locale.setDefault(defaultLocale); in tearDown()
/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/src/main/java/java/util/
DResourceBundle.java2528 Locale defaultLocale = Locale.getDefault(); in getFallbackLocale() local
2529 return locale.equals(defaultLocale) ? null : defaultLocale; in getFallbackLocale()
/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()