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