NativePocMallocDebugAsserter

public class NativePocMallocDebugAsserter
extends Object implements NativePocAsserter

java.lang.Objek
com.android.sts.common.NativePocMallocDebugAsserter


Ringkasan

Metode publik

static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)

Mengembalikan NativePocAsserter yang melampirkan debug libc malloc ke PoC dan memeriksa kesalahan debug malloc saat poc berjalan.

static NativePocAsserter assertNoMallocDebugErrorOnService (String options, String service)

Mengembalikan NativePocAsserter yang melampirkan debug libc malloc ke layanan sebelum menjalankan PoC dan memeriksa kesalahan debug malloc pada layanan tersebut saat poc berjalan.

AutoCloseable withAutoCloseable ( NativePoc nativePoc, ITestDevice device)

Dipanggil sebelum PoC dijalankan, mengembalikan AutoCloseable yang ditutup setelah PoC selesai

Metode publik

menegaskanNoMallocDebugErrorOnPoc

public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)

Mengembalikan NativePocAsserter yang melampirkan debug libc malloc ke PoC dan memeriksa kesalahan debug malloc saat poc berjalan.

Parameter
options String

Kembali
NativePocAsserter

menegaskanNoMallocDebugErrorOnService

public static NativePocAsserter assertNoMallocDebugErrorOnService (String options, 
                String service)

Mengembalikan NativePocAsserter yang melampirkan debug libc malloc ke layanan sebelum menjalankan PoC dan memeriksa kesalahan debug malloc pada layanan tersebut saat poc berjalan.

Parameter
options String

service String

Kembali
NativePocAsserter

denganAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Dipanggil sebelum PoC dijalankan, mengembalikan AutoCloseable yang ditutup setelah PoC selesai

Parameter
nativePoc NativePoc

device ITestDevice

Kembali
AutoCloseable

Melempar
DeviceNotAvailableException
TimeoutException
ProcessUtil.KillException