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


对嵌套设备执行额外检查的设备状态监视器,以适应 虚拟化环境

摘要

公共构造函数

NestedDeviceStateMonitor(IDeviceManager mgr, IDevice device, boolean fastbootEnabled)

受保护的方法

boolean postOnlineCheck(long waitTime)

要在在线设备上完成的其他检查

公共构造函数

NestedDeviceStateMonitor

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

参数
mgr IDeviceManager

device IDevice

fastbootEnabled boolean

受保护的方法

postOnlineCheck

protected boolean postOnlineCheck (long waitTime)

要在在线设备上完成的其他检查

参数
waitTime long:放弃前等待的时间(毫秒)

返回
boolean 如果检查在 waitTime 到期之前成功,则为true。 否则为 false