測試設備狀態
public final enum TestDeviceState
extends Enum< TestDeviceState >
java.lang.Object | ||
↳ | java.lang.Enum< com.android.tradefed.device.TestDeviceState > | |
↳ | com.android.tradefed.device.TestDeviceState |
比DeviceState
更全面的設備狀態表示。
DeviceState
以僅添加 FASTBOOT 和 NOT_AVAILABLE 狀態,但不允許擴展枚舉。概括
枚舉值 | |
---|---|
TestDeviceState | FASTBOOT |
TestDeviceState | FASTBOOTD 通過 `adb reboot fastboot` 的 is-userspace = true 的 fastbootd 模式 |
TestDeviceState | NOT_AVAILABLE |
TestDeviceState | ONLINE |
TestDeviceState | RECOVERY |
TestDeviceState | SIDELOAD
|
公共方法 | |
---|---|
static TestDeviceState | valueOf (String name) |
static final TestDeviceState[] | values () |
枚舉值
快速啟動
public static final TestDeviceState FASTBOOT
快速啟動
public static final TestDeviceState FASTBOOTD
通過 `adb reboot fastboot` 的 is-userspace = true 的 fastbootd 模式
無法使用
public static final TestDeviceState NOT_AVAILABLE
在線的
public static final TestDeviceState ONLINE
恢復
public static final TestDeviceState RECOVERY
公共方法
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-04-28 (世界標準時間)。
[{
"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":"其他"
}]