NativePocCrashAsserter

public class NativePocCrashAsserter
extends Object implements NativePocAsserter

java.lang.Object
   ↳ com.android.sts.common.NativePocCrashAsserter


Tóm tắt

Phương thức công khai

static NativePocAsserter assertNoCrash()

Trả về một NativePocAsserter giúp đảm bảo Poc không gặp sự cố bảo mật.

static NativePocAsserter assertNoCrash(TombstoneUtils.Config config)

Trả về một NativePocAsserter đảm bảo không phát hiện thấy sự cố bảo mật theo TombstoneUtils.Config đã cho

static NativePocAsserter assertNoCrashIn(String... patterns)

Trả về một NativePocAsserter kiểm tra các quy trình được liệt kê để tìm bất kỳ sự cố bảo mật nào.

AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device)

Được gọi trước khi PoC chạy, trả về một AutoCloseable đóng sau khi PoC kết thúc

Phương thức công khai

assertNoCrash

public static NativePocAsserter assertNoCrash ()

Trả về một NativePocAsserter giúp đảm bảo Poc không gặp sự cố bảo mật.

Giá trị trả về
NativePocAsserter

assertNoCrash

public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)

Trả về một NativePocAsserter đảm bảo không phát hiện thấy sự cố bảo mật theo TombstoneUtils.Config đã cho

Tham số
config TombstoneUtils.Config

Giá trị trả về
NativePocAsserter

assertNoCrashIn

public static NativePocAsserter assertNoCrashIn (String... patterns)

Trả về một NativePocAsserter kiểm tra các quy trình được liệt kê để tìm bất kỳ sự cố bảo mật nào.

Tham số
patterns String

Giá trị trả về
NativePocAsserter

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Được gọi trước khi PoC chạy, trả về một AutoCloseable đóng sau khi PoC kết thúc

Tham số
nativePoc NativePoc

device ITestDevice

Giá trị trả về
AutoCloseable

Gửi
DeviceNotAvailableException