Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java991 assertNotNull(config.getDeviceConfigByName("device1")); in testCreateConfigurationFromArgs_multidevice()
992 assertEquals("10", config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice()
994 assertEquals("stub", config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice()
996 assertEquals(0, config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice()
999 assertNotNull(config.getDeviceConfigByName("device2")); in testCreateConfigurationFromArgs_multidevice()
1000 assertEquals("0", config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1002 assertEquals("stub", config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1004 assertEquals(1, config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1006 assertTrue(config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice()
1009 assertNotNull(config.getDeviceConfigByName("device3")); in testCreateConfigurationFromArgs_multidevice()
[all …]
DConfigurationTest.java748 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone()
749 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone()
771 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone_innerDevice()
772 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone_innerDevice()
DConfigurationDefTest.java117 OptionTest test = (OptionTest)config.getDeviceConfigByName("device1") in testCreateConfiguration_withDeviceHolder()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java129 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(currentDeviceName); in fetchBuild()
192 config.getDeviceConfigByName(cleanUpDevice) in cleanUpBuilds()
312 config.getDeviceConfigByName(deviceName).getTargetPreparers()) { in runPreparationOnDevice()
468 config.getDeviceConfigByName(deviceName).getTargetPreparers(); in doTeardown()
540 config.getDeviceConfigByName(deviceName).getTargetPreparers(); in doCleanUp()
DTestInvocation.java830 .setOptions(config.getDeviceConfigByName(deviceName).getDeviceOptions()); in invoke()
831 if (config.getDeviceConfigByName(deviceName) in invoke()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java456 public IDeviceConfiguration getDeviceConfigByName(String nameDevice) { in getDeviceConfigByName() method in Configuration
783 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).addSpecificConfig(obj); in addToDefaultDeviceConfig()
952 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getTargetPreparers().clear(); in setTargetPreparers()
1016 IDeviceConfiguration deviceConfig = getDeviceConfigByName(deviceName); in isDeviceConfiguredFake()
DIConfiguration.java208 public IDeviceConfiguration getDeviceConfigByName(String nameDevice); in getDeviceConfigByName() method
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java142 EasyMock.expect(mMockConfig.getDeviceConfigByName("device1")).andStubReturn(holder1); in makeTwoDeviceContext()
153 EasyMock.expect(mMockConfig.getDeviceConfigByName("device2")).andStubReturn(holder2); in makeTwoDeviceContext()
294 EasyMock.expect(mMockConfig.getDeviceConfigByName("device1")).andStubReturn(holder1); in testResolveDynamicFails()
/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.java190 config.getDeviceConfigByName(deviceName) in shardConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java117 EasyMock.expect(mSlowConfig.getDeviceConfigByName(EasyMock.eq("device"))) in setUp()
120 EasyMock.expect(mFastConfig.getDeviceConfigByName(EasyMock.eq("device"))) in setUp()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java761 if (mCmd.getConfiguration().getDeviceConfigByName(deviceName) in checkDeviceBatteryLevel()
767 .getDeviceConfigByName(deviceName).getDeviceOptions().getCutoffBattery(); in checkDeviceBatteryLevel()
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/
DSandboxedInvocationExecution.java60 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in fetchBuild()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java379 .getDeviceConfigByName(device) in run()