Home
last modified time | relevance | path

Searched refs:getConfigurationObject (Results 1 – 25 of 26) sorted by relevance

12

/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java368 return (IHostOptions) getConfigurationObject(HOST_OPTIONS_TYPE_NAME); in getHostOptions()
374 return (IHostResourceManager) getConfigurationObject(HOST_RESOURCE_MANAGER_TYPE_NAME); in getHostResourceManager()
386 return (IConfigurationServer) getConfigurationObject(GLOBAL_CONFIG_SERVER); in getGlobalConfigServer()
401 return (ITerribleFailureHandler) getConfigurationObject(WTF_HANDLER_TYPE_NAME); in getWtfHandler()
409 return (IKeyStoreFactory) getConfigurationObject(KEY_STORE_TYPE_NAME); in getKeyStoreFactory()
415 return (IShardHelper) getConfigurationObject(SHARDING_STRATEGY_TYPE_NAME); in getShardingStrategy()
421 return (IDeviceManager) getConfigurationObject(DEVICE_MANAGER_TYPE_NAME); in getDeviceManager()
427 return (ISandboxFactory) getConfigurationObject(SANDBOX_FACTORY_TYPE_NAME); in getSandboxFactory()
433 return (IDeviceSelection) getConfigurationObject(DEVICE_REQUIREMENTS_TYPE_NAME); in getDeviceRequirements()
441 return (ICommandScheduler)getConfigurationObject(SCHEDULER_TYPE_NAME); in getCommandScheduler()
[all …]
DIGlobalConfiguration.java277 public Object getConfigurationObject(String typeName); in getConfigurationObject() method
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java342 return (ILeveledLogOutput) getConfigurationObject(LOGGER_TYPE_NAME); in getLogOutput()
350 return (ILogSaver) getConfigurationObject(LOG_SAVER_TYPE_NAME); in getLogSaver()
356 return (IRetryDecision) getConfigurationObject(RETRY_DECISION_TYPE_NAME); in getRetryDecision()
413 return (ICommandOptions) getConfigurationObject(CMD_OPTIONS_TYPE_NAME); in getCommandOptions()
420 getConfigurationObject(CONFIGURATION_DESCRIPTION_TYPE_NAME); in getConfigurationDescription()
479 return (CoverageOptions) getConfigurationObject(COVERAGE_OPTIONS_TYPE_NAME); in getCoverageOptions()
486 public Object getConfigurationObject(String typeName) { in getConfigurationObject() method in Configuration
1512 getConfigurationObject(SANBOX_OPTIONS_TYPE_NAME), in dumpXml()
DIConfiguration.java177 public Object getConfigurationObject(String typeName); in getConfigurationObject() method
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java131 Object fromConfig = mConfig.getConfigurationObject(CONFIG_OBJECT_TYPE_NAME); in testGetConfigurationObject()
152 assertNull(mConfig.getConfigurationObject("non-existent")); in testGetConfigurationObject_wrongname()
161 mConfig.getConfigurationObject(Configuration.TEST_TYPE_NAME); in testGetConfigurationObject_typeIsList()
178 mConfig.getConfigurationObject(CONFIG_OBJECT_TYPE_NAME); in testGetConfigurationObject_forList()
DSandboxConfigurationFactoryTest.java121 assertNotNull(config.getConfigurationObject(Configuration.SANDBOX_TYPE_NAME)); in testCreateConfigurationFromArgs()
122 assertEquals(mFakeSandbox, config.getConfigurationObject(Configuration.SANDBOX_TYPE_NAME)); in testCreateConfigurationFromArgs()
DGlobalConfigurationTest.java195 assertNull(filteredGlobalConfig.getConfigurationObject("remote-manager")); in testCreateGlobalConfiguration_cloneConfigWithFilterByDefault()
236 assertNotNull(filteredGlobalConfig.getConfigurationObject("remote-manager")); in testCreateGlobalConfiguration_cloneConfigWithFilter()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java500 if (config.getConfigurationObject(TradefedDelegator.DELEGATE_OBJECT) != null) { in reportHostLog()
729 config.getConfigurationObject(ShardHelper.SHARED_TEST_INFORMATION); in invoke()
798 if (config.getConfigurationObject(TradefedDelegator.DELEGATE_OBJECT) != null) { in invoke()
1104 Object obj = config.getConfigurationObject(ShardHelper.LAST_SHARD_DETECTOR); in deleteInvocationFiles()
DDelegatedInvocationExecution.java108 if (config.getConfigurationObject(TradefedDelegator.DELEGATE_OBJECT) == null) { in runTests()
114 config.getConfigurationObject(TradefedDelegator.DELEGATE_OBJECT); in runTests()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java88 EasyMock.expect(mMockConfig.getConfigurationObject(ShardHelper.SHARED_TEST_INFORMATION)) in setUp()
90 EasyMock.expect(mMockConfig.getConfigurationObject(ShardHelper.LAST_SHARD_DETECTOR)) in setUp()
92 EasyMock.expect(mMockConfig.getConfigurationObject("DELEGATE")).andStubReturn(null); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterHostUtil.java219 .getConfigurationObject(ClusterOptions.TYPE_NAME); in getClusterOptions()
234 .getConfigurationObject(IClusterClient.TYPE_NAME); in getClusterClient()
DClusterClient.java345 .getConfigurationObject(ClusterOptions.TYPE_NAME); in getClusterOptions()
DClusterLogSaver.java386 .getConfigurationObject(IClusterClient.TYPE_NAME); in getClusterClient()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTearDownPassThroughPreparer.java60 Object configObject = mConfiguration.getConfigurationObject(preparer); in tearDown()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DAbstractHostMonitor.java101 GlobalConfiguration.getInstance().getConfigurationObject(mAgentName); in getMetricAgent()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBulkEmailer.java110 Object o = config.getConfigurationObject("emailer"); in loadMailer()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxInvocationRunner.java51 (ISandbox) config.getConfigurationObject(Configuration.SANDBOX_TYPE_NAME); in prepareAndRun()
DSandboxConfigDump.java168 config.getConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME); in getSandboxOptions()
DTradefedSandbox.java484 config.getConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME); in getSandboxOptions()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelper.java134 Object controller = config.getConfigurationObject(ModuleDefinition.MODULE_CONTROLLER); in validateConfig()
DModuleDefinition.java1033 Object ctrlObject = mModuleConfiguration.getConfigurationObject(MODULE_CONTROLLER); in applyConfigurationControl()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecution.java181 config.getConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME); in getParentTargetConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java75 EasyMock.expect(mMockConfig.getConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME)) in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java121 Object loader = mConfiguration.getConfigurationObject(PREVIOUS_LOADER_NAME); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java166 mMockConfiguration.getConfigurationObject( in setUp()

12