NativePocMallocDebugAsserter

public class NativePocMallocDebugAsserter
extends Object implements NativePocAsserter

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


Özet

Herkese açık yöntemler

static NativePocAsserter assertNoMallocDebugErrorOnPoc(String options)

PoC'ye libc malloc hata ayıklama özelliğini ekleyen ve PoC çalışırken 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 libc malloc hata ayıklama aracını bir hizmete 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ıştırılmadan önce çağrılır, PoC tamamlandıktan sonra kapanan bir AutoCloseable döndürür

Herkese açık yöntemler

assertNoMallocDebugErrorOnPoc

public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)

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

Parametreler
options String

İlerlemeler
NativePocAsserter

assertNoMallocDebugErrorOnService

public static NativePocAsserter assertNoMallocDebugErrorOnService (String options, 
                String service)

PoC'yi çalıştırmadan önce libc malloc hata ayıklama aracını bir hizmete 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

İlerlemeler
NativePocAsserter

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Bir PoC çalıştırılmadan önce çağrılır, PoC tamamlandıktan sonra kapanan bir AutoCloseable döndürür

Parametreler
nativePoc NativePoc

device ITestDevice

İlerlemeler
AutoCloseable

Atışlar
DeviceNotAvailableException
TimeoutException
ProcessUtil.KillException