設備分配狀態
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 () |
列舉值
公共方法
處理設備事件
public DeviceAllocationState handleDeviceEvent (DeviceEvent event)
參數 | |
---|---|
event | DeviceEvent |
退貨 | |
---|---|
DeviceAllocationState |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[]
[]