PocPusher

public class PocPusher
extends TestWatcher

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


Narzędzia pomagające przesyłać natywny plik wykonywalny PoC na urządzenie

Streszczenie

Pola

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

Konstruktorzy publiczni

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łączBitness

public boolean appendBitness

bitowość32

public boolean bitness32

bitowość64

public boolean bitness64

posprzątać

public boolean cleanup

Konstruktorzy publiczni

PocPusher

public PocPusher ()

Metody publiczne

dołączBitness

public PocPusher appendBitness (boolean append)

Parametry
append boolean

Zwroty
PocPusher

obaBitness

public PocPusher bothBitness ()

Zwroty
PocPusher

posprzątać

public PocPusher cleanup (boolean cleanup)

Parametry
cleanup boolean

Zwroty
PocPusher

tylko32

public PocPusher only32 ()

Zwroty
PocPusher

tylko64

public PocPusher only64 ()

Zwroty
PocPusher

plik push

public void pushFile (String testFile, 
                String remoteFile)

Parametry
testFile String

remoteFile String

Rzuca
FileNotFoundException
DeviceNotAvailableException

ustawAbi

public PocPusher setAbi (IAbi abi)

Parametry
abi IAbi

Zwroty
PocPusher

setBuild

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