Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java101 private static final String DEFAULT_DEVICE_NAME = "DEFAULT_DEVICE"; field in ModuleDefinitionTest
316 mMapDeviceTargetPreparer.put(DEFAULT_DEVICE_NAME, mTargetPrepList); in setUp()
330 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
332 .addDeviceBuildInfo(DEFAULT_DEVICE_NAME, mMockBuildInfo); in setUp()
456 module.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testDynamicDownloadThrows_ReportsRunFailed()
516 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_aggregateRunFailures()
518 .addDeviceBuildInfo(DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_aggregateRunFailures()
595 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testParseTokens()
597 .addDeviceBuildInfo(DEFAULT_DEVICE_NAME, mMockBuildInfo); in testParseTokens()
681 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation()
[all …]
DITestSuiteIntegrationTest.java168 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
169 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in setUp()
524 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_firstModuleRunsAll()
525 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_sharding_firstModuleRunsAll()
566 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_parallelRun()
567 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_sharding_parallelRun()
615 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_withIndex()
616 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in testRun_sharding_withIndex()
695 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in helperTestShardIndex()
696 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in helperTestShardIndex()
DTestMappingSuiteRunnerTest.java121 context.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
122 context.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mBuildInfo); in setUp()
507 .addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mockBuildInfo); in testLoadTests_shard()
553 .addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mockBuildInfo); in testLoadTests_shardNoTest()
861 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mockBuildInfo); in testLoadTests_moduleDifferentoptions()
912 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mockBuildInfo); in testLoadTestsForMainline()
DITestSuiteTest.java314 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
315 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuildInfo); in setUp()
433 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun()
460 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_whiteListPreparer()
1462 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_withModuleListener()
1587 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_GranularRerunwithModuleListener()
DTfSuiteRunnerTest.java89 context.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, null); in setUp()
90 context.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp()
233 context.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mock(ITestDevice.class)); in testLoadTests_suite()
DModuleMergerTest.java48 context.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, null); in setUp()
49 context.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp()
DBaseTestSuiteTest.java80 context.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
81 context.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mBuildInfo); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1289 assertNotNull(config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1290 assertEquals("20", config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1292 assertEquals("stub", config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1294 assertEquals(1, config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1301 config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1702 ConfigurationDef.DEFAULT_DEVICE_NAME, in testCreateConfiguration_singleDeviceConfig_withFake()
1706 config.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME); in testCreateConfiguration_singleDeviceConfig_withFake()
1724 assertFalse(config.isDeviceConfiguredFake(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testCreateConfiguration_singleDeviceConfig_withFake()
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()
DConfigurationXmlParserTest.java410 ConfigurationDef.DEFAULT_DEVICE_NAME + "'"; in testParse_withDeviceReservedName()
413 " <device name=\"" + ConfigurationDef.DEFAULT_DEVICE_NAME + "\">\n" + in testParse_withDeviceReservedName()
DRetryConfigurationFactoryTest.java102 context.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in populateFakeResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java133 ConfigurationDef.DEFAULT_DEVICE_NAME, EasyMock.createMock(ITestDevice.class)); in setUp()
135 ConfigurationDef.DEFAULT_DEVICE_NAME, EasyMock.createMock(ITestDevice.class)); in setUp()
136 mInvocationContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, info); in setUp()
138 ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp()
720 ConfigurationDef.DEFAULT_DEVICE_NAME, mInvocationContext.getBuildInfos().get(0)); in createModuleContext()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/
DParentSandboxInvocationExecutionTest.java113 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
114 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp()
226 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testParentSandbox_NotTestMode()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDef.java72 public static final String DEFAULT_DEVICE_NAME = "DEFAULT_DEVICE"; field in ConfigurationDef
205 new DeviceConfigurationHolder(DEFAULT_DEVICE_NAME); in createConfiguration()
234 copy.put(DEFAULT_DEVICE_NAME, false); in createConfiguration()
DConfiguration.java227 setDeviceConfig(new DeviceConfigurationHolder(ConfigurationDef.DEFAULT_DEVICE_NAME)); in Configuration()
783 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).addSpecificConfig(obj); in addToDefaultDeviceConfig()
952 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getTargetPreparers().clear(); in setTargetPreparers()
DConfigurationXmlParser.java132 if (deviceName.equals(ConfigurationDef.DEFAULT_DEVICE_NAME)) { in startElement()
135 ConfigurationDef.DEFAULT_DEVICE_NAME))); in startElement()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java130 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
131 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp()
409 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, info); in testBackFill()
DTestInvocationTest.java216 new DeviceConfigurationHolder(ConfigurationDef.DEFAULT_DEVICE_NAME); in setUp()
272 mStubInvocationMetadata.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, in setUp()
274 mStubInvocationMetadata.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DStrictShardHelperTest.java88 ConfigurationDef.DEFAULT_DEVICE_NAME, Mockito.mock(ITestDevice.class)); in setUp()
89 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, new BuildInfo()); in setUp()
108 new DeviceConfigurationHolder(ConfigurationDef.DEFAULT_DEVICE_NAME); in testShardConfig_internal()
DShardHelperTest.java106 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mBuildInfo); in setUp()
108 ConfigurationDef.DEFAULT_DEVICE_NAME, Mockito.mock(ITestDevice.class)); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java139 mMockContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
140 mMockContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockBuild); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBugreportzOnFailureCollectorTest.java50 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxedInvocationExecutionTest.java62 mContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, info); in testBuildInfo_testTag()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DDeviceFeatureModuleControllerTest.java51 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
DCarModuleControllerTest.java51 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()

12