デバイス割り当て状態
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。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]