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 malloc libc ke PoC dan memeriksa kesalahan debug malloc saat poc berjalan.

static NativePocAsserter assertNoMallocDebugErrorOnService (String options, String service)

Mengembalikan NativePocAsserter yang melampirkan debug malloc libc 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 berjalan, menampilkan AutoCloseable yang ditutup setelah PoC selesai

Metode publik

menegaskanNoMallocDebugErrorOnPoc

public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)

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

Parameter
options String

Pengembalian
NativePocAsserter

assertNoMallocDebugErrorOnService

public static NativePocAsserter assertNoMallocDebugErrorOnService (String options, 
                String service)

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

Parameter
options String

service String

Pengembalian
NativePocAsserter

dengan AutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Dipanggil sebelum PoC berjalan, menampilkan AutoCloseable yang ditutup setelah PoC selesai

Parameter
nativePoc NativePoc

device ITestDevice

Pengembalian
AutoCloseable

Melempar
DeviceNotAvailableException
TimeoutException
ProcessUtil.KillException