2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
NativePocCrashAsserter
public
class
NativePocCrashAsserter
extends Object
implements
NativePocAsserter
java.lang.Object
|
↳ |
com.android.sts.common.NativePocCrashAsserter
|
概要
パブリック メソッド
assertNoCrash
public static NativePocAsserter assertNoCrash ()
Poc にセキュリティ クラッシュがないことを確認する NativePocAsserter を返します。
assertNoCrash
public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)
指定された TombstoneUtils.Config に従って、セキュリティ クラッシュが検出されないことを確認する NativePocAsserter を返します。
パラメータ |
config |
TombstoneUtils.Config |
assertNoCrashIn
public static NativePocAsserter assertNoCrashIn (String... patterns)
一覧表示されたプロセスでセキュリティ クラッシュがないか確認する NativePocAsserter を返します。
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
PoC の実行前に呼び出され、PoC の完了後に閉じる AutoCloseable を返します。
パラメータ |
nativePoc |
NativePoc |
device |
ITestDevice |
例外 |
DeviceNotAvailableException |
|
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-03-26 UTC。
[null,null,["最終更新日 2025-03-26 UTC。"],[],[]]