Google is committed to advancing racial equity for Black communities. See how.
本頁面由 Cloud Translation API 翻譯而成。
Switch to English

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