PocPusher

public class PocPusher
extends TestWatcher

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


Utilidades para ayudar a 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

anexoBitness

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

anexoBitness

public PocPusher appendBitness (boolean append)

Parámetros
append boolean

Muestra
PocPusher

ambosBitness

public PocPusher bothBitness ()

Muestra
PocPusher

limpieza

public PocPusher cleanup (boolean cleanup)

Parámetros
cleanup boolean

Muestra
PocPusher

solo32

public PocPusher only32 ()

Muestra
PocPusher

solo64

public PocPusher only64 ()

Muestra
PocPusher

Archivo push

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