PocPusher

public class PocPusher
extends TestWatcher

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


Narzędzia do przesyłania natywnej wersji pliku wykonywalnego PoC na urządzenie

Podsumowanie

Fieldsem

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

Konstruktory publiczne

PocPusher()

Metody publiczne

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)

Chronione metody

void finished(Description d)
void starting(Description d)

Fieldsem

appendBitness

public boolean appendBitness

bitness32

public boolean bitness32

bitness64

public boolean bitness64

czyszczenie

public boolean cleanup

Konstruktory publiczne

PocPusher

public PocPusher ()

Metody publiczne

appendBitness

public PocPusher appendBitness (boolean append)

Parametry
append boolean

Zwroty
PocPusher

bothBitness

public PocPusher bothBitness ()

Zwroty
PocPusher

czyszczenie

public PocPusher cleanup (boolean cleanup)

Parametry
cleanup boolean

Zwroty
PocPusher

only32

public PocPusher only32 ()

Zwroty
PocPusher

only64

public PocPusher only64 ()

Zwroty
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

Parametry
testFile String

remoteFile String

Rzuty
FileNotFoundException
DeviceNotAvailableException

setAbi

public PocPusher setAbi (IAbi abi)

Parametry
abi IAbi

Zwroty
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

Parametry
buildInfo IBuildInfo

Zwroty
PocPusher

setDevice

public PocPusher setDevice (ITestDevice device)

Parametry
device ITestDevice

Zwroty
PocPusher

Chronione metody

gotowe

protected void finished (Description d)

Parametry
d Description

uruchamianie

protected void starting (Description d)

Parametry
d Description