Home
last modified time | relevance | path

Searched refs:TcpDevice (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DTcpDevice.java24 public class TcpDevice extends StubDevice { class
28 public TcpDevice(String serial) { in TcpDevice() method in TcpDevice
32 public TcpDevice(String serial, String knownDeviceIp) { in TcpDevice() method in TcpDevice
DStubLocalAndroidVirtualDevice.java24 public class StubLocalAndroidVirtualDevice extends TcpDevice {
/tools/tradefederation/core/src/com/android/tradefed/device/
DRemoteAndroidDevice.java67 if (getIDevice() instanceof TcpDevice) { in RemoteAndroidDevice()
68 mInitialIpDevice = ((TcpDevice) getIDevice()).getKnownDeviceIp(); in RemoteAndroidDevice()
121 if (!(getIDevice() instanceof TcpDevice)) { in recoverDevice()
DDeviceManager.java506 addAvailableDevice(new TcpDevice(String.format("%s-%d", TCP_DEVICE_SERIAL_PREFIX, i))); in addTcpDevices()
530 new TcpDevice(String.format("%s-%d", TCP_DEVICE_SERIAL_PREFIX, index), ip)); in addNetworkDevices()
694 if (ideviceToReturn instanceof TcpDevice in freeDevice()
DDeviceSelectionOptions.java50 TCP_DEVICE(TcpDevice.class),
581 if (tcpDeviceRequested() != TcpDevice.class.equals(device.getClass())) { in checkDeviceTypeRequested()
DRemoteAvdIDevice.java24 public class RemoteAvdIDevice extends TcpDevice {
DManagedTestDeviceFactory.java94 } else if (idevice instanceof TcpDevice) { in createDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java336 IDevice stubDevice = new TcpDevice("tcp device");
617 IDevice gceDevice = new TcpDevice("tcp-device:0");
626 IDevice gceDevice = new TcpDevice("tcp-device:0");
DMockDeviceManager.java122 if (idevice instanceof TcpDevice) { in setNumDevicesStub()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java50 import com.android.tradefed.device.TcpDevice;
911 mMockManager.setNumDevicesStub(1, TestDeviceState.NOT_AVAILABLE, new TcpDevice("serial")); in testTcpDevice_NotReleased()
929 mMockManager.setNumDevicesStub(2, TestDeviceState.NOT_AVAILABLE, new TcpDevice("serial")); in testTcpDevice_NotReleasedMulti()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java45 import com.android.tradefed.device.TcpDevice;
1670 EasyMock.expect(mMockDevice.getIDevice()).andStubReturn(new TcpDevice("tcp-device-0")); in testNoAbi()
1694 EasyMock.expect(mMockDevice.getIDevice()).andStubReturn(new TcpDevice("tcp-device-0")); in testNoPrimaryAbi()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceSetupTest.java26 import com.android.tradefed.device.TcpDevice;
1185 EasyMock.expect(mMockDevice.getIDevice()).andReturn(new TcpDevice("tcp-device-0")); in testTearDown_tcpDevice()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java39 import com.android.tradefed.device.TcpDevice;
1131 if (fds.getKey().getIDevice() instanceof TcpDevice in handleAndLogReleaseState()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java53 import com.android.tradefed.device.TcpDevice;
1506 EasyMock.expect(device4.getIDevice()).andReturn(new TcpDevice("tcp-4")); in testLogDeviceBatteryLevel_physicalDevice_stub_multi()