/external/guava/guava-tests/test/com/google/common/hash/ |
PackageSanityTests.java | 30 setDefault(BitArray.class, new BitArray(1)); 31 setDefault(HashCode.class, HashCode.fromInt(1)); 32 setDefault(String.class, "MD5"); 33 setDefault(int.class, 32);
|
/external/guava/guava-tests/test/com/google/common/io/ |
PackageSanityTests.java | 32 setDefault(BaseEncoding.class, BaseEncoding.base64()); 33 setDefault(int.class, 32); 34 setDefault(String.class, "abcd"); 35 setDefault(Method.class, AbstractPackageSanityTests.class.getDeclaredMethods()[0]); 36 setDefault(MapMode.class, MapMode.READ_ONLY);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
PackageSanityTests.java | 29 setDefault(CacheLoader.class, new CacheLoader<Object, Object>() { 33 setDefault(LocalCache.class, new LocalCache<Object, Object>(CacheBuilder.newBuilder(), null)); 34 setDefault(CacheBuilder.class, CacheBuilder.newBuilder());
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
PackageSanityTests.java | 41 setDefault(RateLimiter.class, RateLimiter.create(1.0)); 42 setDefault(SleepingStopwatch.class, NO_OP_STOPWATCH); 43 setDefault(long.class, 0L);
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
PackageSanityTests.java | 29 setDefault(String.class, "string");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/ |
PreferenceInitializer.java | 97 store.setDefault(ATTR_DEBUG_PORT_BASE, DdmPreferences.DEFAULT_DEBUG_PORT_BASE); 99 store.setDefault(ATTR_SELECTED_DEBUG_PORT, DdmPreferences.DEFAULT_SELECTED_DEBUG_PORT); 101 store.setDefault(ATTR_DEFAULT_THREAD_UPDATE, DdmPreferences.DEFAULT_INITIAL_THREAD_UPDATE); 102 store.setDefault(ATTR_DEFAULT_HEAP_UPDATE, 105 store.setDefault(ATTR_PROFILER_BUFSIZE_MB, DdmPreferences.DEFAULT_PROFILER_BUFFER_SIZE_MB); 107 store.setDefault(ATTR_THREAD_INTERVAL, DdmUiPreferences.DEFAULT_THREAD_REFRESH_INTERVAL); 110 store.setDefault(ATTR_IMAGE_SAVE_DIR, homeDir); 112 store.setDefault(ATTR_LOG_LEVEL, DdmPreferences.DEFAULT_LOG_LEVEL.getStringValue()); 114 store.setDefault(ATTR_LOGCAT_FONT, 119 store.setDefault(ATTR_HPROF_ACTION, HProfHandler.ACTION_SAVE) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
PackageSanityTests.java | 30 setDefault(DiscreteDomain.class, DiscreteDomain.integers());
|
/external/guava/guava-tests/test/com/google/common/net/ |
PackageSanityTests.java | 29 setDefault(InternetDomainName.class, InternetDomainName.from("google.com"));
|
/libcore/luni/src/test/java/libcore/java/util/ |
DateTest.java | 29 Locale.setDefault(Locale.US); 30 TimeZone.setDefault(TimeZone.getTimeZone("America/Chicago")); 38 Locale.setDefault(Locale.CHINA); 39 TimeZone.setDefault(TimeZone.getTimeZone("America/Chicago")); 45 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); 46 Locale.setDefault(Locale.US); 59 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")); 60 Locale.setDefault(Locale.UK);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
PluginFlyoutPreferences.java | 48 m_store.setDefault(m_dockLocationKey, location); 49 m_store.setDefault(m_stateKey, state); 50 m_store.setDefault(m_widthKey, width);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookieHandlerTest.java | 38 * java.net.CookieHandler#setDefault(CookieHandler) 43 CookieHandler.setDefault(rc1); 45 CookieHandler.setDefault(rc2); 47 CookieHandler.setDefault(null);
|
ResponseCacheTest.java | 41 * java.net.ResponseCache#setDefault(ResponseCache) 47 ResponseCache.setDefault(rc1); 49 ResponseCache.setDefault(rc2); 51 ResponseCache.setDefault(null);
|
/external/guava/guava-tests/test/com/google/common/eventbus/ |
PackageSanityTests.java | 34 setDefault(EventSubscriber.class, new DummySubscriber().toEventSubscriber()); 35 setDefault(Method.class, DummySubscriber.subscriberMethod());
|
/external/llvm/include/llvm/CodeGen/ |
RegAllocRegistry.h | 52 static void setDefault(FunctionPassCtor C) { 53 Registry.setDefault((MachinePassCtor)C);
|
/libcore/luni/src/test/java/libcore/java/io/ |
StreamTokenizerTest.java | 26 Locale.setDefault(Locale.US); 32 Locale.setDefault(new Locale("tr", "TR"));
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
RelationshipTesterTest.java | 32 .setDefault(ItemReporter.class, new ItemReporter())
|
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/rules/ |
ULocaleDefaultRule.java | 45 ULocale.setDefault(ULocale.forLanguageTag(annotation.languageTag())); 48 ULocale.setDefault(previousDefault);
|
/external/llvm/lib/CodeGen/ |
MachinePassRegistry.cpp | 21 /// setDefault - Set the default constructor by name. 22 void MachinePassRegistry::setDefault(StringRef Name) { 31 setDefault(Ctor);
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
UtilsTest_IsInGivenDay.java | 46 TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul")); 59 TimeZone.setDefault(timeZone);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
LocaleTest.java | 161 Locale.setDefault(l); 163 Locale.setDefault(org); 204 Locale.setDefault(locale); 207 Locale.setDefault(defaultLocale); 342 * java.util.Locale#setDefault(java.util.Locale) 345 // Test for method void java.util.Locale.setDefault(java.util.Locale) 348 Locale.setDefault(l); 350 Locale.setDefault(org); 353 Locale.setDefault(new Locale("tr", "")); 356 Locale.setDefault(org) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleAliasTest.java | 63 ULocale.setDefault(_DEFAULT_LOCALE); 97 ULocale.setDefault(defLoc); 102 ULocale.setDefault(_DEFAULT_LOCALE); 136 ULocale.setDefault(defLoc); 141 ULocale.setDefault(_DEFAULT_LOCALE); 159 ULocale.setDefault(defLoc); 164 ULocale.setDefault(_DEFAULT_LOCALE); 189 ULocale.setDefault(defLoc); 193 ULocale.setDefault(_DEFAULT_LOCALE); 216 ULocale.setDefault(defLoc) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleAliasTest.java | 59 ULocale.setDefault(_DEFAULT_LOCALE); 93 ULocale.setDefault(defLoc); 98 ULocale.setDefault(_DEFAULT_LOCALE); 132 ULocale.setDefault(defLoc); 137 ULocale.setDefault(_DEFAULT_LOCALE); 155 ULocale.setDefault(defLoc); 160 ULocale.setDefault(_DEFAULT_LOCALE); 185 ULocale.setDefault(defLoc); 189 ULocale.setDefault(_DEFAULT_LOCALE); 212 ULocale.setDefault(defLoc) [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
LocaleListTest.java | 70 LocaleList.setDefault(LocaleList.forLanguageTags("ae,en,ja"), 1 /* en */); 77 Locale.setDefault(Locale.forLanguageTag("ae")); 81 LocaleList.setDefault(originalLocaleList, originalLocaleIndex);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
NameNormalizerTest.java | 49 Locale.setDefault(Locale.US); 54 Locale.setDefault(mOriginalLocale); 112 Locale.setDefault(Locale.FRANCE);
|
/frameworks/base/libs/hwui/hwui/ |
Typeface.h | 50 static void setDefault(Typeface* face);
|