Home
last modified time | relevance | path

Searched refs:getDefault (Results 1 – 25 of 182) sorted by relevance

12345678

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DTimeZoneTest.java41 TimeZone.getDefault(), TimeZone.getDefault()); in test_getDefault()
162 TimeZone oldDefault = TimeZone.getDefault(); in test_setDefaultLjava_util_TimeZone()
165 assertEquals("timezone not set", zone, TimeZone.getDefault()); in test_setDefaultLjava_util_TimeZone()
168 oldDefault, TimeZone.getDefault()); in test_setDefaultLjava_util_TimeZone()
232 TimeZone defaultZone = TimeZone.getDefault(); in test_getDisplayName()
233 Locale defaulLocal = Locale.getDefault(); in test_getDisplayName()
245 TimeZone defaultZone = TimeZone.getDefault(); in test_getDisplayName_ZI()
246 Locale defaultLocale = Locale.getDefault(); in test_getDisplayName_ZI()
DLocaleTest.java123 assertTrue("returns copy", Locale.getDefault() == Locale.getDefault()); in test_getDefault()
124 Locale org = Locale.getDefault(); in test_getDefault()
126 Locale x = Locale.getDefault(); in test_getDefault()
172 Locale defaultLocale = Locale.getDefault(); in test_getDisplayLanguage()
332 Locale org = Locale.getDefault(); in test_setDefaultLjava_util_Locale()
334 Locale x = Locale.getDefault(); in test_setDefaultLjava_util_Locale()
406 defaultLocale = Locale.getDefault(); in setUp()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DCookieHandlerTest.java34 assertNull(CookieHandler.getDefault()); in test_GetDefault()
44 assertSame(CookieHandler.getDefault(), rc1); in test_SetDefault_java_net_cookieHandler()
46 assertSame(CookieHandler.getDefault(), rc2); in test_SetDefault_java_net_cookieHandler()
48 assertNull(CookieHandler.getDefault()); in test_SetDefault_java_net_cookieHandler()
DResponseCacheTest.java37 assertNull(ResponseCache.getDefault()); in test_GetDefault()
48 assertSame(ResponseCache.getDefault(), rc1); in test_SetDefaultLjava_net_ResponseCache_Normal()
50 assertSame(ResponseCache.getDefault(), rc2); in test_SetDefaultLjava_net_ResponseCache_Normal()
52 assertNull(ResponseCache.getDefault()); in test_SetDefaultLjava_net_ResponseCache_Normal()
DProxySelectorTest.java61 private ProxySelector selector = ProxySelector.getDefault();
83 ProxySelector selector1 = ProxySelector.getDefault(); in test_getDefault()
86 ProxySelector selector2 = ProxySelector.getDefault(); in test_getDefault()
94 ProxySelector originalSelector = ProxySelector.getDefault(); in test_setDefaultLjava_net_ProxySelector()
98 assertSame(newSelector, ProxySelector.getDefault()); in test_setDefaultLjava_net_ProxySelector()
101 assertSame(null, ProxySelector.getDefault()); in test_setDefaultLjava_net_ProxySelector()
/external/javassist/src/test/test/javassist/bytecode/analysis/
DAnalyzerTest.java29 ClassPool pool = ClassPool.getDefault(); in testCommonSupperArray()
36 ClassPool pool = ClassPool.getDefault(); in testCommonInterfaceArray()
43 CtMethod method = ClassPool.getDefault().getMethod( in testSharedInterfaceAndSuperClass()
47 method = ClassPool.getDefault().getMethod( in testSharedInterfaceAndSuperClass()
51 method = ClassPool.getDefault().getMethod( in testSharedInterfaceAndSuperClass()
57 CtMethod method = ClassPool.getDefault().getMethod( in testArrayDifferentDims()
61 method = ClassPool.getDefault().getMethod( in testArrayDifferentDims()
67 CtMethod method = ClassPool.getDefault().getMethod( in testReusedLocalMerge()
149 CtMethod method = generateDeadCode(ClassPool.getDefault()); in testDeadCode()
159 CtMethod method = generateInvalidCode(ClassPool.getDefault()); in testInvalidCode()
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DDateFormatTest.java78 DateFormat.DEFAULT, Locale.getDefault()))); in test_getDateInstance()
96 DateFormat.SHORT, Locale.getDefault()))); in test_getDateInstanceI()
105 DateFormat.MEDIUM, Locale.getDefault()))); in test_getDateInstanceI()
114 DateFormat.LONG, Locale.getDefault()))); in test_getDateInstanceI()
123 DateFormat.FULL, Locale.getDefault()))); in test_getDateInstanceI()
191 DateFormat.DEFAULT, DateFormat.DEFAULT, Locale.getDefault()))); in test_getDateTimeInstance()
203 dStyle, Locale.getDefault()); in testDateTime()
205 tStyle, Locale.getDefault()); in testDateTime()
304 DateFormat.SHORT, DateFormat.SHORT, Locale.getDefault()))); in test_getInstance()
328 DateFormat.DEFAULT, Locale.getDefault()))); in test_getTimeInstance()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/
DDesignerPlugin.java118 public static AbstractUIPlugin getDefault() { in getDefault() method in DesignerPlugin
135 display = Display.getDefault(); in getStandardDisplay()
144 return getDefault().getWorkbench().getActiveWorkbenchWindow(); in getActiveWorkbenchWindow()
161 getDefault().getLog().log(status); in log()
176 getDefault().getLog().log(status); in log()
/external/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpClient.java185 result.proxySelector = proxySelector != null ? proxySelector : ProxySelector.getDefault(); in copyWithDefaults()
186 result.cookieHandler = cookieHandler != null ? cookieHandler : CookieHandler.getDefault(); in copyWithDefaults()
187 result.responseCache = responseCache != null ? responseCache : ResponseCache.getDefault(); in copyWithDefaults()
194 result.connectionPool = connectionPool != null ? connectionPool : ConnectionPool.getDefault(); in copyWithDefaults()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DNodeSortKey.java101 Locale.getDefault().getCountry()); in NodeSortKey()
111 m_locale = Locale.getDefault(); in NodeSortKey()
116 m_locale = Locale.getDefault(); in NodeSortKey()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/execution/
DExecutionUtils.java169 Display.getDefault().syncExec(new Runnable() { in runLogUI()
182 Display.getDefault().syncExec(new Runnable() { in runRethrowUI()
195 Display.getDefault().asyncExec(new Runnable() { in runAsync()
223 Display.getDefault().asyncExec(new Runnable() { in runLogLater()
/external/icu4c/test/intltest/
Drbbiapts.cpp42 …eBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); in TestCloneEquals()
43 …eBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); in TestCloneEquals()
44 …eBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); in TestCloneEquals()
45 … (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), status); in TestCloneEquals()
80 …r *bix = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getDefault(), status); in TestCloneEquals()
181 …eBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); in TestgetRules()
182 …=(RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), status); in TestgetRules()
211 …eBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); in TestHashCode()
212 …eBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), status); in TestHashCode()
213 … (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Locale::getDefault(), status); in TestHashCode()
[all …]
/external/llvm/include/llvm/CodeGen/
DRegAllocRegistry.h51 static FunctionPassCtor getDefault() { in getDefault() function
52 return (FunctionPassCtor)Registry.getDefault(); in getDefault()
DSchedulerRegistry.h55 static FunctionPassCtor getDefault() { in getDefault() function
56 return (FunctionPassCtor)Registry.getDefault(); in getDefault()
/external/llvm/include/llvm/Transforms/
DInstrumentation.h35 static GCOVOptions getDefault();
59 GCOVOptions::getDefault());
/external/icu4c/common/
Dunistr_case_locale.cpp48 return toLower(Locale::getDefault()); in toLower()
60 return toUpper(Locale::getDefault()); in toUpper()
Dservls.cpp30 : fallbackLocale(Locale::getDefault()) in ICULocaleService()
36 , fallbackLocale(Locale::getDefault()) in ICULocaleService()
264 const Locale& loc = Locale::getDefault(); in validateFallbackLocale()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationImpl.java146 return getDefault(name, method); in invoke()
151 private Object getDefault(String name, Method method) in getDefault() method in AnnotationImpl
202 value = getDefault(name, methods[i]); in hashCode()
262 value = getDefault(name, methods[i]); in checkEquals()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DHttpsURLConnectionTest.java75 if (!sf.equals(SSLSocketFactory.getDefault())) { in testGetDefaultSSLSocketFactory()
83 if (!sf.equals(SSLSocketFactory.getDefault())) { in testGetSSLSocketFactory()
/external/icu4c/i18n/unicode/
Ddatefmt.h537 const Locale& aLocale = Locale::getDefault());
555 const Locale& aLocale = Locale::getDefault());
577 const Locale& aLocale = Locale::getDefault());
/external/nist-sip/java/gov/nist/core/net/
DDefaultNetworkLayer.java65 .getDefault(); in DefaultNetworkLayer()
66 sslSocketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); in DefaultNetworkLayer()
/external/chromium/base/i18n/
Drtl.cc49 return GetLocaleString(icu::Locale::getDefault()); in GetConfiguredLocale()
69 const icu::Locale& locale = icu::Locale::getDefault(); in ICULocaleName()
117 const icu::Locale& locale = icu::Locale::getDefault(); in ICUIsRTL()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
DDB_Results.java180 return getDefault().fSQL != null; in updateDbConstants()
348 synchronized static DB_Results getDefault() { in getDefault() method in DB_Results
352 if (PerformanceTestPlugin.getDefault() == null) { in getDefault()
725 return getDefault().internalQueryBuildScenarios("%", null); //$NON-NLS-1$
739 return getDefault().internalQueryBuildScenarios(pattern, null);
751 return getDefault().internalQueryBuildScenarios(scenarioPattern, buildName);
760 getDefault().internalQueryAllVariations(configPattern);
772 getDefault().internalQueryScenarioSummaries(scenarioResults, configPattern, builds);
784 getDefault().internalQueryScenarioValues(scenarioResults, configPattern, buildName);
/external/icu4c/i18n/
Dplurfmt.cpp36 : locale(Locale::getDefault()), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
52 : locale(Locale::getDefault()), in PluralFormat()
81 : locale(Locale::getDefault()), in PluralFormat()
103 : locale(Locale::getDefault()), in PluralFormat()
/external/javassist/sample/evolve/
DDemoLoader.java31 ClassPool cp = ClassPool.getDefault(); in main()

12345678