PocPusher

public class PocPusher
extends TestWatcher

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


Utilidades para ayudar a enviar un ejecutable PoC nativo al dispositivo

Resumen

Campos

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

Constructores públicos

PocPusher ()

Métodos públicos

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)

Métodos protegidos

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

Campos

agregarBitness

public boolean appendBitness

bitness32

public boolean bitness32

bitness64

public boolean bitness64

limpiar

public boolean cleanup

Constructores públicos

PocPusher

public PocPusher ()

Métodos públicos

agregarBitness

public PocPusher appendBitness (boolean append)

Parámetros
append boolean

Devoluciones
PocPusher

ambos Bitness

public PocPusher bothBitness ()

Devoluciones
PocPusher

limpiar

public PocPusher cleanup (boolean cleanup)

Parámetros
cleanup boolean

Devoluciones
PocPusher

solo32

public PocPusher only32 ()

Devoluciones
PocPusher

solo64

public PocPusher only64 ()

Devoluciones
PocPusher

empujar archivo

public void pushFile (String testFile, 
                String remoteFile)

Parámetros
testFile String

remoteFile String

Lanza
FileNotFoundException
DeviceNotAvailableException

conjuntoAbi

public PocPusher setAbi (IAbi abi)

Parámetros
abi IAbi

Devoluciones
PocPusher

establecerConstruir

public PocPusher setBuild (IBuildInfo buildInfo)

Parámetros
buildInfo IBuildInfo

Devoluciones
PocPusher

establecer dispositivo

public PocPusher setDevice (ITestDevice device)

Parámetros
device ITestDevice

Devoluciones
PocPusher

Métodos protegidos

finalizado

protected void finished (Description d)

Parámetros
d Description

a partir de

protected void starting (Description d)

Parámetros
d Description