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 true 如果檢查在 waitTime 到期前成功。否則為 false