Searched refs:device1 (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | InvocationContextTest.java | 69 ITestDevice device1 = mock(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 | 226 IDeviceConfiguration device1 = in setUp() local 228 device1.addSpecificConfig(mMockRecovery); in setUp() 229 device1.addSpecificConfig(mMockPreparer); in setUp() 230 device1.addSpecificConfig(mMockBuildProvider); in setUp() 231 deviceConfigs.add(device1); in setUp()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1350 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_injectDeviceBooleanOption() local 1351 StubTargetPreparer deviceSetup1 = (StubTargetPreparer) device1.getTargetPreparers().get(0); in testCreateConfiguration_injectDeviceBooleanOption() 1370 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_includeInDevice() local 1371 assertTrue(device1.getTargetPreparers().get(0) instanceof StubTargetPreparer); in testCreateConfiguration_includeInDevice() 1706 IDeviceConfiguration device1 = config.getDeviceConfigByName("device1"); in testCreateConfiguration_multiDevice_fake() local 1708 assertEquals(2, device1.getTargetPreparers().size()); in testCreateConfiguration_multiDevice_fake() 1709 StubTargetPreparer deviceSetup1 = (StubTargetPreparer) device1.getTargetPreparers().get(0); in testCreateConfiguration_multiDevice_fake() 1716 StubTargetPreparer deviceSetup2 = (StubTargetPreparer) device1.getTargetPreparers().get(1); in testCreateConfiguration_multiDevice_fake() 1748 IDeviceConfiguration device1 = in testCreateConfiguration_singleDeviceConfig_withFake() local 1751 assertEquals(2, device1.getTargetPreparers().size()); in testCreateConfiguration_singleDeviceConfig_withFake() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/car/ |
D | car_media_utils.py | 147 def check_metadata(log, device1, device2): argument 158 metadata1 = device1.droid.bluetoothMediaGetCurrentMediaMetaData()
|
/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])
|