PocPusher

public class PocPusher
extends TestWatcher

java.lang.object
org.junit.rules.TestWatcher
com.android.sts.common.PocPusher


ابزارهای کمکی برای کمک به ارسال یک PoC قابل اجرایی بومی به دستگاه

خلاصه

زمینه های

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

سازندگان عمومی

PocPusher ()

روش های عمومی

PocPusher appendBitness (boolean append)
PocPusher bothBitness ()
PocPusher cleanup (boolean cleanup)
PocPusher only32 ()
PocPusher only64 ()
void pushFile (String testFile, String remoteFile)
PocPusher setAbi (IAbi abi)
PocPusher setBuild (IBuildInfo buildInfo)
PocPusher setDevice (ITestDevice device)

روش های محافظت شده

void finished (Description d)
void starting (Description d)

زمینه های

appendBitness

public boolean appendBitness

بیتنس32

public boolean bitness32

بیتنس64

public boolean bitness64

پاک کردن

public boolean cleanup

سازندگان عمومی

PocPusher

public PocPusher ()

روش های عمومی

appendBitness

public PocPusher appendBitness (boolean append)

مولفه های
append boolean

برمی گرداند
PocPusher

هر دو بیتنس

public PocPusher bothBitness ()

برمی گرداند
PocPusher

پاک کردن

public PocPusher cleanup (boolean cleanup)

مولفه های
cleanup boolean

برمی گرداند
PocPusher

فقط 32

public PocPusher only32 ()

برمی گرداند
PocPusher

فقط 64

public PocPusher only64 ()

برمی گرداند
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

مولفه های
testFile String

remoteFile String

پرتاب می کند
FileNotFoundException
DeviceNotAvailableException

setAbi

public PocPusher setAbi (IAbi abi)

مولفه های
abi IAbi

برمی گرداند
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

مولفه های
buildInfo IBuildInfo

برمی گرداند
PocPusher

setDevice

public PocPusher setDevice (ITestDevice device)

مولفه های
device ITestDevice

برمی گرداند
PocPusher

روش های محافظت شده

تمام شده

protected void finished (Description d)

مولفه های
d Description

راه افتادن

protected void starting (Description d)

مولفه های
d Description