Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。
取り組みを見る
DeviceStorageStatusChecker
public class DeviceStorageStatusChecker
extends Object
implements ISystemStatusChecker
java.lang.Object |
↳ | com.android.tradefed.suite.checker.DeviceStorageStatusChecker |
指定されたパーティションに対してデバイスに十分なディスク容量があるかどうかを確認します。
概要
パブリックコンストラクター
DeviceStorageStatusChecker
public DeviceStorageStatusChecker ()
パブリックメソッド
preExecutionCheck
public StatusCheckerResult preExecutionCheck (ITestDevice device)
テストモジュールを実行する前に、システムの状態を確認してください。ここでチェックが必要な場合は、サブクラスでこのメソッドをオーバーライドする必要があります。実装は、ステータスチェックが成功したか失敗したかを示すboolean
値を返す必要があります。
モジュールの実行後にシステムステータスを確認することを強くお勧めします。この方法は、モジュールの実行前に特定のシステム状態をキャッシュする目的で使用できます。
投げる |
---|
DeviceNotAvailableException | |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-09-08 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":"その他"
}]