Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestSuiteInfo.java41 private static TestSuiteInfo sInstance; field in TestSuiteInfo
80 if (sInstance == null) { in getInstance()
81 sInstance = new TestSuiteInfo(); in getInstance()
83 return sInstance; in getInstance()
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/
DGCSConfigurationFactory.java32 private static IConfigurationFactory sInstance = null; field in GCSConfigurationFactory
41 if (sInstance == null) { in getInstance()
42 sInstance = new GCSConfigurationFactory(configServer); in getInstance()
44 return sInstance; in getInstance()
/tools/tradefederation/core/src/com/android/tradefed/config/
DSandboxConfigurationFactory.java34 private static SandboxConfigurationFactory sInstance = null; field in SandboxConfigurationFactory
38 if (sInstance == null) { in getInstance()
39 sInstance = new SandboxConfigurationFactory(); in getInstance()
41 return sInstance; in getInstance()
DGlobalConfiguration.java77 private static IGlobalConfiguration sInstance = null; field in GlobalConfiguration
101 if (sInstance == null) { in getInstance()
104 return sInstance; in getInstance()
115 if (sInstance == null) { in getDeviceManagerInstance()
118 return sInstance.getDeviceManager(); in getDeviceManagerInstance()
122 if (sInstance == null) { in getHostMonitorInstances()
125 return sInstance.getHostMonitors(); in getHostMonitorInstances()
137 if (sInstance != null) { in createGlobalConfiguration()
147 sInstance = in createGlobalConfiguration()
154 sInstance = in createGlobalConfiguration()
[all …]
DConfigurationFactory.java59 private static IConfigurationFactory sInstance = null; field in ConfigurationFactory
444 if (sInstance == null) { in getInstance()
445 sInstance = new ConfigurationFactory(); in getInstance()
447 return sInstance; in getInstance()
/tools/tradefederation/core/prod-tests/src/com/android/ota/tests/
DSideloadOtaStabilityTest.java601 private static SocketFactory sInstance; field in SideloadOtaStabilityTest.SocketFactory
607 if (sInstance == null) { in getInstance()
608 sInstance = new SocketFactory(); in getInstance()
610 return sInstance; in getInstance()