PocPusher

public class PocPusher
extends TestWatcher

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


Utilità per aiutare a inviare un eseguibile PoC nativo al dispositivo

Riepilogo

Campi

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

Costruttori pubblici

PocPusher ()

Metodi pubblici

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)

Metodi protetti

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

Campi

appendBitness

public boolean appendBitness

testimonianza32

public boolean bitness32

testimonianza64

public boolean bitness64

pulire

public boolean cleanup

Costruttori pubblici

PocPusher

public PocPusher ()

Metodi pubblici

appendBitness

public PocPusher appendBitness (boolean append)

Parametri
append boolean

ritorna
PocPusher

entrambiTestimone

public PocPusher bothBitness ()

ritorna
PocPusher

pulire

public PocPusher cleanup (boolean cleanup)

Parametri
cleanup boolean

ritorna
PocPusher

solo32

public PocPusher only32 ()

ritorna
PocPusher

solo64

public PocPusher only64 ()

ritorna
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

Parametri
testFile String

remoteFile String

Getta
FileNotFoundException
DeviceNotAvailableException

setAbi

public PocPusher setAbi (IAbi abi)

Parametri
abi IAbi

ritorna
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

Parametri
buildInfo IBuildInfo

ritorna
PocPusher

setDispositivo

public PocPusher setDevice (ITestDevice device)

Parametri
device ITestDevice

ritorna
PocPusher

Metodi protetti

finito

protected void finished (Description d)

Parametri
d Description

di partenza

protected void starting (Description d)

Parametri
d Description