/external/guava/guava-tests/test/com/google/common/io/ |
D | PackageSanityTests.java | 32 setDefault(BaseEncoding.class, BaseEncoding.base64()); in PackageSanityTests() 33 setDefault(int.class, 32); in PackageSanityTests() 34 setDefault(String.class, "abcd"); in PackageSanityTests() 35 setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]); in PackageSanityTests() 36 setDefault(MapMode.class, MapMode.READ_ONLY); in PackageSanityTests()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | PackageSanityTests.java | 30 setDefault(BitArray.class, new BitArray(1)); in PackageSanityTests() 31 setDefault(HashCode.class, HashCode.fromInt(1)); in PackageSanityTests() 32 setDefault(String.class, "MD5"); in PackageSanityTests() 33 setDefault(int.class, 32); in PackageSanityTests()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleAliasTest.java | 59 ULocale.setDefault(_DEFAULT_LOCALE); in TestCalendar() 93 ULocale.setDefault(defLoc); in TestCalendar() 98 ULocale.setDefault(_DEFAULT_LOCALE); in TestDateFormat() 132 ULocale.setDefault(defLoc); in TestDateFormat() 137 ULocale.setDefault(_DEFAULT_LOCALE); in TestULocale() 155 ULocale.setDefault(defLoc); in TestULocale() 160 ULocale.setDefault(_DEFAULT_LOCALE); in TestDisplayName() 185 ULocale.setDefault(defLoc); in TestDisplayName() 189 ULocale.setDefault(_DEFAULT_LOCALE); in TestUResourceBundle() 212 ULocale.setDefault(defLoc); in TestUResourceBundle()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleAliasTest.java | 63 ULocale.setDefault(_DEFAULT_LOCALE); in TestCalendar() 97 ULocale.setDefault(defLoc); in TestCalendar() 102 ULocale.setDefault(_DEFAULT_LOCALE); in TestDateFormat() 136 ULocale.setDefault(defLoc); in TestDateFormat() 141 ULocale.setDefault(_DEFAULT_LOCALE); in TestULocale() 159 ULocale.setDefault(defLoc); in TestULocale() 164 ULocale.setDefault(_DEFAULT_LOCALE); in TestDisplayName() 189 ULocale.setDefault(defLoc); in TestDisplayName() 193 ULocale.setDefault(_DEFAULT_LOCALE); in TestUResourceBundle() 216 ULocale.setDefault(defLoc); in TestUResourceBundle()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | OkHttpClientTest.java | 54 ProxySelector.setDefault(DEFAULT_PROXY_SELECTOR); in tearDown() 55 CookieManager.setDefault(DEFAULT_COOKIE_HANDLER); in tearDown() 56 ResponseCache.setDefault(DEFAULT_RESPONSE_CACHE); in tearDown() 57 Authenticator.setDefault(DEFAULT_AUTHENTICATOR); in tearDown() 120 CookieManager.setDefault(cookieManager); in copyWithDefaultsWhenDefaultIsGlobal() 121 ProxySelector.setDefault(proxySelector); in copyWithDefaultsWhenDefaultIsGlobal() 122 Authenticator.setDefault(authenticator); in copyWithDefaultsWhenDefaultIsGlobal() 141 ResponseCache.setDefault(new ResponseCache() { in copyWithDefaultsDoesNotHonorGlobalResponseCache()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | ICUTestCase.java | 46 Locale.setDefault(Locale.US); in setUp() 47 ULocale.setDefault(ULocale.US); in setUp() 48 java.util.TimeZone.setDefault(java.util.TimeZone.getTimeZone("PST")); in setUp() 49 TimeZone.setDefault(TimeZone.getTimeZone("PST")); in setUp() 53 ULocale.setDefault(oldULocale); in tearDown() 54 Locale.setDefault(oldLocale); in tearDown() 55 TimeZone.setDefault(oldITimeZone); in tearDown() 56 java.util.TimeZone.setDefault(oldJTimeZone); in tearDown()
|
D | ULocaleTest.java | 106 ULocale.setDefault(longULocale); in testSetDefault() 113 ULocale.setDefault(oldULocale); in testSetDefault() 114 Locale.setDefault(oldLocale); // in case of some error in testSetDefault() 823 ULocale.setDefault(jaUS); in testSetDefaultCategoryULocale() 831 ULocale.setDefault(Category.DISPLAY, frDE); in testSetDefaultCategoryULocale() 839 ULocale.setDefault(orgDefault); in testSetDefaultCategoryULocale() 840 ULocale.setDefault(Category.DISPLAY, orgDisplay); in testSetDefaultCategoryULocale() 841 ULocale.setDefault(Category.FORMAT, orgFormat); in testSetDefaultCategoryULocale()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | PackageSanityTests.java | 29 setDefault(CacheLoader.class, new CacheLoader<Object, Object>() { in PackageSanityTests() 33 setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null)); in PackageSanityTests() 34 setDefault(CacheBuilder.class, CacheBuilder.newBuilder()); in PackageSanityTests()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | PackageSanityTests.java | 41 setDefault(RateLimiter.class, RateLimiter.create(1.0)); in PackageSanityTests() 42 setDefault(SleepingStopwatch.class, NO_OP_STOPWATCH); in PackageSanityTests() 43 setDefault(long.class, 0L); in PackageSanityTests()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ClassSanityTester.java | 109 setDefault(byte.class, (byte) 1); in ClassSanityTester() 110 setDefault(Byte.class, (byte) 1); in ClassSanityTester() 111 setDefault(short.class, (short) 1); in ClassSanityTester() 112 setDefault(Short.class, (short) 1); in ClassSanityTester() 113 setDefault(int.class, 1); in ClassSanityTester() 114 setDefault(Integer.class, 1); in ClassSanityTester() 115 setDefault(long.class, 1L); in ClassSanityTester() 116 setDefault(Long.class, 1L); in ClassSanityTester() 117 setDefault(float.class, 1F); in ClassSanityTester() 118 setDefault(Float.class, 1F); in ClassSanityTester() [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
D | SequenceTest.java | 75 setDefault(Boolean.TRUE, 0); in setUp() 76 setDefault(defaultList, 1); in setUp() 174 setDefault(Boolean.TRUE, 0); in testVerify() 175 setDefault(defaultList, 1); in testVerify() 203 setDefault(Boolean.TRUE, 0); in testEncodeDefault() 221 setDefault(new byte[] { 0x01 }, 0); in testEncodeDefault()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 198 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong() 216 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime() 254 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate() 267 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours() 280 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes() 293 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds() 307 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 330 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1() 401 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString() 417 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() [all …]
|
D | TimeTest.java | 100 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString() 116 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString() 141 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTime() 307 TimeZone.setDefault(defaultTimeZone); in tearDown()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
D | PluginFlyoutPreferences.java | 48 m_store.setDefault(m_dockLocationKey, location); in initializeDefaults() 49 m_store.setDefault(m_stateKey, state); in initializeDefaults() 50 m_store.setDefault(m_widthKey, width); in initializeDefaults()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | CookiesTest.java | 59 CookieHandler.setDefault(null); in tearDown() 65 CookieHandler.setDefault(cookieManager); in testNetscapeResponse() 93 CookieHandler.setDefault(cookieManager); in testRfc2109Response() 123 CookieHandler.setDefault(cookieManager); in testRfc2965Response() 157 CookieHandler.setDefault(cookieManager); in testQuotedAttributeValues() 203 CookieHandler.setDefault(cookieManager); in testSendingCookiesFromStore() 235 CookieHandler.setDefault(cookieManager); in testRedirectsDoNotIncludeTooManyCookies() 263 CookieHandler.setDefault(new CookieManager() { in testHeadersSentToCookieHandler() 317 CookieHandler.setDefault(new CookieManager() { in testCookiesSentIgnoresCase()
|
D | HttpDateTest.java | 37 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in setUp() 42 TimeZone.setDefault(originalDefault); in tearDown()
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | OptionalBinderTest.java | 222 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testSetDefault() 302 optionalBinder.setDefault().toInstance("a"); in testSetBindingOverridesDefault() 353 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testSpreadAcrossModules() 404 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault() in testExactSameBindingCollapses_defaults() 406 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault() in testExactSameBindingCollapses_defaults() 488 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testDifferentBindingsFail_defaults() 489 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("b"); in testDifferentBindingsFail_defaults() 528 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testDifferentBindingsFail_both() 529 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("b"); in testDifferentBindingsFail_both() 562 .setDefault().toInstance("a"); in testQualifiedAggregatesTogether() [all …]
|
/external/vogar/src/vogar/target/ |
D | TestEnvironment.java | 146 Locale.setDefault(Locale.US); in reset() 147 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in reset() 166 Authenticator.setDefault(null); in reset() 167 CookieHandler.setDefault(null); in reset() 168 ResponseCache.setDefault(null); in reset()
|
/external/guava/guava-tests/test/com/google/common/eventbus/ |
D | PackageSanityTests.java | 34 setDefault(EventSubscriber.class, new DummySubscriber().toEventSubscriber()); in PackageSanityTests() 35 setDefault(Method.class, DummySubscriber.subscriberMethod()); in PackageSanityTests()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/ |
D | HttpResponseCache.java | 92 ResponseCache.setDefault(newResponseCache); in install() 171 ResponseCache.setDefault(null); in close() 181 ResponseCache.setDefault(null); in delete()
|
/external/llvm/include/llvm/CodeGen/ |
D | RegAllocRegistry.h | 52 static void setDefault(FunctionPassCtor C) { in setDefault() function 53 Registry.setDefault((MachinePassCtor)C); in setDefault()
|
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/rules/ |
D | ULocaleDefaultRule.java | 45 ULocale.setDefault(ULocale.forLanguageTag(annotation.languageTag())); in apply() 48 ULocale.setDefault(previousDefault); in apply()
|
/external/llvm/lib/CodeGen/ |
D | MachinePassRegistry.cpp | 22 void MachinePassRegistry::setDefault(StringRef Name) { in setDefault() function in MachinePassRegistry 31 setDefault(Ctor); in setDefault()
|
/external/icu/icu4c/source/test/intltest/ |
D | itformat.cpp | 92 TimeZone::setDefault(*tz); in runIndexedTest() 95 Locale::setDefault( Locale::getEnglish(), status ); in runIndexedTest() 229 Locale::setDefault( saveDefaultLocale, status ); in runIndexedTest()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | LocaleAliasCollationTest.java | 53 ULocale.setDefault(_DEFAULT_LOCALE); in TestCollation() 70 ULocale.setDefault(defLoc); in TestCollation()
|