Home
last modified time | relevance | path

Searched refs:IDeviceConfiguration (Results 1 – 19 of 19) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DIDeviceConfiguration.java30 public interface IDeviceConfiguration { interface
92 public IDeviceConfiguration clone(); in clone()
DConfiguration.java162 sObjTypeMap.put(DEVICE_NAME, new ObjTypeInfo(IDeviceConfiguration.class, true)); in getObjTypeMap()
284 return ((List<IDeviceConfiguration>)getConfigurationObjectList(DEVICE_NAME)) in getBuildProvider()
295 return ((List<IDeviceConfiguration>)getConfigurationObjectList(DEVICE_NAME)) in getTargetPreparers()
315 return ((List<IDeviceConfiguration>)getConfigurationObjectList(DEVICE_NAME)) in getDeviceRecovery()
397 return ((List<IDeviceConfiguration>)getConfigurationObjectList(DEVICE_NAME)) in getDeviceRequirements()
408 return ((List<IDeviceConfiguration>)getConfigurationObjectList(DEVICE_NAME)) in getDeviceOptions()
425 public IDeviceConfiguration getDeviceConfigByName(String nameDevice) { in getDeviceConfigByName()
426 for (IDeviceConfiguration deviceHolder : in getDeviceConfigByName()
427 (List<IDeviceConfiguration>)getConfigurationObjectList(DEVICE_NAME)) { in getDeviceConfigByName()
440 public List<IDeviceConfiguration> getDeviceConfig() { in getDeviceConfig()
[all …]
DIConfiguration.java179 public List<IDeviceConfiguration> getDeviceConfig(); in getDeviceConfig()
184 public IDeviceConfiguration getDeviceConfigByName(String nameDevice); in getDeviceConfigByName()
282 public void setDeviceConfig(IDeviceConfiguration deviceConfig); in setDeviceConfig()
289 public void setDeviceConfigList(List<IDeviceConfiguration> deviceConfigs); in setDeviceConfigList()
DDeviceConfigurationHolder.java37 public class DeviceConfigurationHolder implements IDeviceConfiguration {
169 public IDeviceConfiguration clone() { in clone()
170 IDeviceConfiguration newDeviceConfig = new DeviceConfigurationHolder(getDeviceName()); in clone()
DOptionSetter.java575 if (objectSource instanceof IDeviceConfiguration) { in makeOptionMap()
576 for (Object deviceObject : ((IDeviceConfiguration)objectSource).getAllObjects()) { in makeOptionMap()
581 ((IDeviceConfiguration) objectSource).getFrequency(deviceObject); in makeOptionMap()
586 ((IDeviceConfiguration)objectSource).getDeviceName()); in makeOptionMap()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelperTest.java28 import com.android.tradefed.config.IDeviceConfiguration;
88 IDeviceConfiguration deviceConfig = new DeviceConfigurationHolder("default"); in testNotRunningAsSuite_MultiDevice_buildProvider()
108 List<IDeviceConfiguration> listDeviceConfigs = new ArrayList<>(); in testParse_MultiDevice()
109 IDeviceConfiguration deviceConfig1 = new DeviceConfigurationHolder("device1"); in testParse_MultiDevice()
DITestSuiteMultiTest.java24 import com.android.tradefed.config.IDeviceConfiguration;
86 List<IDeviceConfiguration> deviceConfigs = new ArrayList<>(); in loadTests()
89 IDeviceConfiguration holder2 = new DeviceConfigurationHolder(DEVICE_NAME_2); in loadTests()
DModuleDefinitionMultiTest.java22 import com.android.tradefed.config.IDeviceConfiguration;
68 List<IDeviceConfiguration> deviceConfigList = new ArrayList<>(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelper.java21 import com.android.tradefed.config.IDeviceConfiguration;
70 for (IDeviceConfiguration deviceConfig : config.getDeviceConfig()) { in validateConfig()
DModuleSplitter.java20 import com.android.tradefed.config.IDeviceConfiguration;
199 for (IDeviceConfiguration holder : config.getDeviceConfig()) { in clonePreparersMap()
DITestSuite.java24 import com.android.tradefed.config.IDeviceConfiguration;
351 for (IDeviceConfiguration holder : config.getDeviceConfig()) { in getPreparerPerDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java27 import com.android.tradefed.config.IDeviceConfiguration;
68 private List<IDeviceConfiguration> mMockDeviceConfig;
75 private IDeviceConfiguration mMockConfig;
80 mMockDeviceConfig = new ArrayList<IDeviceConfiguration>(); in setUp()
DCommandSchedulerTest.java29 import com.android.tradefed.config.IDeviceConfiguration;
91 private List<IDeviceConfiguration> mMockDeviceConfig;
156 mMockDeviceConfig = new ArrayList<IDeviceConfiguration>(); in setUp()
745 IDeviceConfiguration mockConfig = new DeviceConfigurationHolder("device"); in setCreateConfigExpectations()
1005 private IDeviceConfiguration createDeviceConfig(String serial) throws Exception { in createDeviceConfig()
1006 IDeviceConfiguration mockConfig = new DeviceConfigurationHolder(serial); in createDeviceConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java25 import com.android.tradefed.config.IDeviceConfiguration;
208 IDeviceConfiguration holder = new DeviceConfigurationHolder("default"); in testDoSetup()
DTestInvocationTest.java39 import com.android.tradefed.config.IDeviceConfiguration;
178 List<IDeviceConfiguration> deviceConfigs = new ArrayList<IDeviceConfiguration>(); in setUp()
179 IDeviceConfiguration device1 = in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1262 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_injectDeviceBooleanOption()
1269 IDeviceConfiguration device2 = config.getDeviceConfigByName("device2"); in testCreateConfiguration_injectDeviceBooleanOption()
1281 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_includeInDevice()
1284 IDeviceConfiguration device2 = config.getDeviceConfigByName("device2"); in testCreateConfiguration_includeInDevice()
1600 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_multiDevice_fake()
DConfigurationTest.java672 List<IDeviceConfiguration> deviceObjectList = new ArrayList<IDeviceConfiguration>(); in testDumpXml_multi_device()
DOptionSetterTest.java414 IDeviceConfiguration configHolder = new DeviceConfigurationHolder("default"); in testOptionSetter_frequencyForDeviceObject()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java28 import com.android.tradefed.config.IDeviceConfiguration;
90 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in fetchBuild()