Home
last modified time | relevance | path

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

123456

/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/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java59 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()
DULocaleTest.java206 Locale.setDefault(jaJPJP); in TestJavaLocaleCompatibility()
223 Locale.setDefault(backupDefault); in TestJavaLocaleCompatibility()
227 ULocale.setDefault(ujaJP_calJP); in TestJavaLocaleCompatibility()
237 Locale.setDefault(Locale.US); in TestJavaLocaleCompatibility()
243 Locale.setDefault(backupDefault); in TestJavaLocaleCompatibility()
246 ULocale.setDefault(new ULocale("ja@calendar=japanese")); in TestJavaLocaleCompatibility()
250 Locale.setDefault(backupDefault); in TestJavaLocaleCompatibility()
254 Locale.setDefault(noNONY); in TestJavaLocaleCompatibility()
259 Locale.setDefault(backupDefault); in TestJavaLocaleCompatibility()
262 ULocale.setDefault(new ULocale("th@numbers=thai")); in TestJavaLocaleCompatibility()
[all …]
/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()
113 CookieManager.setDefault(cookieManager); in copyWithDefaultsWhenDefaultIsGlobal()
114 ProxySelector.setDefault(proxySelector); in copyWithDefaultsWhenDefaultIsGlobal()
115 Authenticator.setDefault(authenticator); in copyWithDefaultsWhenDefaultIsGlobal()
134 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/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/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java200 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testSetTimelong()
218 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetTime()
256 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetDate()
269 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetHours()
282 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetMinutes()
295 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testGetSeconds()
309 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString()
341 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testValueOfString1()
412 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in testToString()
428 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()
DDateTest.java245 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
277 TimeZone.setDefault(TimeZone.getTimeZone(timeZoneName)); in testSetTimelong()
391 TimeZone.setDefault(defaultTimeZone); in tearDown()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DSequenceTest.java75 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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
DPluginFlyoutPreferences.java48 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/
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()
DHttpDateTest.java37 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in setUp()
42 TimeZone.setDefault(originalDefault); in tearDown()
/external/vogar/src/vogar/target/
DTestEnvironment.java132 Locale.setDefault(Locale.US); in reset()
133 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); in reset()
152 Authenticator.setDefault(null); in reset()
153 CookieHandler.setDefault(null); in reset()
154 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/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/llvm/include/llvm/CodeGen/
DRegAllocRegistry.h54 static void setDefault(FunctionPassCtor C) { in setDefault() function
55 Registry.setDefault((MachinePassCtor)C); in setDefault()
DSchedulerRegistry.h58 static void setDefault(FunctionPassCtor C) { in setDefault() function
59 Registry.setDefault((MachinePassCtor)C); in setDefault()
DMachinePassRegistry.h101 void setDefault(MachinePassCtor C) { Default = C; } in setDefault() function
102 void setDefault(StringRef Name);
/external/llvm/lib/CodeGen/
DMachinePassRegistry.cpp22 void MachinePassRegistry::setDefault(StringRef Name) { in setDefault() function in MachinePassRegistry
31 setDefault(Ctor); in setDefault()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.runtime_3.6.0.v20100505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4c/source/test/intltest/
Ditformat.cpp90 TimeZone::setDefault(*tz); in runIndexedTest()
93 Locale::setDefault( Locale::getEnglish(), status ); in runIndexedTest()
210 Locale::setDefault( saveDefaultLocale, status ); in runIndexedTest()
Dnmfmapts.cpp32 Locale::setDefault(Locale::getEnglish(), status); in runIndexedTest()
37 Locale::setDefault(saveLocale, status); in runIndexedTest()
45 Locale::setDefault(Locale::getEnglish(), status); in runIndexedTest()
50 Locale::setDefault(saveLocale, status); in runIndexedTest()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DLocaleAliasCollationTest.java53 ULocale.setDefault(_DEFAULT_LOCALE); in TestCollation()
70 ULocale.setDefault(defLoc); in TestCollation()

123456