Home
last modified time | relevance | path

Searched refs:setDefault (Results 1 – 25 of 243) sorted by relevance

12345678910

/external/guava/guava-tests/test/com/google/common/io/
DPackageSanityTests.java32 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleAliasTest.java72 ULocale.setDefault(_DEFAULT_LOCALE); in TestCalendar()
106 ULocale.setDefault(defLoc); in TestCalendar()
112 ULocale.setDefault(_DEFAULT_LOCALE); in TestDateFormat()
146 ULocale.setDefault(defLoc); in TestDateFormat()
152 ULocale.setDefault(_DEFAULT_LOCALE); in TestULocale()
170 ULocale.setDefault(defLoc); in TestULocale()
176 ULocale.setDefault(_DEFAULT_LOCALE); in TestDisplayName()
201 ULocale.setDefault(defLoc); in TestDisplayName()
207 ULocale.setDefault(_DEFAULT_LOCALE); in TestUResourceBundle()
230 ULocale.setDefault(defLoc); in TestUResourceBundle()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java69 ULocale.setDefault(_DEFAULT_LOCALE); in TestCalendar()
103 ULocale.setDefault(defLoc); in TestCalendar()
109 ULocale.setDefault(_DEFAULT_LOCALE); in TestDateFormat()
143 ULocale.setDefault(defLoc); in TestDateFormat()
149 ULocale.setDefault(_DEFAULT_LOCALE); in TestULocale()
167 ULocale.setDefault(defLoc); in TestULocale()
173 ULocale.setDefault(_DEFAULT_LOCALE); in TestDisplayName()
198 ULocale.setDefault(defLoc); in TestDisplayName()
204 ULocale.setDefault(_DEFAULT_LOCALE); in TestUResourceBundle()
227 ULocale.setDefault(defLoc); in TestUResourceBundle()
/external/guava/guava-tests/test/com/google/common/hash/
DPackageSanityTests.java30 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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java54 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/guava/guava-testlib/src/com/google/common/testing/
DClassSanityTester.java109 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/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DICUTestCase.java48 Locale.setDefault(Locale.US); in setUp()
49 ULocale.setDefault(ULocale.US); in setUp()
50 java.util.TimeZone.setDefault(java.util.TimeZone.getTimeZone("PST")); in setUp()
51 TimeZone.setDefault(TimeZone.getTimeZone("PST")); in setUp()
55 ULocale.setDefault(oldULocale); in tearDown()
56 Locale.setDefault(oldLocale); in tearDown()
57 TimeZone.setDefault(oldITimeZone); in tearDown()
58 java.util.TimeZone.setDefault(oldJTimeZone); in tearDown()
DULocaleTest.java108 ULocale.setDefault(longULocale); in testSetDefault()
115 ULocale.setDefault(oldULocale); in testSetDefault()
116 Locale.setDefault(oldLocale); // in case of some error in testSetDefault()
825 ULocale.setDefault(jaUS); in testSetDefaultCategoryULocale()
833 ULocale.setDefault(Category.DISPLAY, frDE); in testSetDefaultCategoryULocale()
841 ULocale.setDefault(orgDefault); in testSetDefaultCategoryULocale()
842 ULocale.setDefault(Category.DISPLAY, orgDisplay); in testSetDefaultCategoryULocale()
843 ULocale.setDefault(Category.FORMAT, orgFormat); in testSetDefaultCategoryULocale()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java198 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 …]
DTimeTest.java100 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/guava/guava-tests/test/com/google/common/cache/
DPackageSanityTests.java29 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/
DPackageSanityTests.java41 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/cldr/tools/java/org/unicode/cldr/icu/
DRBNFWriter.java45 UOption.create("sourcedir", 's', UOption.REQUIRES_ARG).setDefault("."),
46 UOption.create("destdir", 'd', UOption.REQUIRES_ARG).setDefault("."),
47 UOption.create("fromfile", 'f', UOption.REQUIRES_ARG).setDefault("root.txt"),
48 UOption.create("tofile", 't', UOption.REQUIRES_ARG).setDefault("root.xml"),
49 UOption.create("spec", 'x', UOption.REQUIRES_ARG).setDefault("false"),
50 UOption.create("copyright", 'c', UOption.REQUIRES_ARG).setDefault("true")
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DCookiesTest.java59 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()
/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java348 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testSetDefault()
432 optionalBinder.setDefault().toInstance("a"); in testSetBindingOverridesDefault()
482 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testSpreadAcrossModules()
539 .setDefault() in testExactSameBindingCollapses_defaults()
542 .setDefault() in testExactSameBindingCollapses_defaults()
630 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testDifferentBindingsFail_defaults()
631 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("b"); in testDifferentBindingsFail_defaults()
680 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("a"); in testDifferentBindingsFail_both()
681 OptionalBinder.newOptionalBinder(binder(), String.class).setDefault().toInstance("b"); in testDifferentBindingsFail_both()
721 .setDefault() in testQualifiedAggregatesTogether()
[all …]
/external/vogar/src/vogar/target/
DTestEnvironment.java146 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/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
DHttpResponseCache.java92 ResponseCache.setDefault(newResponseCache); in install()
171 ResponseCache.setDefault(null); in close()
181 ResponseCache.setDefault(null); in delete()
/external/vogar/test/vogar/target/junit3/
DChangeDefaultLocaleTest.java30 Locale.setDefault(Locale.CANADA); in testDefault_Locale_CANADA()
35 Locale.setDefault(Locale.CHINA); in testDefault_Locale_CHINA()
/external/vogar/test/vogar/target/junit4/
DChangeDefaultLocaleTest.java34 Locale.setDefault(Locale.CANADA); in testDefault_Locale_CANADA()
40 Locale.setDefault(Locale.CHINA); in testDefault_Locale_CHINA()
/external/guava/guava-tests/test/com/google/common/eventbus/
DPackageSanityTests.java34 setDefault(EventSubscriber.class, new DummySubscriber().toEventSubscriber()); in PackageSanityTests()
35 setDefault(Method.class, DummySubscriber.subscriberMethod()); in PackageSanityTests()
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.core.runtime_3.14.0.v20180417-0825.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DRegAllocRegistry.h54 static void setDefault(FunctionPassCtor C) { in setDefault() function
55 Registry.setDefault((MachinePassCtor)C); in setDefault()
/external/llvm/include/llvm/CodeGen/
DRegAllocRegistry.h52 static void setDefault(FunctionPassCtor C) { in setDefault() function
53 Registry.setDefault((MachinePassCtor)C); in setDefault()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DRegAllocRegistry.h55 static void setDefault(FunctionPassCtor C) { in setDefault() function
56 Registry.setDefault((MachinePassCtor)C); in setDefault()
/external/cldr/tools/java/org/unicode/cldr/tool/
DXMLModify.java26 .setDefault(CLDRPaths.COMMON_DIRECTORY)
29 .setDefault(CLDRPaths.GEN_DIRECTORY + "xmlModify")
32 .setDefault(".*")), pathRegex(new Params().setHelp("path regex")

12345678910