Searched refs:device1 (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
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()
|
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() 1406 ITestDevice device1 = EasyMock.createMock(ITestDevice.class); in testLogDeviceBatteryLevel_placeholderDevice() local 1407 EasyMock.expect(device1.getIDevice()).andReturn(new StubDevice("stub")); in testLogDeviceBatteryLevel_placeholderDevice() 1408 context.addAllocatedDevice("device1", device1); in testLogDeviceBatteryLevel_placeholderDevice() 1409 EasyMock.replay(device1); in testLogDeviceBatteryLevel_placeholderDevice() 1411 EasyMock.verify(device1); in testLogDeviceBatteryLevel_placeholderDevice() [all …]
|
/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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1321 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_injectDeviceBooleanOption() local 1322 StubTargetPreparer deviceSetup1 = (StubTargetPreparer) device1.getTargetPreparers().get(0); in testCreateConfiguration_injectDeviceBooleanOption() 1340 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_includeInDevice() local 1341 assertTrue(device1.getTargetPreparers().get(0) instanceof StubTargetPreparer); in testCreateConfiguration_includeInDevice() 1663 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_multiDevice_fake() local 1665 assertEquals(2, device1.getTargetPreparers().size()); in testCreateConfiguration_multiDevice_fake() 1666 StubTargetPreparer deviceSetup1 = (StubTargetPreparer) device1.getTargetPreparers().get(0); in testCreateConfiguration_multiDevice_fake() 1673 StubTargetPreparer deviceSetup2 = (StubTargetPreparer) device1.getTargetPreparers().get(1); in testCreateConfiguration_multiDevice_fake() 1704 IDeviceConfiguration device1 = in testCreateConfiguration_singleDeviceConfig_withFake() local 1707 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])
|