NestedDeviceStateMonitor

public class NestedDeviceStateMonitor
extends DeviceStateMonitor

java.lang.Object
   ↳ com.android.tradefed.device.NativeDeviceStateMonitor
     ↳ com.android.tradefed.device.DeviceStateMonitor
       ↳ com.android.tradefed.device.cloud.NestedDeviceStateMonitor


Device state monitor that executes extra checks on nested device to accommodate the specifics of the virtualized environment.

Summary

Public constructors

NestedDeviceStateMonitor(IDeviceManager mgr, IDevice device, boolean fastbootEnabled)

Protected methods

boolean postOnlineCheck(long waitTime)

Additional checks to be done on an Online device

Public constructors

NestedDeviceStateMonitor

public NestedDeviceStateMonitor (IDeviceManager mgr, 
                IDevice device, 
                boolean fastbootEnabled)

Parameters
mgr IDeviceManager

device IDevice

fastbootEnabled boolean

Protected methods

postOnlineCheck

protected boolean postOnlineCheck (long waitTime)

Additional checks to be done on an Online device

Parameters
waitTime long: time in ms to wait before giving up

Returns
boolean true if checks are successful before waitTime expires. false otherwise

Throws
DeviceNotAvailableException