NativePocMallocDebugAsserter
public class NativePocMallocDebugAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocMallocDebugAsserter |
סיכום
שיטות ציבוריות
assertNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
מחזירה NativePocAsserter שמחבר את libc malloc debug ל-PoC ובודק כל שגיאת malloc debug בזמן שה-poc פועל.
assertNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
מחזירה NativePocAsserter שמצרף libc malloc debug לשירות לפני הפעלת ה-PoC ובודק כל שגיאת malloc באגים בשירות זה בזמן שה-poc פועל.
פרמטרים |
---|
options | String |
service | String |
עם סגירה אוטומטית
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
נקרא לפני הפעלת PoC, מחזיר סגירה אוטומטית שנסגרת לאחר שה-PoC מסתיים
פרמטרים |
---|
nativePoc | NativePoc |
device | ITestDevice |