Home
last modified time | relevance | path

Searched refs:DEFAULT_DEVICE_NAME (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java75 private static final String DEFAULT_DEVICE_NAME = "DEFAULT_DEVICE"; field in ModuleDefinitionTest
164 mMapDeviceTargetPreparer.put(DEFAULT_DEVICE_NAME, mTargetPrepList); in setUp()
177 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
179 .addDeviceBuildInfo(DEFAULT_DEVICE_NAME, mMockBuildInfo); in setUp()
309 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation()
311 .addDeviceBuildInfo(DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_failPreparation()
339 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_fullPass()
341 .addDeviceBuildInfo(DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_fullPass()
383 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_partialRun()
385 .addDeviceBuildInfo(DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_partialRun()
[all …]
DITestSuiteIntegrationTest.java155 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
156 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in setUp()
503 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_firstModuleRunsAll()
504 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_sharding_firstModuleRunsAll()
543 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_parallelRun()
544 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_sharding_parallelRun()
593 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_withIndex()
594 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_sharding_withIndex()
674 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in helperTestShardIndex()
675 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in helperTestShardIndex()
DModuleSplitterTest.java43 private static final String DEFAULT_DEVICE = ConfigurationDef.DEFAULT_DEVICE_NAME;
DITestSuiteTest.java245 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun()
1076 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_withModuleListener()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationXmlParserTest.java383 ConfigurationDef.DEFAULT_DEVICE_NAME + "'"; in testParse_withDeviceReservedName()
386 " <device name=\"" + ConfigurationDef.DEFAULT_DEVICE_NAME + "\">\n" + in testParse_withDeviceReservedName()
DConfigurationFactoryTest.java1229 assertNotNull(config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1230 assertEquals("20", config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1232 assertEquals("stub", config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1234 assertEquals(1, config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1241 config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DNativeBridgeModuleControllerTest.java48 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java118 mMockContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
119 mMockContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuild); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationXmlParser.java124 if (deviceName.equals(ConfigurationDef.DEFAULT_DEVICE_NAME)) { in startElement()
127 ConfigurationDef.DEFAULT_DEVICE_NAME))); in startElement()
DConfiguration.java212 setDeviceConfig(new DeviceConfigurationHolder(ConfigurationDef.DEFAULT_DEVICE_NAME)); in Configuration()
641 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).addSpecificConfig(obj); in addToDefaultDeviceConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DFilePullerLogCollectorTest.java56 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java95 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mBuildInfo); in setUp()
97 ConfigurationDef.DEFAULT_DEVICE_NAME, Mockito.mock(ITestDevice.class)); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java180 new DeviceConfigurationHolder(ConfigurationDef.DEFAULT_DEVICE_NAME); in setUp()
223 mStubInvocationMetadata.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, in setUp()
225 mStubInvocationMetadata.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, in setUp()