PocPusher

public class PocPusher
extends TestWatcher

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


Utilidades para enviar un ejecutable de 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

appendBitness

public boolean appendBitness

bitness32

public boolean bitness32

bitness64

public boolean bitness64

limpieza

public boolean cleanup

Constructores públicos

PocPusher

public PocPusher ()

Métodos públicos

appendBitness

public PocPusher appendBitness (boolean append)

Parámetros
append boolean

Muestra
PocPusher

bothBitness

public PocPusher bothBitness ()

Muestra
PocPusher

limpieza

public PocPusher cleanup (boolean cleanup)

Parámetros
cleanup boolean

Muestra
PocPusher

only32

public PocPusher only32 ()

Muestra
PocPusher

only64

public PocPusher only64 ()

Muestra
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

Parámetros
testFile String

remoteFile String

Arroja
FileNotFoundException
DeviceNotAvailableException

setAbi

public PocPusher setAbi (IAbi abi)

Parámetros
abi IAbi

Muestra
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

Parámetros
buildInfo IBuildInfo

Muestra
PocPusher

setDevice

public PocPusher setDevice (ITestDevice device)

Parámetros
device ITestDevice

Muestra
PocPusher

Métodos protegidos

terminó operaciones

protected void finished (Description d)

Parámetros
d Description

Iniciando…

protected void starting (Description d)

Parámetros
d Description