Home
last modified time | relevance | path

Searched refs:NullDevice (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java484 … addAvailableDevice(new NullDevice(String.format("%s-%d", NULL_DEVICE_SERIAL_PREFIX, i))); in addNullDevices()
620 String serial = String.format("%s%s", NullDevice.TEMP_NULL_DEVICE_PREFIX, rand); in allocateDevice()
621 addAvailableDevice(new NullDevice(serial, true)); in allocateDevice()
665 if (ideviceToReturn instanceof NullDevice) { in freeDevice()
666 NullDevice nullDevice = (NullDevice) ideviceToReturn; in freeDevice()
DDeviceSelectionOptions.java46 NULL_DEVICE(NullDevice.class),
578 if (nullDeviceRequested() != (device instanceof NullDevice)) { in checkDeviceTypeRequested()
DNativeDevice.java4525 if (idevice instanceof NullDevice) { in getDeviceDescriptor()
4526 isTemporary = ((NullDevice) idevice).isTemporary(); in getDeviceDescriptor()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java105 IDevice device = new NullDevice("serial"); in testGetSerials_envVariable_nullDevice()
327 IDevice stubDevice = new NullDevice("null device");
548 assertFalse(mDeviceSelection.matches(new NullDevice("test")));
557 assertTrue(mDeviceSelection.matches(new NullDevice("test")));
DMockDeviceManager.java124 } else if (idevice instanceof NullDevice) { in setNumDevicesStub()
DDeviceManagerTest.java467 assertTrue(device.getIDevice() instanceof NullDevice); in testAllocateDevice_nullDevice()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DNullDevice.java24 public class NullDevice extends StubDevice { class
31 public NullDevice(String serial) { in NullDevice() method in NullDevice
35 public NullDevice(String serial, boolean isTemporary) { in NullDevice() method in NullDevice
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java34 import com.android.tradefed.device.NullDevice;
1246 if (device.getIDevice() instanceof NullDevice) { in getPrimaryAbi()
1263 if (device.getIDevice() instanceof NullDevice) { in getDeviceAbis()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DLogcatOnFailureCollectorTest.java25 import com.android.tradefed.device.NullDevice;
101 EasyMock.expect(mNullMockDevice.getIDevice()).andStubReturn(new NullDevice("null-dev")); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java44 import com.android.tradefed.device.NullDevice;
1625 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new NullDevice("null-device-0")); in testNullDeviceSuite()
1646 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new NullDevice("null-device-0")); in testNullDeviceSuite_primaryAbi()