NativePocMallocDebugAsserter
public class NativePocMallocDebugAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocMallocDebugAsserter |
概要
公開メソッド
assertNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
libc malloc デバッグを PoC にアタッチし、poc の実行中に malloc デバッグ エラーをチェックする NativePocAsserter を返します。
assertNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
PoC を実行する前に libc malloc デバッグをサービスにアタッチし、poc の実行中にそのサービスの malloc デバッグ エラーをチェックする NativePocAsserter を返します。
パラメーター |
---|
options | String |
service | String |
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
PoC の実行前に呼び出され、PoC の終了後に閉じる AutoCloseable を返します
パラメーター |
---|
nativePoc | NativePoc |
device | ITestDevice |