デバイス割り当て状態
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 Ignored
デバイスはグローバル デバイス フィルタに一致しないため、この TF によって無視されます
パブリックメソッド
ハンドルデバイスイベント
public DeviceAllocationState handleDeviceEvent (DeviceEvent event)
パラメーター | |
---|---|
event | DeviceEvent |
戻り値 | |
---|---|
DeviceAllocationState |
の値
public static DeviceAllocationState valueOf (String name)
パラメーター | |
---|---|
name | String |
戻り値 | |
---|---|
DeviceAllocationState |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2023-12-01 UTC。
[]
[]