/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 | InvocationContextTest.java | 56 mContext.addAllocatedDevice("test1", device1); in testGetDeviceName() 99 mContext.addAllocatedDevice("test-device", device); in testSerialize() 116 deserialized.addAllocatedDevice("test-device", device); in testSerialize()
|
D | InvocationExecutionTest.java | 84 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testCleanUp() 103 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testCleanUp_disabled() 122 mContext.addAllocatedDevice("default", EasyMock.createMock(ITestDevice.class)); in testCleanUp_tearDownDisabled() 211 mContext.addAllocatedDevice("default", mock(ITestDevice.class)); in testDoSetup()
|
D | TestInvocationTest.java | 223 mStubInvocationMetadata.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, in setUp() 1347 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_placeholderDevice() 1368 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_physicalDevice() 1398 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_physicalDevice_multi() 1400 context.addAllocatedDevice("device2", device2); in testLogDeviceBatteryLevel_physicalDevice_multi() 1440 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1442 context.addAllocatedDevice("device2", device2); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1444 context.addAllocatedDevice("device3", device3); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1445 context.addAllocatedDevice("device4", device4); in testLogDeviceBatteryLevel_physicalDevice_stub_multi() 1540 context.addAllocatedDevice("DEFAULT_DEVICE", device1); in testNotSkipPreDeviceSetup() [all …]
|
D | TestInvocationMultiTest.java | 129 mContext.addAllocatedDevice("device1", mDevice1); in makeTwoDeviceContext() 130 mContext.addAllocatedDevice("device2", mDevice2); in makeTwoDeviceContext()
|
D | ShardListenerTest.java | 57 mContext.addAllocatedDevice("default", mMockDevice); in setUp()
|
/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 | AtraceRunMetricCollectorTest.java | 54 mContext.addAllocatedDevice("default", mMockDevice); in setUp()
|
D | DeviceMetricDataFuncTest.java | 52 mContext.addAllocatedDevice("device1", device); in setUp()
|
D | FilePullerLogCollectorTest.java | 56 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
|
D | FilePullerDeviceMetricCollectorTest.java | 52 mContext.addAllocatedDevice("default", mMockDevice); in setUp()
|
D | ScheduleMultipleDeviceMetricCollectorTest.java | 127 mContext.addAllocatedDevice("test device", mTestDevice); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | IInvocationContext.java | 54 public void addAllocatedDevice(String deviceName, ITestDevice testDevice); in addAllocatedDevice() method 62 public void addAllocatedDevice(Map<String, ITestDevice> deviceWithName); in addAllocatedDevice() method
|
D | InvocationContext.java | 89 public void addAllocatedDevice(String devicename, ITestDevice testDevice) { in addAllocatedDevice() method in InvocationContext 101 public void addAllocatedDevice(Map<String, ITestDevice> deviceWithName) { in addAllocatedDevice() method in InvocationContext
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | DeviceUnavailEmailResultReporterTest.java | 52 context.addAllocatedDevice("fakeDevice", EasyMock.createMock(ITestDevice.class)); in testGenerateEmailSubject()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionMultiTest.java | 123 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_1, mDevice1); in testCreateAndRun() 125 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_2, mDevice2); in testCreateAndRun()
|
D | ModuleDefinitionTest.java | 177 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in setUp() 309 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_failPreparation() 339 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_fullPass() 383 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_partialRun() 489 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testModuleController_fullBypass() 535 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testModuleController_skipTestCases() 596 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testModule_LogSaverResultForwarder() 710 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_partialRun_deviceUnresponsive() 772 mModule.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testRun_moduleLevelListeners()
|
D | ITestSuiteMultiTest.java | 139 mContext.addAllocatedDevice(DEVICE_NAME_1, mMockDevice1); in testMultiDeviceITestSuite() 141 mContext.addAllocatedDevice(DEVICE_NAME_2, mMockDevice2); in testMultiDeviceITestSuite()
|
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() 593 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in testRun_sharding_withIndex() 674 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in helperTestShardIndex()
|
/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/targetprep/multi/ |
D | MergeMultiBuildTargetPreparerTest.java | 59 mContext.addAllocatedDevice("device1", mMockDevice1); 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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | BaseHostJUnit4TestTest.java | 118 mMockContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 96 mContext.addAllocatedDevice( in setUp()
|