Searched refs:ideviceToReturn (Results 1 – 1 of 1) sorted by relevance
664 IDevice ideviceToReturn = device.getIDevice(); in freeDevice() local665 if (ideviceToReturn instanceof NullDevice) { in freeDevice()666 NullDevice nullDevice = (NullDevice) ideviceToReturn; in freeDevice()678 if (ideviceToReturn.isEmulator() && managedDevice.getEmulatorProcess() != null) { in freeDevice()686 ideviceToReturn = new StubDevice(ideviceToReturn.getSerialNumber(), true); in freeDevice()688 managedDevice.setIDevice(ideviceToReturn); in freeDevice()694 if (ideviceToReturn instanceof TcpDevice in freeDevice()695 || ideviceToReturn instanceof VmRemoteDevice in freeDevice()696 || ideviceToReturn instanceof StubLocalAndroidVirtualDevice) { in freeDevice()