PocPusher

public class PocPusher
extends TestWatcher

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


Narzędzia ułatwiające przesyłanie natywnego pliku wykonywalnego PoC do urządzenia

Streszczenie

Pola

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)

Metody chronione

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

Pola

dołączBitowość

public boolean appendBitness

zjadliwość32

public boolean bitness32

zjadliwość64

public boolean bitness64

sprzątać

public boolean cleanup

Konstruktory publiczne

PocPusher

public PocPusher ()

Metody publiczne

dołączBitowość

public PocPusher appendBitness (boolean append)

Parametry
append boolean

Zwroty
PocPusher

obaBitness

public PocPusher bothBitness ()

Zwroty
PocPusher

sprzątać

public PocPusher cleanup (boolean cleanup)

Parametry
cleanup boolean

Zwroty
PocPusher

tylko32

public PocPusher only32 ()

Zwroty
PocPusher

tylko64

public PocPusher only64 ()

Zwroty
PocPusher

pushPlik

public void pushFile (String testFile, 
                String remoteFile)

Parametry
testFile String

remoteFile String

Rzuty
FileNotFoundException
DeviceNotAvailableException

ustaw Abi

public PocPusher setAbi (IAbi abi)

Parametry
abi IAbi

Zwroty
PocPusher

zestawBuduj

public PocPusher setBuild (IBuildInfo buildInfo)

Parametry
buildInfo IBuildInfo

Zwroty
PocPusher

ustaw urządzenie

public PocPusher setDevice (ITestDevice device)

Parametry
device ITestDevice

Zwroty
PocPusher

Metody chronione

skończone

protected void finished (Description d)

Parametry
d Description

startowy

protected void starting (Description d)

Parametry
d Description