Home
last modified time | relevance | path

Searched refs:device2 (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DDeviceMetricDataTest.java107 ITestDevice device2 = mock(ITestDevice.class); in testMultiDeviceAdd_forDevice() local
108 mContext.addAllocatedDevice("device2", device2); in testMultiDeviceAdd_forDevice()
110 device2, in testMultiDeviceAdd_forDevice()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/car/
Dcar_media_utils.py147 def check_metadata(log, device1, device2): argument
162 metadata2 = device2.droid.bluetoothMediaGetCurrentMediaMetaData()
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py182 device2 = ControllerInfoRecord('TestClass', 'MockDevice', 'device2')
183 tr2.add_controller_info_record(device2)
186 self.assertTrue(tr2.controller_info, [device1, device2])
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerTest.java938 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_unavailable() local
939 assertNull(device2); in testFreeDevice_unavailable()
996 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_recovery() local
997 assertNull(device2); in testFreeDevice_recovery()
1058 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_unknown() local
1059 assertNull(device2); in testFreeDevice_unknown()
1120 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_unknown_subName() local
1121 assertNull(device2); in testFreeDevice_unknown_subName()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DInvocationContextTest.java70 ITestDevice device2 = mock(ITestDevice.class); in testGetDeviceName() local
75 assertNull(mContext.getDeviceName(device2)); in testGetDeviceName()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationFactoryTest.java1357 IDeviceConfiguration device2 = config.getDeviceConfigByName("device2"); in testCreateConfiguration_injectDeviceBooleanOption() local
1358 StubTargetPreparer deviceSetup2 = (StubTargetPreparer) device2.getTargetPreparers().get(0); in testCreateConfiguration_injectDeviceBooleanOption()
1373 IDeviceConfiguration device2 = config.getDeviceConfigByName("device2"); in testCreateConfiguration_includeInDevice() local
1374 assertTrue(device2.getBuildProvider() instanceof LocalDeviceBuildProvider); in testCreateConfiguration_includeInDevice()
1375 LocalDeviceBuildProvider provider = (LocalDeviceBuildProvider) device2.getBuildProvider(); in testCreateConfiguration_includeInDevice()
1769 IDeviceConfiguration device2 = config.getDeviceConfigByName("device2"); in testCreateConfiguration_singleDeviceConfig_withFake() local
1770 assertFalse(device2.getDeviceRequirements().gceDeviceRequested()); in testCreateConfiguration_singleDeviceConfig_withFake()
1771 assertTrue(device2.getDeviceRequirements().nullDeviceRequested()); in testCreateConfiguration_singleDeviceConfig_withFake()