コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
DeviceStateMonitor
public class DeviceStateMonitor
extends NativeDeviceStateMonitor
IDevice
の状態を監視するためのヘルパー クラス。
まとめ
パブリック コンストラクター
DeviceStateMonitor
public DeviceStateMonitor (IDeviceManager mgr,
IDevice device,
boolean fastbootEnabled)
パラメーター |
---|
mgr | IDeviceManager |
device | IDevice |
fastbootEnabled | boolean |
保護されたメソッド
postOnlineCheck
protected boolean postOnlineCheck (long waitTime)
オンライン デバイスで実行する追加のチェック
パラメーター |
---|
waitTime | long : あきらめるまでのミリ秒単位の時間 |
戻り値 |
---|
boolean | waitTime が期限切れになる前にチェックが成功した場合はtrue 。それ以外の場合はfalse |
waitForPmResponsive
protected boolean waitForPmResponsive (long waitTime)
デバイス パッケージ マネージャーが応答するまで待機します。
パラメーター |
---|
waitTime | long : あきらめるまでのミリ秒単位の時間 |
戻り値 |
---|
boolean | waitTime が期限切れになる前にパッケージ管理が応答する場合はtrue 。それ以外の場合はfalse |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2023-03-30 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":"その他"
}]