NestedRemoteDevice
public
class
NestedRemoteDevice
extends TestDevice
| java.lang.Object | |||
| ↳ | com.android.tradefed.device.NativeDevice | ||
| ↳ | com.android.tradefed.device.TestDevice | ||
| ↳ | com.android.tradefed.device.cloud.NestedRemoteDevice | ||
Representation of the device running inside a remote Cuttlefish VM. It will alter the local
device TestDevice behavior in some cases to take advantage of the setup.
Summary
Public constructors | |
|---|---|
NestedRemoteDevice(IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)
Creates a |
|
Public methods | |
|---|---|
final
boolean
|
resetVirtualDevice()
Teardown and restore the virtual device so testing can proceed. |
Public constructors
NestedRemoteDevice
public NestedRemoteDevice (IDevice device,
IDeviceStateMonitor stateMonitor,
IDeviceMonitor allocationMonitor)Creates a NestedRemoteDevice.
| Parameters | |
|---|---|
device |
IDevice: the associated IDevice |
stateMonitor |
IDeviceStateMonitor: the IDeviceStateMonitor mechanism to use |
allocationMonitor |
IDeviceMonitor: the IDeviceMonitor to inform of allocation state changes. |
Public methods
resetVirtualDevice
public final boolean resetVirtualDevice ()
Teardown and restore the virtual device so testing can proceed.
| Returns | |
|---|---|
boolean |
|
| Throws | |
|---|---|
DeviceNotAvailableException |
|