Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-11-18 UTC."],[],[]]