Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java21 import com.android.tradefed.device.DeviceManager.FastbootDevice;
223 && (!(device instanceof StubDevice) || (device instanceof FastbootDevice))) { in getSerials()
505 if (device instanceof StubDevice || device instanceof FastbootDevice) { in matches()
528 && (!(device instanceof StubDevice) || (device instanceof FastbootDevice))) { in matches()
532 if (device instanceof FastbootDevice) { in matches()
DDeviceManager.java564 FastbootDevice d = new FastbootDevice(serial); in addFastbootDevices()
572 public static class FastbootDevice extends StubDevice { class in DeviceManager
576 public FastbootDevice(String serial) { in FastbootDevice() method in DeviceManager.FastbootDevice
1372 FastbootDevice d = new FastbootDevice(serial); in run()
DManagedTestDeviceFactory.java24 import com.android.tradefed.device.DeviceManager.FastbootDevice;
132 if (idevice instanceof FastbootDevice) { in createDevice()
133 if (((FastbootDevice) idevice).isFastbootD()) { in createDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java26 import com.android.tradefed.device.DeviceManager.FastbootDevice;
115 IDevice device = new FastbootDevice(DEVICE_ENV_SERIAL); in testGetSerials_envVariable_FastbootDevice()
125 IDevice device = new FastbootDevice("serial"); in testGetSerials_envVariable_FastbootDevice_noMatch()
568 assertFalse(mDeviceSelection.matches(new FastbootDevice("serial")));
576 assertTrue(mDeviceSelection.matches(new FastbootDevice("serial")));
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/
DUsbResetMultiDeviceRecoveryTest.java28 import com.android.tradefed.device.DeviceManager.FastbootDevice;
124 when(mDevice.getIDevice()).thenReturn(new FastbootDevice(SERIAL)); in testRecover_fastboot_allocated()
138 when(mDevice.getIDevice()).thenReturn(new FastbootDevice(SERIAL)); in testRecover_fastboot_unallocated()
DRunConfigDeviceRecoveryTest.java24 import com.android.tradefed.device.DeviceManager.FastbootDevice;
104 EasyMock.expect(mMockTestDevice.getIDevice()).andStubReturn(new FastbootDevice("serial")); in testRecoverDevice_fastboot()
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/
DRunConfigDeviceRecovery.java25 import com.android.tradefed.device.DeviceManager.FastbootDevice;
73 && !(device.getIDevice() instanceof FastbootDevice)) { in recoverDevices()
DUsbResetMultiDeviceRecovery.java118 if (iDevice instanceof StubDevice && !(iDevice instanceof DeviceManager.FastbootDevice)) { in shouldReset()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterHostUtil.java21 import com.android.tradefed.device.DeviceManager.FastbootDevice;
131 if (!FastbootDevice.class.getSimpleName().equals(deviceClass)) { in getRunTarget()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterHostUtilTest.java23 import com.android.tradefed.device.DeviceManager.FastbootDevice;
284 FastbootDevice.class.getSimpleName(), in testSupportedRunTargetMatchPattern_productAndStub()