/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 75 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 …]
|
D | ITestSuiteIntegrationTest.java | 155 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()
|
D | ModuleSplitterTest.java | 43 private static final String DEFAULT_DEVICE = ConfigurationDef.DEFAULT_DEVICE_NAME;
|
D | ITestSuiteTest.java | 245 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/ |
D | ConfigurationXmlParserTest.java | 383 ConfigurationDef.DEFAULT_DEVICE_NAME + "'"; in testParse_withDeviceReservedName() 386 " <device name=\"" + ConfigurationDef.DEFAULT_DEVICE_NAME + "\">\n" + in testParse_withDeviceReservedName()
|
D | ConfigurationFactoryTest.java | 1229 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/ |
D | NativeBridgeModuleControllerTest.java | 48 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 118 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/ |
D | ConfigurationXmlParser.java | 124 if (deviceName.equals(ConfigurationDef.DEFAULT_DEVICE_NAME)) { in startElement() 127 ConfigurationDef.DEFAULT_DEVICE_NAME))); in startElement()
|
D | Configuration.java | 212 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/ |
D | FilePullerLogCollectorTest.java | 56 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 95 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/ |
D | TestInvocationTest.java | 180 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()
|