NativePocMallocDebugAsserter

public class NativePocMallocDebugAsserter
extends Object implements NativePocAsserter

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


Özet

Genel yöntemler

static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)

libc malloc hata ayıklamasını PoC'ye ekleyen ve poc çalışırken herhangi bir malloc hata ayıklama hatası olup olmadığını kontrol eden bir NativePocAsserter döndürür.

static NativePocAsserter assertNoMallocDebugErrorOnService (String options, String service)

PoC'yi çalıştırmadan önce bir hizmete libc malloc hata ayıklaması ekleyen ve poc çalışırken bu hizmette herhangi bir malloc hata ayıklama hatası olup olmadığını kontrol eden bir NativePocAsserter döndürür.

AutoCloseable withAutoCloseable ( NativePoc nativePoc, ITestDevice device)

Bir PoC çalışmadan önce çağrılır, PoC bittikten sonra kapanan bir AutoCloseable döndürür

Genel yöntemler

iddiaNoMallocDebugErrorOnPoc

public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)

libc malloc hata ayıklamasını PoC'ye ekleyen ve poc çalışırken herhangi bir malloc hata ayıklama hatası olup olmadığını kontrol eden bir NativePocAsserter döndürür.

parametreler
options String

İadeler
NativePocAsserter

iddiaNoMallocDebugErrorOnService

public static NativePocAsserter assertNoMallocDebugErrorOnService (String options, 
                String service)

PoC'yi çalıştırmadan önce bir hizmete libc malloc hata ayıklaması ekleyen ve poc çalışırken bu hizmette herhangi bir malloc hata ayıklama hatası olup olmadığını kontrol eden bir NativePocAsserter döndürür.

parametreler
options String

service String

İadeler
NativePocAsserter

ile Otomatik Kapatılabilir

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Bir PoC çalışmadan önce çağrılır, PoC bittikten sonra kapanan bir AutoCloseable döndürür

parametreler
nativePoc NativePoc

device ITestDevice

İadeler
AutoCloseable

Atar
DeviceNotAvailableException
TimeoutException
ProcessUtil.KillException