Home
last modified time | relevance | path

Searched refs:GlobalConfiguration (Results 1 – 25 of 46) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java28 import com.android.tradefed.config.GlobalConfiguration;
87 GlobalConfiguration.createGlobalConfiguration(new String[] {}); in setUp()
109 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testPrepareEnvironment()
111 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testPrepareEnvironment()
114 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), EasyMock.anyObject()); in testPrepareEnvironment()
151 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testPrepareEnvironment_dumpConfigFail()
153 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testPrepareEnvironment_dumpConfigFail()
156 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), EasyMock.anyObject()); in testPrepareEnvironment_dumpConfigFail()
195 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testPrepareEnvironment_noTfDirJar()
196 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testPrepareEnvironment_noTfDirJar()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DVersionedTfLauncherTest.java25 import com.android.tradefed.config.GlobalConfiguration;
100 GlobalConfiguration.createGlobalConfiguration(new String[] {}); in setUp()
114 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRun_singleDevice()
115 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRun_singleDevice()
119 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), in testRun_singleDevice()
181 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRun_nullDevice()
182 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRun_nullDevice()
186 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), in testRun_nullDevice()
239 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRun_DeviceNoPreSetup()
240 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRun_DeviceNoPreSetup()
[all …]
DNoisyDryRunTestTest.java26 import com.android.tradefed.config.GlobalConfiguration;
64 GlobalConfiguration.createGlobalConfiguration(new String[] {"empty "}); in setUpClass()
253 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testLoading_sandboxed()
255 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testLoading_sandboxed()
257 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), anyObject()); in testLoading_sandboxed()
314 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testLoading_sandboxed_failed()
316 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testLoading_sandboxed_failed()
318 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), anyObject()); in testLoading_sandboxed_failed()
DTfTestLauncherTest.java22 import com.android.tradefed.config.GlobalConfiguration;
117 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRun()
118 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRun()
123 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRun()
233 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRunCoverage()
234 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRunCoverage()
239 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRunCoverage()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java64 GlobalConfiguration.createGlobalConfiguration(new String[] {}); in setUp()
106 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testCreateConfigurationFromArgs()
108 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testCreateConfigurationFromArgs()
110 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), EasyMock.anyObject()); in testCreateConfigurationFromArgs()
128 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testCreateConfigurationFromArgs_fail()
130 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testCreateConfigurationFromArgs_fail()
132 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), EasyMock.anyObject()); in testCreateConfigurationFromArgs_fail()
DGlobalConfigurationTest.java53 GlobalConfiguration mGlobalConfig;
63 mGlobalConfig = new GlobalConfiguration(EMPTY_CONFIG, "description"); in setUp()
175 GlobalConfiguration spyGlobal = Mockito.spy((GlobalConfiguration) globalConfig); in testCreateGlobalConfiguration_cloneConfigWithFilterByDefault()
219 GlobalConfiguration spyGlobal = Mockito.spy((GlobalConfiguration) globalConfig); in testCreateGlobalConfiguration_cloneConfigWithFilter()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGoogleApiClientUtilTest.java19 import com.android.tradefed.config.GlobalConfiguration;
74 GlobalConfiguration.getInstance(); in setUpBeforeClass()
76 GlobalConfiguration.createGlobalConfiguration(new String[] {}); in setUpBeforeClass()
87 GlobalConfiguration.getInstance() in setUp()
97 GlobalConfiguration.getInstance() in tearDown()
116 new OptionSetter(GlobalConfiguration.getInstance().getHostOptions()); in testCreateCredential_useHostOptions()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandRunner.java22 import com.android.tradefed.config.GlobalConfiguration;
52 GlobalConfiguration.createGlobalConfiguration(args); in initGlobalConfig()
53 GlobalConfiguration.getInstance().setup(); in initGlobalConfig()
59 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
117 GlobalConfiguration.getInstance().cleanup(); in run()
DConsole.java25 import com.android.tradefed.config.GlobalConfiguration;
550 GlobalConfiguration.getDeviceManagerInstance(); in addDefaultCommands()
558 GlobalConfiguration.getDeviceManagerInstance(); in addDefaultCommands()
1040 GlobalConfiguration.getInstance().cleanup(); in run()
1152 List<String> nonGlobalArgs = GlobalConfiguration.createGlobalConfiguration(args); in startConsole()
1153 GlobalConfiguration.getInstance().setup(); in startConsole()
1155 console.setCommandScheduler(GlobalConfiguration.getInstance().getCommandScheduler()); in startConsole()
1156 console.setKeyStoreFactory(GlobalConfiguration.getInstance().getKeyStoreFactory()); in startConsole()
1159 GlobalConfiguration.getInstance().getCommandScheduler().setClearcutClient(client); in startConsole()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java19 import com.android.tradefed.config.GlobalConfiguration;
63 runUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in dumpConfigForVersion()
64 runUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in dumpConfigForVersion()
70 GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, globalConfig.getAbsolutePath()); in dumpConfigForVersion()
131 return GlobalConfiguration.getInstance().cloneConfigWithFilter(exclusionPatterns); in dumpFilteredGlobalConfig()
DTradefedSandboxRunner.java23 import com.android.tradefed.config.GlobalConfiguration;
60 GlobalConfiguration.createGlobalConfiguration(args); in initGlobalConfig()
66 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
DSandboxConfigDump.java21 import com.android.tradefed.config.GlobalConfiguration;
140 GlobalConfiguration.createGlobalConfiguration(new String[] {}); in main()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java21 import com.android.tradefed.config.GlobalConfiguration;
179 mRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in preRun()
180 mRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in preRun()
188 GlobalConfiguration.getInstance().cloneConfigWithFilter(); in preRun()
199 mRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, mGlobalConfig); in preRun()
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java22 import com.android.tradefed.config.GlobalConfiguration;
145 return GlobalConfiguration.getInstance().getDeviceManager(); in getDeviceManager()
151 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandRunnerTest.java26 import com.android.tradefed.config.GlobalConfiguration;
85 GlobalConfiguration.getInstance() in tearDown()
97 GlobalConfiguration.createGlobalConfiguration(args); in initGlobalConfig()
/tools/tradefederation/core/src/com/android/tradefed/build/gcs/
DGCSDownloaderHelper.java21 import com.android.tradefed.config.GlobalConfiguration;
54 return GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerFuncTest.java19 import com.android.tradefed.config.GlobalConfiguration;
64 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceDiagTest.java20 import com.android.tradefed.config.GlobalConfiguration;
59 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager()
/tools/tradefederation/core/src/com/android/tradefed/host/gcs/
DGCSHostResourceManager.java22 import com.android.tradefed.config.GlobalConfiguration;
77 return GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java21 import com.android.tradefed.config.GlobalConfiguration;
144 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager()
153 return GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DAbstractHostMonitor.java18 import com.android.tradefed.config.GlobalConfiguration;
101 GlobalConfiguration.getInstance().getConfigurationObject(mAgentName); in getMetricAgent()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java20 import com.android.tradefed.config.GlobalConfiguration;
106 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager()
/tools/tradefederation/core/src/com/android/tradefed/config/
DGlobalConfiguration.java64 public class GlobalConfiguration implements IGlobalConfiguration { class
165 ((GlobalConfiguration) sInstance).mOriginalArgs = arrayArgs; in createGlobalConfiguration()
179 ((GlobalConfiguration) sInstance).mOriginalArgs = in createGlobalConfiguration()
310 GlobalConfiguration(String name, String description) { in GlobalConfiguration() method in GlobalConfiguration
DConfigurationXmlParser.java115 if (GlobalConfiguration.isBuiltInObjType(objectTypeName) || in startElement()
179 } else if (GlobalConfiguration.isBuiltInObjType(localName)) { in startElement()
292 || GlobalConfiguration.isBuiltInObjType(localName)) { in endElement()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBundletoolUtil.java20 import com.android.tradefed.config.GlobalConfiguration;
183 return GlobalConfiguration.getDeviceManagerInstance().getAdbPath(); in getAdbPath()

12