PocPusherGenericName

public class PocPusher
extends TestWatcher

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


Utilitários para ajudar a 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

appendBitness

public boolean appendBitness

bitness32

public boolean bitness32

bitness64

public boolean bitness64

limpar

public boolean cleanup

Construtores públicos

PocPusherGenericName

public PocPusher ()

Métodos públicos

appendBitness

public PocPusher appendBitness (boolean append)

Parâmetros
append boolean

devoluções
PocPusher

ambosBitness

public PocPusher bothBitness ()

devoluções
PocPusher

limpar

public PocPusher cleanup (boolean cleanup)

Parâmetros
cleanup boolean

devoluções
PocPusher

apenas32

public PocPusher only32 ()

devoluções
PocPusher

apenas64

public PocPusher only64 ()

devoluções
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

Parâmetros
testFile String

remoteFile String

lances
FileNotFoundException
DeviceNotAvailableException

setAbi

public PocPusher setAbi (IAbi abi)

Parâmetros
abi IAbi

devoluções
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

Parâmetros
buildInfo IBuildInfo

devoluções
PocPusher

setDevice

public PocPusher setDevice (ITestDevice device)

Parâmetros
device ITestDevice

devoluções
PocPusher

Métodos protegidos

finalizado

protected void finished (Description d)

Parâmetros
d Description

iniciando

protected void starting (Description d)

Parâmetros
d Description