デバイス割り当て状態

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 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

デバイスの初期状態 - ここに長く存在してはいけません

公開メソッド

handleDeviceEvent

public DeviceAllocationState handleDeviceEvent (DeviceEvent event)

パラメーター
event DeviceEvent

戻り値
DeviceAllocationState

値の

public static DeviceAllocationState valueOf (String name)

パラメーター
name String

戻り値
DeviceAllocationState

public static final DeviceAllocationState[] values ()

戻り値
DeviceAllocationState[]