NativePocCrashAsserter
public
class
NativePocCrashAsserter
extends Object
implements
NativePocAsserter
java.lang.Object
|
↳ |
com.android.sts.common.NativePocCrashAsserter
|
Summary
Public methods
assertNoCrash
public static NativePocAsserter assertNoCrash ()
Returns a NativePocAsserter that makes sure the Poc does not have a security crash.
assertNoCrash
public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)
Returns a NativePocAsserter that makes sure there is no security crash detected accoridng to
the given TombstoneUtils.Config
Parameters |
config |
TombstoneUtils.Config |
assertNoCrashIn
public static NativePocAsserter assertNoCrashIn (String... patterns)
Returns a NativePocAsserter that checks the listed processes for any security crashes.
Parameters |
patterns |
String |
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
Called before a PoC runs, returns an AutoCloseable that closes after the PoC finishes
Parameters |
nativePoc |
NativePoc |
device |
ITestDevice |
Throws |
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 2022-11-18 UTC.
[null,null,["Last updated 2022-11-18 UTC."],[],[]]