Searched refs:device1 (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 215 IDeviceConfiguration device1 = in setUp() local 217 device1.addSpecificConfig(mMockRecovery); in setUp() 218 device1.addSpecificConfig(mMockPreparer); in setUp() 219 device1.addSpecificConfig(mMockBuildProvider); in setUp() 220 deviceConfigs.add(device1); in setUp() 1411 ITestDevice device1 = EasyMock.createMock(ITestDevice.class); in testLogDeviceBatteryLevel_placeholderDevice() local 1412 EasyMock.expect(device1.getIDevice()).andReturn(new StubDevice("stub")); in testLogDeviceBatteryLevel_placeholderDevice() 1413 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_placeholderDevice() 1414 EasyMock.replay(device1); in testLogDeviceBatteryLevel_placeholderDevice() 1416 EasyMock.verify(device1); in testLogDeviceBatteryLevel_placeholderDevice() [all …]
|
D | InvocationContextTest.java | 69 ITestDevice device1 = EasyMock.createMock(ITestDevice.class); in testGetDeviceName() local 72 assertNull(mContext.getDeviceName(device1)); in testGetDeviceName() 73 mContext.addAllocatedDevice("test1", device1); in testGetDeviceName() 74 assertEquals("test1", mContext.getDeviceName(device1)); in testGetDeviceName()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1322 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_injectDeviceBooleanOption() local 1323 StubTargetPreparer deviceSetup1 = (StubTargetPreparer) device1.getTargetPreparers().get(0); in testCreateConfiguration_injectDeviceBooleanOption() 1341 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_includeInDevice() local 1342 assertTrue(device1.getTargetPreparers().get(0) instanceof StubTargetPreparer); in testCreateConfiguration_includeInDevice() 1664 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_multiDevice_fake() local 1666 assertEquals(2, device1.getTargetPreparers().size()); in testCreateConfiguration_multiDevice_fake() 1667 StubTargetPreparer deviceSetup1 = (StubTargetPreparer) device1.getTargetPreparers().get(0); in testCreateConfiguration_multiDevice_fake() 1674 StubTargetPreparer deviceSetup2 = (StubTargetPreparer) device1.getTargetPreparers().get(1); in testCreateConfiguration_multiDevice_fake() 1705 IDeviceConfiguration device1 = in testCreateConfiguration_singleDeviceConfig_withFake() local 1708 assertEquals(2, device1.getTargetPreparers().size()); in testCreateConfiguration_singleDeviceConfig_withFake() [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_records_test.py | 174 device1 = ControllerInfoRecord('TestClass', 'MockDevice', 'device1') 175 tr1.add_controller_info_record(device1) 186 self.assertTrue(tr2.controller_info, [device1, device2])
|
/tools/test/connectivity/acts/framework/acts/test_utils/car/ |
D | car_media_utils.py | 147 def check_metadata(log, device1, device2): argument 158 metadata1 = device1.droid.bluetoothMediaGetCurrentMediaMetaData()
|