/libcore/luni/src/test/java/libcore/java/util/ |
D | DateTest.java | 30 Locale.setDefault(Locale.US); in test_toString_us() 31 TimeZone.setDefault(TimeZone.getTimeZone("America/Chicago")); in test_toString_us() 39 Locale.setDefault(Locale.CHINA); in test_toString_nonUs() 40 TimeZone.setDefault(TimeZone.getTimeZone("America/Chicago")); in test_toString_nonUs() 46 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in test_toGMTString_us() 47 Locale.setDefault(Locale.US); in test_toGMTString_us() 65 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in test_toGMTString_nonUs() 66 Locale.setDefault(Locale.UK); in test_toGMTString_nonUs()
|
D | Locales.java | 92 Locale.setDefault(uncategorizedLocale); in setAsDefault() 93 Locale.setDefault(DISPLAY, displayLocale); in setAsDefault() 94 Locale.setDefault(FORMAT, formatLocale); in setAsDefault()
|
D | TimeZoneTest.java | 83 Locale.setDefault(Locale.US); in testPreHistoricInDaylightTime_old() 85 TimeZone.setDefault(tz); in testPreHistoricInDaylightTime_old() 382 Locale.setDefault(new Locale("en")); in testTimeZoneIDLocalization() 384 Locale.setDefault(new Locale("ar")); in testTimeZoneIDLocalization() 389 Locale.setDefault(defaultLocale); in testTimeZoneIDLocalization()
|
D | OldTimeZoneTest.java | 84 Locale.setDefault(Locale.US); in test_getDisplayName() 98 Locale.setDefault(Locale.US); in test_getDisplayNameZI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ResourceBundleTest.java | 62 Locale.setDefault(new Locale("en", "US")); in test_getBundleLjava_lang_StringLjava_util_Locale() 75 Locale.setDefault(new Locale("fr", "FR", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale() 79 Locale.setDefault(new Locale("de", "US")); in test_getBundleLjava_lang_StringLjava_util_Locale() 185 Locale.setDefault(new Locale("en", "US")); in test_getStringLjava_lang_String() 271 Locale.setDefault(new Locale("en", "US")); in test_getLocale() 291 Locale.setDefault(loc); in test_getLocale() 297 Locale.setDefault(new Locale("en", "US")); in test_getObjectLjava_lang_String() 334 Locale.setDefault(new Locale("en", "US")); in test_getStringArrayLjava_lang_String() 369 Locale.setDefault(new Locale("en", "US")); in test_getBundleLjava_lang_String() 373 Locale.setDefault(new Locale("fr", "FR", "v1")); in test_getBundleLjava_lang_String() [all …]
|
D | LocaleTest.java | 161 Locale.setDefault(l); in test_getDefault() 163 Locale.setDefault(org); in test_getDefault() 199 Locale.setDefault(locale); in test_getDisplayLanguage() 202 Locale.setDefault(defaultLocale); in test_getDisplayLanguage() 343 Locale.setDefault(l); in test_setDefaultLjava_util_Locale() 345 Locale.setDefault(org); in test_setDefaultLjava_util_Locale() 348 Locale.setDefault(new Locale("tr", "")); in test_setDefaultLjava_util_Locale() 351 Locale.setDefault(org); in test_setDefaultLjava_util_Locale() 356 Locale.setDefault(null); in test_setDefaultLjava_util_Locale() 432 Locale.setDefault(Locale.US); in setUp() [all …]
|
D | DateTest.java | 457 TimeZone.setDefault(TimeZone.getTimeZone("GMT-5")); in test_toString() 463 TimeZone.setDefault(tz); in test_toString() 467 TimeZone.setDefault(TimeZone.getTimeZone("MST")); in test_toString() 490 Locale.setDefault(Locale.US); in test_toLocaleString() 492 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in test_toLocaleString() 502 Locale.setDefault(loc); in test_toLocaleString() 503 TimeZone.setDefault(tz); in test_toLocaleString() 521 TimeZone.setDefault(defaultTimeZone); in tearDown()
|
D | TimeZoneTest.java | 165 TimeZone.setDefault(null); in test_setDefaultLjava_util_TimeZone() 169 TimeZone.setDefault(zone); in test_setDefaultLjava_util_TimeZone() 171 TimeZone.setDefault(null); in test_setDefaultLjava_util_TimeZone() 208 TimeZone.setDefault(TimeZone.getTimeZone("America/Toronto")); in test_GetTimezoneOffset() 220 TimeZone.setDefault(processDefault); in tearDown()
|
D | ListResourceBundleTest.java | 33 Locale.setDefault(new Locale("en", "US")); in test_getKeys() 52 Locale.setDefault(new Locale("en", "US")); in test_handleGetObjectLjava_lang_String()
|
D | CurrencyTest.java | 41 Locale.setDefault(originalLocale); in tearDown() 156 Locale.setDefault(Locale.US); in test_getSymbol() 165 Locale.setDefault(new Locale("en", "IE")); in test_getSymbol() 176 Locale.setDefault(new Locale("kr", "KR")); in test_getSymbol() 251 Locale.setDefault(loc1[k]); in test_getSymbolLjava_util_Locale()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | StreamTokenizerTest.java | 26 Locale.setDefault(Locale.US); in testLowerCase() 32 Locale.setDefault(new Locale("tr", "TR")); in testLowerCase()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldAuthenticatorTest.java | 35 Authenticator.setDefault(mock); in test_setDefault() 41 Authenticator.setDefault(null); in test_setDefault()
|
D | OldCookieHandlerTest.java | 55 CookieHandler.setDefault(mch); in test_get_put() 75 CookieHandler.setDefault(defaultHandler); in test_get_put()
|
D | FtpURLConnectionTest.java | 204 ProxySelector.setDefault(proxySelector); in testConnectOverProxy_implicit_http_fails() 219 ProxySelector.setDefault(defaultProxySelector); in testConnectOverProxy_implicit_http_fails() 243 ProxySelector.setDefault(proxySelector); in testInputUrlWithSpacesViaProxySelector() 248 ProxySelector.setDefault(defaultProxySelector); in testInputUrlWithSpacesViaProxySelector()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 236 ProxySelector.setDefault( in testUsingProxySelector() 268 ProxySelector.setDefault(defPS); in testUsingProxySelector() 274 Authenticator.setDefault(new Authenticator() { in testProxyAuthorization() 303 Authenticator.setDefault(null); in testProxyAuthorization()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLServerSocketFactoryTest.java | 48 SSLContext.setDefault(SSLContext.getInstance("Default", fakeProvider)); in test_SSLServerSocketFactory_getDefault_cacheInvalidate() 56 SSLContext.setDefault(origContext); in test_SSLServerSocketFactory_getDefault_cacheInvalidate()
|
D | SSLSocketFactoryTest.java | 50 SSLContext.setDefault(SSLContext.getInstance("Default", fakeProvider)); in test_SSLSocketFactory_getDefault_cacheInvalidate() 58 SSLContext.setDefault(origContext); in test_SSLSocketFactory_getDefault_cacheInvalidate()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ResponseCache.java | 106 public synchronized static void setDefault(ResponseCache responseCache) { in setDefault() method in ResponseCache
|
D | CookieHandler.java | 92 public synchronized static void setDefault(CookieHandler cHandler) { in setDefault() method in CookieHandler
|
D | ProxySelector.java | 114 public static void setDefault(ProxySelector ps) { in setDefault() method in ProxySelector
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URISyntaxExceptionTest.java | 106 Locale.setDefault(Locale.US); in test_getMessage()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldNumberFormatTest.java | 286 Locale.setDefault(Locale.US); in test_getCurrencyInstance() 334 Locale.setDefault(Locale.US); in test_getInstance() 354 Locale.setDefault(Locale.US); in test_getInstanceLjava_util_Locale() 372 Locale.setDefault(Locale.US); in test_getNumberInstance() 391 Locale.setDefault(Locale.US); in test_getNumberInstanceLjava_util_Locale() 409 Locale.setDefault(Locale.US); in test_getPercentInstance() 429 Locale.setDefault(Locale.US); in test_getPercentInstanceLjava_util_Locale()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | RuntimeHooks.java | 70 TimeZone.setDefault(null); in setTimeZoneIdSupplier()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipEntryTest.java | 376 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_setTimeJ() 380 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in test_setTimeJ() 384 TimeZone.setDefault(TimeZone.getTimeZone("EST")); in test_setTimeJ() 395 TimeZone.setDefault(zone); in test_setTimeJ()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 264 Locale.setDefault(locale); in testEqualsIgnoreCase() 274 Locale.setDefault(defaultLocale); in testEqualsIgnoreCase() 288 Locale.setDefault(locale); in testRegionMatches_ignoreCase() 298 Locale.setDefault(defaultLocale); in testRegionMatches_ignoreCase() 791 Locale.setDefault(new Locale("invalidLocale")); in testFormat_invalidLocale() 794 Locale.setDefault(defaultLocale); in testFormat_invalidLocale()
|