Home
last modified time | relevance | path

Searched refs:getDeviceConfigByName (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationFactoryTest.java1010 assertNotNull(config.getDeviceConfigByName("device1")); in testCreateConfigurationFromArgs_multidevice()
1011 assertEquals("10", config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice()
1013 assertEquals("stub", config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice()
1015 assertEquals(0, config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice()
1018 assertNotNull(config.getDeviceConfigByName("device2")); in testCreateConfigurationFromArgs_multidevice()
1019 assertEquals("0", config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1021 assertEquals("stub", config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1023 assertEquals(1, config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1025 assertTrue(config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1028 assertNotNull(config.getDeviceConfigByName("device3")); in testCreateConfigurationFromArgs_multidevice()
[all …]
DConfigurationTest.java770 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone()
771 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone()
794 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone_innerDevice()
795 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone_innerDevice()
816 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone_configReceiver()
817 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone_configReceiver()
DConfigurationDefTest.java117 OptionTest test = (OptionTest)config.getDeviceConfigByName("device1") in testCreateConfiguration_withDeviceHolder()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardBuildCloner.java54 IDeviceConfiguration deviceConfig = toConfig.getDeviceConfigByName(deviceName); in cloneBuildInfos()
65 fromConfig.getDeviceConfigByName(deviceName).getBuildProvider())); in cloneBuildInfos()
DShardHelper.java214 config.getDeviceConfigByName(deviceName) in shardConfig()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DSandboxedInvocationExecution.java65 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in fetchBuild()
91 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getTargetPreparers()); in getTargetPreparersToRun()
DParentSandboxInvocationExecution.java133 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getLabPreparers()); in getLabPreparersToRun()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationMultiTest.java145 when(mMockConfig.getDeviceConfigByName("device1")).thenReturn(holder1); in makeTwoDeviceContext()
158 when(mMockConfig.getDeviceConfigByName("device2")).thenReturn(holder2); in makeTwoDeviceContext()
278 when(mMockConfig.getDeviceConfigByName("device1")).thenReturn(holder1); in testResolveDynamicFails()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java497 public IDeviceConfiguration getDeviceConfigByName(String nameDevice) { in getDeviceConfigByName() method in Configuration
852 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in addToDefaultDeviceConfig()
1022 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getTargetPreparers().clear(); in setTargetPreparers()
1039 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getLabPreparers().clear(); in setLabPreparers()
1103 IDeviceConfiguration deviceConfig = getDeviceConfigByName(deviceName); in isDeviceConfiguredFake()
DIConfiguration.java223 public IDeviceConfiguration getDeviceConfigByName(String nameDevice); in getDeviceConfigByName() method
/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceResetFeature.java85 IDeviceConfiguration configHolder = mConfig.getDeviceConfigByName(deviceName); in execute()
DDeviceSnapshotFeature.java84 IDeviceConfiguration configHolder = mConfig.getDeviceConfigByName(deviceName); in execute()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java207 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(currentDeviceName); in fetchBuild()
275 config.getDeviceConfigByName(cleanUpDevice) in cleanUpBuilds()
313 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getTargetPreparers()); in getTargetPreparersToRun()
325 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getLabPreparers()); in getLabPreparersToRun()
803 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in runSingleDevicePreInvocationSetup()
834 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in runDevicePostInvocationTearDown()
DTestInvocation.java1292 config.getDeviceConfigByName(deviceName).getDeviceOptions()); in invoke()
1293 if (config.getDeviceConfigByName(deviceName) in invoke()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerFuncTest.java126 when(mSlowConfig.getDeviceConfigByName(Mockito.eq("device"))).thenReturn(mMockConfig); in setUp()
128 when(mFastConfig.getDeviceConfigByName(Mockito.eq("device"))).thenReturn(mMockConfig); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java941 if (mCmd.getConfiguration().getDeviceConfigByName(deviceName).getDeviceOptions() in checkDeviceBatteryLevel()
948 .getDeviceConfigByName(deviceName) in checkDeviceBatteryLevel()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java473 .getDeviceConfigByName(device) in run()