デバイス割り当て状態

public final enum DeviceAllocationState
extends Enum< DeviceAllocationState >

java.lang.オブジェクト
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 static final DeviceAllocationState Allocated

デバイスは現在テストに割り当てられています

利用可能

public static final DeviceAllocationState Available

デバイスをテストに割り当てることができます

利用可能かチェックしている

public static final DeviceAllocationState Checking_Availability

デバイスは現在応答性をチェック中です

無視されました

public static final DeviceAllocationState Ignored

デバイスはグローバル デバイス フィルタに一致しないため、この TF によって無視されます

利用不可

public static final DeviceAllocationState Unavailable

デバイスは adb 経由で表示されますが、テストを実行できないエラー状態にあります

未知

public static final DeviceAllocationState Unknown

デバイスの初期状態 - ここに長期間存在すべきではありません

パブリックメソッド

ハンドルデバイスイベント

public DeviceAllocationState handleDeviceEvent (DeviceEvent event)

パラメーター
event DeviceEvent

戻り値
DeviceAllocationState

の値

public static DeviceAllocationState valueOf (String name)

パラメーター
name String

戻り値
DeviceAllocationState

価値観

public static final DeviceAllocationState[] values ()

戻り値
DeviceAllocationState[]