Searched refs:device2 (Results 1 – 6 of 6) sorted by relevance
107 ITestDevice device2 = mock(ITestDevice.class); in testMultiDeviceAdd_forDevice() local108 mContext.addAllocatedDevice("device2", device2); in testMultiDeviceAdd_forDevice()110 device2, in testMultiDeviceAdd_forDevice()
147 def check_metadata(log, device1, device2): argument162 metadata2 = device2.droid.bluetoothMediaGetCurrentMediaMetaData()
182 device2 = ControllerInfoRecord('TestClass', 'MockDevice', 'device2')183 tr2.add_controller_info_record(device2)186 self.assertTrue(tr2.controller_info, [device1, device2])
938 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_unavailable() local939 assertNull(device2); in testFreeDevice_unavailable()996 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_recovery() local997 assertNull(device2); in testFreeDevice_recovery()1058 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_unknown() local1059 assertNull(device2); in testFreeDevice_unknown()1120 ITestDevice device2 = manager.allocateDevice(mDeviceSelections); in testFreeDevice_unknown_subName() local1121 assertNull(device2); in testFreeDevice_unknown_subName()
70 ITestDevice device2 = mock(ITestDevice.class); in testGetDeviceName() local75 assertNull(mContext.getDeviceName(device2)); in testGetDeviceName()
1357 IDeviceConfiguration device2 = config.getDeviceConfigByName("device2"); in testCreateConfiguration_injectDeviceBooleanOption() local1358 StubTargetPreparer deviceSetup2 = (StubTargetPreparer) device2.getTargetPreparers().get(0); in testCreateConfiguration_injectDeviceBooleanOption()1373 IDeviceConfiguration device2 = config.getDeviceConfigByName("device2"); in testCreateConfiguration_includeInDevice() local1374 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() local1770 assertFalse(device2.getDeviceRequirements().gceDeviceRequested()); in testCreateConfiguration_singleDeviceConfig_withFake()1771 assertTrue(device2.getDeviceRequirements().nullDeviceRequested()); in testCreateConfiguration_singleDeviceConfig_withFake()