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 กับ PoC และตรวจสอบข้อผิดพลาดในการดีบัก malloc ขณะที่ poc ทำงาน
พารามิเตอร์ |
---|
options | String |
assertNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
ส่งกลับ NativePocAsserter ที่ติดดีบัก libc malloc กับบริการก่อนเรียกใช้ PoC และตรวจหาข้อผิดพลาดในการดีบัก malloc บนบริการนั้นในขณะที่ poc ทำงานอยู่
พารามิเตอร์ |
---|
options | String |
service | String |
พร้อมปิดอัตโนมัติ
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
เรียกก่อนที่ PoC จะทำงาน ส่งคืน AutoCloseable ที่ปิดหลังจาก PoC เสร็จสิ้น
พารามิเตอร์ |
---|
nativePoc | NativePoc |
device | ITestDevice |