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) PoC'ye libc malloc hata ayıklamasını ekleyen bir NativePocAsserter döndürür ve poc çalışırken herhangi bir malloc hata ayıklama hatasını kontrol eder. |
static NativePocAsserter | assertNoMallocDebugErrorOnService (String options, String service) PoC'yi çalıştırmadan önce bir hizmete libc malloc hata ayıklamasını ekleyen bir NativePocAsserter döndürür ve poc çalışırken bu hizmette herhangi bir malloc hata ayıklama hatası olup olmadığını kontrol eder. |
AutoCloseable | withAutoCloseable ( NativePoc nativePoc, ITestDevice device) PoC çalıştırılmadan önce çağrılır ve PoC bittikten sonra kapanan bir AutoCloseable döndürür |
Genel yöntemler
iddiaNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
PoC'ye libc malloc hata ayıklamasını ekleyen bir NativePocAsserter döndürür ve poc çalışırken herhangi bir malloc hata ayıklama hatasını kontrol eder.
Parametreler |
---|
options | String |
iddiaNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
PoC'yi çalıştırmadan önce bir hizmete libc malloc hata ayıklamasını ekleyen bir NativePocAsserter döndürür ve poc çalışırken bu hizmette herhangi bir malloc hata ayıklama hatası olup olmadığını kontrol eder.
Parametreler |
---|
options | String |
service | String |
Otomatik Kapatılabilir
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
PoC çalıştırılmadan önce çağrılır ve PoC bittikten sonra kapanan bir AutoCloseable döndürür
Parametreler |
---|
nativePoc | NativePoc |
device | ITestDevice |