Home
last modified time | relevance | path

Searched refs:sInstance (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DGlobalConfiguration.java85 private static IGlobalConfiguration sInstance = null; field in GlobalConfiguration
116 if (sInstance == null) { in getInstance()
119 return sInstance; in getInstance()
130 if (sInstance == null) { in getDeviceManagerInstance()
133 return sInstance.getDeviceManager(); in getDeviceManagerInstance()
137 if (sInstance == null) { in getHostMonitorInstances()
140 return sInstance.getHostMonitors(); in getHostMonitorInstances()
152 if (sInstance != null) { in createGlobalConfiguration()
163 sInstance = in createGlobalConfiguration()
165 ((GlobalConfiguration) sInstance).mOriginalArgs = arrayArgs; in createGlobalConfiguration()
[all …]
DRetryConfigurationFactory.java25 private static RetryConfigurationFactory sInstance = null; field in RetryConfigurationFactory
29 if (sInstance == null) { in getInstance()
30 sInstance = new RetryConfigurationFactory(); in getInstance()
32 return sInstance; in getInstance()
DSandboxConfigurationFactory.java49 private static SandboxConfigurationFactory sInstance = null; field in SandboxConfigurationFactory
62 if (sInstance == null) { in getInstance()
63 sInstance = new SandboxConfigurationFactory(); in getInstance()
65 return sInstance; in getInstance()
DConfigurationFactory.java59 private static IConfigurationFactory sInstance = null; field in ConfigurationFactory
446 if (sInstance == null) { in getInstance()
447 sInstance = new ConfigurationFactory(); in getInstance()
449 return sInstance; in getInstance()
/tools/tradefederation/core/src/com/android/tradefed/invoker/monitor/
DInvocationsMonitor.java37 private static InvocationsMonitor sInstance; field in InvocationsMonitor
50 if (sInstance == null) { in getInstance()
51 sInstance = new InvocationsMonitor(); in getInstance()
53 return sInstance; in getInstance()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestSuiteInfo.java44 private static TestSuiteInfo sInstance; field in TestSuiteInfo
83 if (sInstance == null) { in getInstance()
84 sInstance = new TestSuiteInfo(); in getInstance()
86 return sInstance; in getInstance()
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactory.java36 private static IConfigurationFactory sInstance = null; field in GCSConfigurationFactory
47 if (sInstance == null) { in getInstance()
48 sInstance = new GCSConfigurationFactory(configServer); in getInstance()
50 return sInstance; in getInstance()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGoogleApiClientUtil.java47 private static GoogleApiClientUtil sInstance = null; field in GoogleApiClientUtil
50 if (sInstance == null) { in getInstance()
51 sInstance = new GoogleApiClientUtil(); in getInstance()
53 return sInstance; in getInstance()