デバイス割り当て状態
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 |
値の
public static DeviceAllocationState valueOf (String name)
パラメーター | |
---|---|
name | String |
戻り値 | |
---|---|
DeviceAllocationState |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2023-04-28 UTC。
[]
[]