PocPusher
public
class
PocPusher
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.PocPusher |
Utilità per facilitare il trasferimento di un file eseguibile PoC nativo sul dispositivo
Riepilogo
Campi | |
---|---|
public
boolean |
appendBitness
|
public
boolean |
bitness32
|
public
boolean |
bitness64
|
public
boolean |
cleanup
|
Costruttori pubblici | |
---|---|
PocPusher()
|
Metodi pubblici | |
---|---|
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)
|
Metodi protetti | |
---|---|
void
|
finished(Description d)
|
void
|
starting(Description d)
|
Campi
appendBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
pulizia
public boolean cleanup
Costruttori pubblici
PocPusher
public PocPusher ()
Metodi pubblici
appendBitness
public PocPusher appendBitness (boolean append)
Parametri | |
---|---|
append |
boolean |
Ritorni | |
---|---|
PocPusher |
pushFile
public void pushFile (String testFile, String remoteFile)
Parametri | |
---|---|
testFile |
String |
remoteFile |
String |
Lanci | |
---|---|
FileNotFoundException |
|
DeviceNotAvailableException |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Parametri | |
---|---|
buildInfo |
IBuildInfo |
Ritorni | |
---|---|
PocPusher |
setDevice
public PocPusher setDevice (ITestDevice device)
Parametri | |
---|---|
device |
ITestDevice |
Ritorni | |
---|---|
PocPusher |
Metodi protetti
ha chiuso il mercato
protected void finished (Description d)
Parametri | |
---|---|
d |
Description |
avvio in corso...
protected void starting (Description d)
Parametri | |
---|---|
d |
Description |