/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LocaleTest.java | 32 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()
|
D | TimeZoneTest.java | 268 Locale defaultLocale = Locale.getDefault(); in test_getDisplayName_ZI() local 271 defaultLocale); in test_getDisplayName_ZI()
|
D | ControlTest.java | 212 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()
|
D | GregorianCalendarTest.java | 34 private Locale defaultLocale; field in GregorianCalendarTest 39 defaultLocale = Locale.getDefault(); in setUp() 46 Locale.setDefault(defaultLocale); in tearDown()
|
D | CalendarTest.java | 34 Locale defaultLocale; field in CalendarTest 1089 defaultLocale = Locale.getDefault(); in setUp() 1094 Locale.setDefault(defaultLocale); in tearDown()
|
D | FormatterTest.java | 156 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/ |
D | StringTest.java | 263 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/ |
D | Locale.java | 907 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
|
D | ResourceBundle.java | 2528 Locale defaultLocale = Locale.getDefault(); in getFallbackLocale() local 2529 return locale.equals(defaultLocale) ? null : defaultLocale; in getFallbackLocale()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | GregorianCalendarTest.java | 45 private Locale defaultLocale; field in GregorianCalendarTest 50 defaultLocale = Locale.getDefault(); in setUp() 57 Locale.setDefault(defaultLocale); in tearDown()
|
D | TimeZoneTest.java | 380 Locale defaultLocale = Locale.getDefault(); in testTimeZoneIDLocalization() local 389 Locale.setDefault(defaultLocale); in testTimeZoneIDLocalization()
|
D | LocaleTest.java | 1639 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/ |
D | SecurityTest.java | 236 Locale defaultLocale = Locale.getDefault(); in testGetProviders() local 275 Locale.setDefault(defaultLocale); in testGetProviders()
|
D | ProviderTest.java | 342 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/ |
D | MessageFormatTest.java | 48 private Locale defaultLocale; field in MessageFormatTest 896 defaultLocale = Locale.getDefault(); in setUp() 913 Locale.setDefault(defaultLocale); in tearDown()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 773 public static volatile java.util.Locale defaultLocale; field in Locale.NoImagePreloadHolder
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | AbstractCookiesTest.java | 499 Locale defaultLocale = Locale.getDefault(); in testDomainMatchesCaseMapping() local 505 Locale.setDefault(defaultLocale); in testDomainMatchesCaseMapping()
|