Searched refs:tcpDevice (Results 1 – 5 of 5) sorted by relevance
854 IManagedTestDevice tcpDevice = mManagedDeviceList.findOrCreate(new StubDevice(ipAndPort)); in connectToTcpDevice() local855 if (tcpDevice == null) { in connectToTcpDevice()858 DeviceEventResponse r = tcpDevice.handleAllocationEvent(DeviceEvent.FORCE_ALLOCATE_REQUEST); in connectToTcpDevice()861 tcpDevice.getMonitor().waitForDeviceBootloaderStateUpdate(); in connectToTcpDevice()867 tcpDevice.setRecovery(new WaitDeviceRecovery()); in connectToTcpDevice()868 tcpDevice.waitForDeviceOnline(); in connectToTcpDevice()869 return tcpDevice; in connectToTcpDevice()874 freeDevice(tcpDevice, FreeDeviceState.IGNORE); in connectToTcpDevice()885 ITestDevice tcpDevice = null; in reconnectDeviceToTcp() local892 tcpDevice = connectToTcpDevice(ipAndPort); in reconnectDeviceToTcp()[all …]
150 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice); in disconnectFromTcpDevice() argument
47 ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(mUsbDevice); in testReconnectDeviceToTcp_backUsb() local48 assertNotNull(tcpDevice); in testReconnectDeviceToTcp_backUsb()50 assertTrue(tcpDevice.isAdbTcp()); in testReconnectDeviceToTcp_backUsb()54 assertTrue(deviceManager.disconnectFromTcpDevice(tcpDevice)); in testReconnectDeviceToTcp_backUsb()58 deviceManager.disconnectFromTcpDevice(tcpDevice); in testReconnectDeviceToTcp_backUsb()81 ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(mUsbDevice); in testReconnectDeviceToTcp_reboot() local82 assertNotNull(tcpDevice); in testReconnectDeviceToTcp_reboot()85 tcpDevice.reboot(); in testReconnectDeviceToTcp_reboot()93 deviceManager.disconnectFromTcpDevice(tcpDevice); in testReconnectDeviceToTcp_reboot()
968 IManagedTestDevice tcpDevice = in testFreeDevice_tcpDevice() local970 assertNotNull(tcpDevice); in testFreeDevice_tcpDevice()973 manager.freeDevice(tcpDevice, FreeDeviceState.UNAVAILABLE); in testFreeDevice_tcpDevice()
336 public boolean disconnectFromTcpDevice(ITestDevice tcpDevice) { in disconnectFromTcpDevice() argument