裝置配置狀態
public
final
enum
DeviceAllocationState
extends Enum<DeviceAllocationState>
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.device.DeviceAllocationState> | |
↳ | com.android.tradefed.device.DeviceAllocationState |
以 IDeviceManager 的角度代表裝置的配置狀態
摘要
列舉值 | |
---|---|
DeviceAllocationState |
Allocated
裝置目前分配給測試的裝置 |
DeviceAllocationState |
Available
裝置可供測試 |
DeviceAllocationState |
Checking_Availability
裝置目前正在檢查裝置回應速度 |
DeviceAllocationState |
Ignored
裝置與全域裝置篩選條件不符,因此這個 TF 會予以忽略 |
DeviceAllocationState |
Unavailable
裝置可透過 ADB 顯示,但處於錯誤狀態,因此無法執行測試 |
DeviceAllocationState |
Unknown
裝置的初始狀態 - 請勿長時間停留在此 |
公用方法 | |
---|---|
DeviceAllocationState
|
handleDeviceEvent(DeviceEvent event)
|
static
DeviceAllocationState
|
valueOf(String name)
|
static
final
DeviceAllocationState[]
|
values()
|
列舉值
公用方法
handleDeviceEvent
public DeviceAllocationState handleDeviceEvent (DeviceEvent event)
參數 | |
---|---|
event |
DeviceEvent |
傳回 | |
---|---|
DeviceAllocationState |