PocPusher

public class PocPusher
extends TestWatcher

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


Utilitários para enviar um executável PoC nativo para o dispositivo

Resumo

Campos

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

Construtores 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

limpeza

public boolean cleanup

Construtores públicos

PocPusher

public PocPusher ()

Métodos públicos

anexoBitness

public PocPusher appendBitness (boolean append)

Parâmetros
append boolean

Retorna
PocPusher

TantoBitness

public PocPusher bothBitness ()

Retorna
PocPusher

limpeza

public PocPusher cleanup (boolean cleanup)

Parâmetros
cleanup boolean

Retorna
PocPusher

apenas 32

public PocPusher only32 ()

Retorna
PocPusher

apenas64

public PocPusher only64 ()

Retorna
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

Parâmetros
testFile String

remoteFile String

Gera
FileNotFoundException
DeviceNotAvailableException

SetAbi

public PocPusher setAbi (IAbi abi)

Parâmetros
abi IAbi

Retorna
PocPusher

SetBuild

public PocPusher setBuild (IBuildInfo buildInfo)

Parâmetros
buildInfo IBuildInfo

Retorna
PocPusher

Definir dispositivo

public PocPusher setDevice (ITestDevice device)

Parâmetros
device ITestDevice

Retorna
PocPusher

Métodos protegidos

concluída

protected void finished (Description d)

Parâmetros
d Description

iniciando

protected void starting (Description d)

Parâmetros
d Description