Home
last modified time | relevance | path

Searched refs:addAllocatedDevice (Results 1 – 25 of 27) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardMasterResultForwarderTest.java68 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()
DInvocationContextTest.java56 mContext.addAllocatedDevice("test1", device1); in testGetDeviceName()
99 mContext.addAllocatedDevice("test-device", device); in testSerialize()
116 deserialized.addAllocatedDevice("test-device", device); in testSerialize()
DInvocationExecutionTest.java84 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()
DTestInvocationTest.java223 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 …]
DTestInvocationMultiTest.java129 mContext.addAllocatedDevice("device1", mDevice1); in makeTwoDeviceContext()
130 mContext.addAllocatedDevice("device2", mDevice2); in makeTwoDeviceContext()
DShardListenerTest.java57 mContext.addAllocatedDevice("default", mMockDevice); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DDeviceMetricDataTest.java47 mContext.addAllocatedDevice("device1", mDevice1); in setUp()
88 mContext.addAllocatedDevice("device2", mock(ITestDevice.class)); in testMultiDeviceAdd()
108 mContext.addAllocatedDevice("device2", device2); in testMultiDeviceAdd_forDevice()
DScheduledDeviceMetricCollectorTest.java76 mContext.addAllocatedDevice(mDevicesWithNames); in testSetupAndPeriodicRunSingleDevice()
105 mContext.addAllocatedDevice(mDevicesWithNames); in testSetupAndPeriodicRunMultipleDevices()
DAtraceRunMetricCollectorTest.java54 mContext.addAllocatedDevice("default", mMockDevice); in setUp()
DDeviceMetricDataFuncTest.java52 mContext.addAllocatedDevice("device1", device); in setUp()
DFilePullerLogCollectorTest.java56 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
DFilePullerDeviceMetricCollectorTest.java52 mContext.addAllocatedDevice("default", mMockDevice); in setUp()
DScheduleMultipleDeviceMetricCollectorTest.java127 mContext.addAllocatedDevice("test device", mTestDevice); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DIInvocationContext.java54 public void addAllocatedDevice(String deviceName, ITestDevice testDevice); in addAllocatedDevice() method
62 public void addAllocatedDevice(Map<String, ITestDevice> deviceWithName); in addAllocatedDevice() method
DInvocationContext.java89 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/
DDeviceUnavailEmailResultReporterTest.java52 context.addAllocatedDevice("fakeDevice", EasyMock.createMock(ITestDevice.class)); in testGenerateEmailSubject()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionMultiTest.java123 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_1, mDevice1); in testCreateAndRun()
125 mModule.getModuleInvocationContext().addAllocatedDevice(DEVICE_NAME_2, mDevice2); in testCreateAndRun()
DModuleDefinitionTest.java177 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()
DITestSuiteMultiTest.java139 mContext.addAllocatedDevice(DEVICE_NAME_1, mMockDevice1); in testMultiDeviceITestSuite()
141 mContext.addAllocatedDevice(DEVICE_NAME_2, mMockDevice2); in testMultiDeviceITestSuite()
DITestSuiteIntegrationTest.java155 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/
DNativeBridgeModuleControllerTest.java48 mContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparerTest.java59 mContext.addAllocatedDevice("device1", mMockDevice1); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerFuncTest.java294 nullMeta.addAllocatedDevice("device", device); in testConsecutiveExecCommand()
481 nullMeta.addAllocatedDevice("device", device); in testGetLastCommandResult_notAvail()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java118 mMockContext.addAllocatedDevice(ConfigurationDef.DEFAULT_DEVICE_NAME, mMockDevice); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java96 mContext.addAllocatedDevice( in setUp()

12