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 |
pushFile
public void pushFile (String testFile, String remoteFile)
Parâmetros | |
---|---|
testFile |
String |
remoteFile |
String |
Gera | |
---|---|
FileNotFoundException |
|
DeviceNotAvailableException |
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 |