/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/ |
D | TradefedSandboxTest.java | 28 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() 191 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testPrepareEnvironment_dumpConfigFail_fallback_fail() 193 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testPrepareEnvironment_dumpConfigFail_fallback_fail() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | DelegatedInvocationExecution.java | 19 import com.android.tradefed.config.GlobalConfiguration; 183 runUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in createRunUtil() 184 runUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in createRunUtil() 188 GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, mGlobalConfig.getAbsolutePath()); in createRunUtil() 204 GlobalConfiguration.DEVICE_MANAGER_TYPE_NAME, in createGlobalConfig() 205 GlobalConfiguration.KEY_STORE_TYPE_NAME, in createGlobalConfig() 206 GlobalConfiguration.HOST_OPTIONS_TYPE_NAME, in createGlobalConfig() 207 GlobalConfiguration.SANDBOX_FACTORY_TYPE_NAME, in createGlobalConfig() 211 GlobalConfiguration.getInstance().cloneConfigWithFilter(configList); in createGlobalConfig()
|
D | RemoteInvocationExecution.java | 26 import com.android.tradefed.config.GlobalConfiguration; 226 GlobalConfiguration.SANDBOX_FACTORY_TYPE_NAME, in runTests() 227 GlobalConfiguration.HOST_OPTIONS_TYPE_NAME, in runTests() 232 GlobalConfiguration.getInstance() in runTests()
|
D | TestInvocation.java | 27 import com.android.tradefed.config.GlobalConfiguration; 983 GlobalConfiguration.getInstance().getCommandScheduler() in setExitCode() 1145 if (GlobalConfiguration.getDeviceManagerInstance() instanceof DeviceManager) { in handleAndLogReleaseState() 1147 ((DeviceManager) GlobalConfiguration.getDeviceManagerInstance()) in handleAndLogReleaseState()
|
D | InvocationExecution.java | 28 import com.android.tradefed.config.GlobalConfiguration; 216 return GlobalConfiguration.getInstance().getShardingStrategy(); in createShardHelper() 927 return GlobalConfiguration.getDeviceManagerInstance().getAdbVersion();
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | NoisyDryRunTestTest.java | 27 import com.android.tradefed.config.GlobalConfiguration; 67 GlobalConfiguration.createGlobalConfiguration(new String[] {"empty "}); in setUpClass() 257 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testLoading_sandboxed() 259 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testLoading_sandboxed() 261 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), anyObject()); in testLoading_sandboxed() 318 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testLoading_sandboxed_failed() 320 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testLoading_sandboxed_failed() 322 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), anyObject()); in testLoading_sandboxed_failed()
|
D | TfTestLauncherTest.java | 22 import com.android.tradefed.config.GlobalConfiguration; 129 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRun() 130 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRun() 135 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRun() 248 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testRunCoverage() 249 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testRunCoverage() 254 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRunCoverage()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | SandboxConfigurationFactoryTest.java | 65 GlobalConfiguration.createGlobalConfiguration(new String[] {}); in setUp() 107 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testCreateConfigurationFromArgs() 109 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testCreateConfigurationFromArgs() 111 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), EasyMock.anyObject()); in testCreateConfigurationFromArgs() 129 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in testCreateConfigurationFromArgs_fail() 131 mMockRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in testCreateConfigurationFromArgs_fail() 133 EasyMock.eq(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE), EasyMock.anyObject()); in testCreateConfigurationFromArgs_fail()
|
D | GlobalConfigurationTest.java | 54 GlobalConfiguration mGlobalConfig; 64 mGlobalConfig = new GlobalConfiguration(EMPTY_CONFIG, "description"); in setUp() 176 GlobalConfiguration spyGlobal = Mockito.spy((GlobalConfiguration) globalConfig); in testCreateGlobalConfiguration_cloneConfigWithFilterByDefault() 220 GlobalConfiguration spyGlobal = Mockito.spy((GlobalConfiguration) globalConfig); in testCreateGlobalConfiguration_cloneConfigWithFilter()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | Console.java | 25 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()
|
D | CommandRunner.java | 22 import com.android.tradefed.config.GlobalConfiguration; 61 GlobalConfiguration.createGlobalConfiguration(args); in initGlobalConfig() 62 GlobalConfiguration.getInstance().setup(); in initGlobalConfig() 68 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler() 137 GlobalConfiguration.getInstance().cleanup(); in run()
|
D | CommandScheduler.java | 38 import com.android.tradefed.config.GlobalConfiguration; 672 List<IHostMonitor> hostMonitors = GlobalConfiguration.getHostMonitorInstances(); in checkStrayThreads() 954 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager() 963 return GlobalConfiguration.getHostMonitorInstances(); in getHostMonitor() 982 IKeyStoreFactory f = GlobalConfiguration.getInstance().getKeyStoreFactory(); in getKeyStoreClient() 1234 return GlobalConfiguration.getInstance().getSandboxFactory().createSandbox(); in createSandbox()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GoogleApiClientUtilTest.java | 19 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/sandbox/ |
D | SandboxConfigUtil.java | 19 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() 132 return GlobalConfiguration.getInstance().cloneConfigWithFilter(exclusionPatterns); in dumpFilteredGlobalConfig()
|
D | TradefedSandboxRunner.java | 23 import com.android.tradefed.config.GlobalConfiguration; 63 GlobalConfiguration.createGlobalConfiguration(args); in initGlobalConfig() 69 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
|
D | TradefedSandbox.java | 23 import com.android.tradefed.config.GlobalConfiguration; 239 mRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in prepareEnvironment() 240 mRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in prepareEnvironment()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | SubprocessTfLauncher.java | 21 import com.android.tradefed.config.GlobalConfiguration; 270 mRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE); in preRun() 271 mRunUtil.unsetEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_SERVER_CONFIG_VARIABLE); in preRun() 279 GlobalConfiguration.getInstance().cloneConfigWithFilter(); in preRun() 290 mRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, mGlobalConfig); in preRun()
|
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/ |
D | GlobalConfiguration.java | 67 public class GlobalConfiguration implements IGlobalConfiguration { class 170 ((GlobalConfiguration) sInstance).mOriginalArgs = arrayArgs; in createGlobalConfiguration() 183 ((GlobalConfiguration) sInstance).mOriginalArgs = arrayArgs; in createGlobalConfiguration() 315 GlobalConfiguration(String name, String description) { in GlobalConfiguration() method in GlobalConfiguration
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | RunConfigDeviceRecovery.java | 22 import com.android.tradefed.config.GlobalConfiguration; 144 return GlobalConfiguration.getInstance().getDeviceManager(); in getDeviceManager() 150 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterHostUtil.java | 19 import com.android.tradefed.config.GlobalConfiguration; 218 GlobalConfiguration.getInstance() in getClusterOptions() 233 GlobalConfiguration.getInstance() in getClusterClient()
|
D | ClusterClient.java | 18 import com.android.tradefed.config.GlobalConfiguration; 344 GlobalConfiguration.getInstance() in getClusterOptions() 357 mHostOptions = GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/ |
D | CommandRunnerTest.java | 26 import com.android.tradefed.config.GlobalConfiguration; 85 GlobalConfiguration.getInstance() in tearDown() 97 GlobalConfiguration.createGlobalConfiguration(args); in initGlobalConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceFlashPreparer.java | 21 import com.android.tradefed.config.GlobalConfiguration; 159 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager() 168 return GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationXmlParser.java | 115 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/build/gcs/ |
D | GCSDownloaderHelper.java | 21 import com.android.tradefed.config.GlobalConfiguration; 54 return GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
|