Home
last modified time | relevance | path

Searched refs:getDeviceConfig (Results 1 – 24 of 24) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java471 public List<IDeviceConfiguration> getDeviceConfig() { in getDeviceConfig() method in Configuration
512 for (IDeviceConfiguration deviceConfig : getDeviceConfig()) { in getAllConfigurationObjectsOfType()
739 for (int i = 0; i < clonedConfig.getDeviceConfig().size(); i++) { in partialDeepClone()
740 IDeviceConfiguration deepCopyConfig = clonedConfig.getDeviceConfig().get(i); in partialDeepClone()
743 clonedConfig.getDeviceConfig().get(i).removeObjectType(objType); in partialDeepClone()
745 clonedConfig.getDeviceConfig().get(i).addSpecificConfig(o); in partialDeepClone()
1345 if (getDeviceConfig().size() > 1) { in dumpXml()
1347 for (IDeviceConfiguration deviceConfig : getDeviceConfig()) { in dumpXml()
DIConfiguration.java203 public List<IDeviceConfiguration> getDeviceConfig(); in getDeviceConfig() method
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java112 String deviceName = config.getDeviceConfig().get(0).getDeviceName(); in fetchBuild()
114 config.getDeviceConfig().get(0).getBuildProvider(), stubProvider); in fetchBuild()
608 for (IDeviceConfiguration deviceConfig : config.getDeviceConfig()) { in createRemoteConfig()
628 new OptionSetter(config.getDeviceConfig().get(0).getDeviceOptions()); in createRemoteConfig()
DInvocationExecution.java234 && config.getDeviceConfig().size() > 1) { in doSetup()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java752 original.getDeviceConfig().get(0).getTargetPreparers().get(0), in testDeepClone()
753 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone()
775 original.getDeviceConfig().get(0).getTargetPreparers().get(0), in testDeepClone_innerDevice()
776 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone_innerDevice()
DConfigurationFactoryTest.java1321 assertEquals(2, config.getDeviceConfig().size()); in testCreateConfiguration_injectDeviceBooleanOption()
1340 assertEquals(2, config.getDeviceConfig().size()); in testCreateConfiguration_includeInDevice()
1663 assertEquals(2, config.getDeviceConfig().size()); in testCreateConfiguration_multiDevice_fake()
1699 assertEquals(2, config.getDeviceConfig().size()); in testCreateConfiguration_singleDeviceConfig_withFake()
1703 config.getDeviceConfig().get(0).getDeviceName()); in testCreateConfiguration_singleDeviceConfig_withFake()
DDynamicRemoteFileResolverTest.java909 assertEquals(1, configuration.getDeviceConfig().size()); in testMultiDevices_replicat()
911 assertEquals(2, configuration.getDeviceConfig().size()); in testMultiDevices_replicat()
914 configuration.getDeviceConfig().get(1).getBuildProvider() in testMultiDevices_replicat()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DParentShardReplicate.java43 if (config.getDeviceConfig().size() != 1) { in replicatedSetup()
53 List<IDeviceConfiguration> currentConfigs = config.getDeviceConfig(); in replicatedSetup()
59 deepCopy.getDeviceConfig().get(0).clone(newName); in replicatedSetup()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java209 mConfig.getDeviceConfig().get(0).addSpecificConfig(stubProvider); in testParentSandbox_testMode()
223 mConfig.getDeviceConfig().get(0).addSpecificConfig(stubProvider); in testParentSandbox_NotTestMode()
239 TestDeviceOptions options = mConfig.getDeviceConfig().get(0).getDeviceOptions(); in testParentSandbox_shutdown()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1566 if (config.getDeviceConfig().size() > 1) { in execCommand()
1575 context.addAllocatedDevice(config.getDeviceConfig().get(0).getDeviceName(), device); in execCommand()
1595 if (config.getDeviceConfig().isEmpty()) { in allocateDevices()
1601 for (IDeviceConfiguration deviceConfig : config.getDeviceConfig()) { in allocateDevices()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelper.java58 if (config.getDeviceConfig().size() < 2) { in validateConfig()
70 for (IDeviceConfiguration deviceConfig : config.getDeviceConfig()) { in validateConfig()
DModuleSplitter.java229 for (IDeviceConfiguration holder : config.getDeviceConfig()) { in clonePreparersMap()
239 for (IDeviceConfiguration holder : config.getDeviceConfig()) { in clearPreparersFromConfig()
DITestSuite.java580 for (IDeviceConfiguration holder : config.getDeviceConfig()) { in getPreparerPerDevice()
1367 for (IDeviceConfiguration deviceConfig : config.getDeviceConfig()) { in filterPreparers()
DSuiteModuleLoader.java787 for (IDeviceConfiguration holder : config.getDeviceConfig()) { in setUpConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DRemoteInvocationExecutionTest.java109 reparse.getDeviceConfig().get(0).getDeviceRequirements()) in testCreateRemoteConfig()
113 reparse.getDeviceConfig().get(0).getDeviceOptions().getRemoteTf().getPath()); in testCreateRemoteConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java116 EasyMock.expect(mSlowConfig.getDeviceConfig()).andStubReturn(mMockDeviceConfig); in setUp()
122 EasyMock.expect(mFastConfig.getDeviceConfig()).andStubReturn(mMockDeviceConfig); in setUp()
DCommandSchedulerTest.java541 EasyMock.expect(rescheduledConfig.getDeviceConfig()).andStubReturn(mMockDeviceConfig); in testRun_rescheduled()
728 EasyMock.expect(mMockConfiguration.getDeviceConfig()).andStubReturn(mMockDeviceConfig); in setCreateConfigExpectations()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java1058 List<IDeviceConfiguration> deviceConfigs = config.getDeviceConfig();
1112 config.getDeviceConfig().get(0).getAllObjectOfType(typeName));
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/app/
DNoApkTestSkipper.java47 for (IDeviceConfiguration deviceConfig : mConfiguration.getDeviceConfig()) { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DInstantAppHandler.java44 for (IDeviceConfiguration deviceConfig : moduleConfiguration.getDeviceConfig()) { in applySetup()
DSecondaryUserHandler.java42 for (IDeviceConfiguration deviceConfig : moduleConfiguration.getDeviceConfig()) { in addParameterSpecificConfig()
DMainlineModuleHandler.java68 for (IDeviceConfiguration deviceConfig : moduleConfiguration.getDeviceConfig()) { in applySetup()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java172 for (IDeviceConfiguration deviceConfig : config.getDeviceConfig()) { in secureDeviceAllocation()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecution.java135 TestDeviceOptions options = config.getDeviceConfig().get(0).getDeviceOptions(); in runTests()