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
|
擲回 | |
---|---|
DeviceNotAvailableException |