DeviceAllocationState
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()
|
列挙値
Checking_Availability
public static final DeviceAllocationState Checking_Availability
デバイスの応答状況が現在確認中です
無視されました
public static final DeviceAllocationState Ignored
デバイスがグローバル デバイス フィルタと一致しないため、この TF では無視されます
使用不可
public static final DeviceAllocationState Unavailable
デバイスは adb 経由で検出されます。ただし、テストを実行できないエラー状態です。
パブリック メソッド
handleDeviceEvent
public DeviceAllocationState handleDeviceEvent (DeviceEvent event)
パラメータ | |
---|---|
event |
DeviceEvent |
戻り値 | |
---|---|
DeviceAllocationState |
valueOf
public static DeviceAllocationState valueOf (String name)
パラメータ | |
---|---|
name |
String |
戻り値 | |
---|---|
DeviceAllocationState |