NativePocMallocDebugAsserter
public class NativePocMallocDebugAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocMallocDebugAsserter |
ملخص
الأساليب العامة |
---|
static NativePocAsserter | assertNoMallocDebugErrorOnPoc (String options) إرجاع NativePocAsserter الذي يرفق تصحيح أخطاء libc malloc إلى PoC ويتحقق من أي خطأ تصحيح malloc أثناء تشغيل poc. |
static NativePocAsserter | assertNoMallocDebugErrorOnService (String options, String service) إرجاع NativePocAsserter الذي يرفق تصحيح أخطاء libc malloc بإحدى الخدمات قبل تشغيل PoC والتحقق من وجود أي خطأ في تصحيح الأخطاء malloc على تلك الخدمة أثناء تشغيل poc. |
AutoCloseable | withAutoCloseable ( NativePoc nativePoc, ITestDevice device) يتم استدعاؤه قبل تشغيل PoC ، ويعيد AutoCloseable الذي يتم إغلاقه بعد انتهاء PoC |
الأساليب العامة
assertNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
إرجاع NativePocAsserter الذي يرفق تصحيح أخطاء libc malloc إلى PoC ويتحقق من أي خطأ تصحيح malloc أثناء تشغيل poc.
assertNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
إرجاع NativePocAsserter الذي يرفق تصحيح أخطاء libc malloc بإحدى الخدمات قبل تشغيل PoC والتحقق من وجود أي خطأ في تصحيح الأخطاء malloc على تلك الخدمة أثناء تشغيل poc.
المعلمات |
---|
options | String |
service | String |
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
يتم استدعاؤه قبل تشغيل PoC ، ويعيد AutoCloseable الذي يتم إغلاقه بعد انتهاء PoC
المعلمات |
---|
nativePoc | NativePoc |
device | ITestDevice |