/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardMasterResultForwarderTest.java | 68 main.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo() 74 shard1.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo() 80 shard2.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo() 102 main.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 107 main.addAllocatedDevice("device2", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 113 shard1.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 118 shard1.addAllocatedDevice("device2", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 124 shard2.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 129 shard2.addAllocatedDevice("device2", Mockito.mock(ITestDevice.class)); in testForwardBuildInfo_multiDevice() 162 main.addAllocatedDevice("device1", Mockito.mock(ITestDevice.class)); in testForward_Sharded()
|
D | InvocationExecutionTest.java | 104 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testCleanUp() 123 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testCleanUp_disabled() 142 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testCleanUp_tearDownDisabled() 253 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testDoSetup() 300 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testDoTearDown() 339 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testDoTearDown_logger() 376 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testDoTearDown_exception() 415 mContext.addAllocatedDevice("device1", mMockDevice); in testFetchBuild_createSharedFolder() 421 mContext.addAllocatedDevice("device2", mMockDevice); in testFetchBuild_createSharedFolder()
|
D | InvocationContextTest.java | 73 mContext.addAllocatedDevice("test1", device1); in testGetDeviceName() 128 mContext.addAllocatedDevice("test-device", device); in testSerialize() 145 deserialized.addAllocatedDevice("test-device", device); in testSerialize()
|
D | TestInvocationTest.java | 238 mStubInvocationMetadata.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, in setUp() 1299 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_placeholderDevice() 1318 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_physicalDevice() 1349 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_physicalDevice_multi() 1351 context.addAllocatedDevice("device2", device2); in testLogDeviceBatteryLevel_physicalDevice_multi() 1394 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1396 context.addAllocatedDevice("device2", device2); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1398 context.addAllocatedDevice("device3", device3); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1399 context.addAllocatedDevice("device4", device4); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1499 context.addAllocatedDevice("DEFAULT_DEVICE", device1); in testNotSkipPreDeviceSetup() [all …]
|
D | TestInvocationMultiTest.java | 139 mContext.addAllocatedDevice("device1", mDevice1); in makeTwoDeviceContext() 140 mContext.addAllocatedDevice("device2", mDevice2); in makeTwoDeviceContext()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 293 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 401 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_aggregateRunFailures() 470 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testParseTokens() 555 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation() 592 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation_runtime() 626 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation_error() 666 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation_moduleListener() 708 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation_unresponsive() 744 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_fullPass() 792 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_partialRun() [all …]
|
D | ModuleDefinitionMultiTest.java | 121 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_1, mDevice1); in testCreateAndRun() 123 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_2, mDevice2); in testCreateAndRun() 156 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_1, mDevice1); in testPreparer_mismatch() 158 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_2, mDevice2); in testPreparer_mismatch()
|
D | ITestSuiteIntegrationTest.java | 155 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 503 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_firstModuleRunsAll() 543 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_parallelRun() 590 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_withIndex() 669 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in helperTestShardIndex()
|
D | ITestSuiteMultiTest.java | 139 mContext.addAllocatedDevice(DEVICE_NAME_1, mMockDevice1); in testMultiDeviceITestSuite() 141 mContext.addAllocatedDevice(DEVICE_NAME_2, mMockDevice2); in testMultiDeviceITestSuite()
|
D | ITestSuiteTest.java | 282 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 400 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun() 427 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_whiteListPreparer() 1426 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_withModuleListener() 1484 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_GranularRerunwithModuleListener()
|
D | GranularRetriableTestWrapperTest.java | 823 mModuleInvocationContext.addAllocatedDevice("default-device1", mMockDevice); in testIntraModuleRun_rebootAtLastIntraModuleRetry() 844 mModuleInvocationContext.addAllocatedDevice("default-device1", mMockDevice); in testIntraModuleRun_rebootMultiDevicesAtLastIntraModuleRetry() 845 mModuleInvocationContext.addAllocatedDevice("default-device2", mMockDevice2); in testIntraModuleRun_rebootMultiDevicesAtLastIntraModuleRetry()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | DeviceMetricDataTest.java | 47 mContext.addAllocatedDevice("device1", mDevice1); in setUp() 88 mContext.addAllocatedDevice("device2", mock(ITestDevice.class)); in testMultiDeviceAdd() 108 mContext.addAllocatedDevice("device2", device2); in testMultiDeviceAdd_forDevice()
|
D | ScheduledDeviceMetricCollectorTest.java | 76 mContext.addAllocatedDevice(mDevicesWithNames); in testSetupAndPeriodicRunSingleDevice() 105 mContext.addAllocatedDevice(mDevicesWithNames); in testSetupAndPeriodicRunMultipleDevices()
|
D | BugreportzOnFailureCollectorTest.java | 50 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
|
D | AtraceRunMetricCollectorTest.java | 53 mContext.addAllocatedDevice("default", mMockDevice); in setUp()
|
D | ScreenshotOnFailureCollectorTest.java | 52 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
|
D | DeviceMetricDataFuncTest.java | 52 mContext.addAllocatedDevice("device1", device); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | IInvocationContext.java | 60 public void addAllocatedDevice(String deviceName, ITestDevice testDevice); in addAllocatedDevice() method 68 public void addAllocatedDevice(Map<String, ITestDevice> deviceWithName); in addAllocatedDevice() method
|
D | InvocationContext.java | 98 public void addAllocatedDevice(String devicename, ITestDevice testDevice) { in addAllocatedDevice() method in InvocationContext 110 public void addAllocatedDevice(Map<String, ITestDevice> deviceWithName) { in addAllocatedDevice() method in InvocationContext
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | EmailResultReporterTest.java | 72 context.addAllocatedDevice("fakeDevice", EasyMock.createMock(ITestDevice.class)); in testInvocationEnded_multiBuild() 74 context.addAllocatedDevice("fakeDevice2", EasyMock.createMock(ITestDevice.class)); in testInvocationEnded_multiBuild()
|
D | DeviceUnavailEmailResultReporterTest.java | 52 context.addAllocatedDevice("fakeDevice", EasyMock.createMock(ITestDevice.class)); in testGenerateEmailSubject()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/sandbox/ |
D | ParentSandboxInvocationExecutionTest.java | 82 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 193 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testParentSandbox_NotTestMode()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | StrictShardHelperTest.java | 236 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testShard() 358 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testSuite_withAllInterfaces()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
D | CarModuleControllerTest.java | 51 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerFuncTest.java | 294 nullMeta.addAllocatedDevice("device", device); in testConsecutiveExecCommand() 481 nullMeta.addAllocatedDevice("device", device); in testGetLastCommandResult_notAvail()
|