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). |
الأساليب العامة
AssurerNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
إرجاع NativePocAsserter الذي يربط تصحيح أخطاء libc malloc بـ PoC ويتحقق من وجود أي خطأ في تصحيح أخطاء malloc أثناء تشغيل poc.
AssurerNoMallocDebugErrorOnService
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 |