/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() 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/ |
D | VersionedTfLauncherTest.java | 25 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 …]
|
D | NoisyDryRunTestTest.java | 26 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()
|
D | TfTestLauncherTest.java | 22 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/ |
D | SandboxConfigurationFactoryTest.java | 64 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()
|
D | GlobalConfigurationTest.java | 53 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/ |
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/command/ |
D | CommandRunner.java | 22 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()
|
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()
|
/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() 131 return GlobalConfiguration.getInstance().cloneConfigWithFilter(exclusionPatterns); in dumpFilteredGlobalConfig()
|
D | TradefedSandboxRunner.java | 23 import com.android.tradefed.config.GlobalConfiguration; 60 GlobalConfiguration.createGlobalConfiguration(args); in initGlobalConfig() 66 return GlobalConfiguration.getInstance().getCommandScheduler(); in getCommandScheduler()
|
D | SandboxConfigDump.java | 21 import com.android.tradefed.config.GlobalConfiguration; 140 GlobalConfiguration.createGlobalConfiguration(new String[] {}); in main()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | SubprocessTfLauncher.java | 21 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/ |
D | RunConfigDeviceRecovery.java | 22 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/ |
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/build/gcs/ |
D | GCSDownloaderHelper.java | 21 import com.android.tradefed.config.GlobalConfiguration; 54 return GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceManagerFuncTest.java | 19 import com.android.tradefed.config.GlobalConfiguration; 64 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceDiagTest.java | 20 import com.android.tradefed.config.GlobalConfiguration; 59 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager()
|
/tools/tradefederation/core/src/com/android/tradefed/host/gcs/ |
D | GCSHostResourceManager.java | 22 import com.android.tradefed.config.GlobalConfiguration; 77 return GlobalConfiguration.getInstance().getHostOptions(); in getHostOptions()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceFlashPreparer.java | 21 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/ |
D | AbstractHostMonitor.java | 18 import com.android.tradefed.config.GlobalConfiguration; 101 GlobalConfiguration.getInstance().getConfigurationObject(mAgentName); in getMetricAgent()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/ |
D | CompanionDeviceTracker.java | 20 import com.android.tradefed.config.GlobalConfiguration; 106 return GlobalConfiguration.getDeviceManagerInstance(); in getDeviceManager()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | GlobalConfiguration.java | 64 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
|
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/util/ |
D | BundletoolUtil.java | 20 import com.android.tradefed.config.GlobalConfiguration; 183 return GlobalConfiguration.getDeviceManagerInstance().getAdbPath(); in getAdbPath()
|