Покпушер

public class PocPusher
extends TestWatcher

java.lang.Объект
org.junit.rules.TestWatcher
com.android.sts.common.PocPusher


Утилиты, помогающие отправить исполняемый файл PoC на устройство

Резюме

Поля

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

Публичные конструкторы

PocPusher ()

Публичные методы

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)

Защищенные методы

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

Поля

appendBitness

public boolean appendBitness

разрядность32

public boolean bitness32

разрядность64

public boolean bitness64

уборка

public boolean cleanup

Публичные конструкторы

Покпушер

public PocPusher ()

Публичные методы

appendBitness

public PocPusher appendBitness (boolean append)

Параметры
append boolean

Возвращает
PocPusher

оба бита

public PocPusher bothBitness ()

Возвращает
PocPusher

уборка

public PocPusher cleanup (boolean cleanup)

Параметры
cleanup boolean

Возвращает
PocPusher

только32

public PocPusher only32 ()

Возвращает
PocPusher

только64

public PocPusher only64 ()

Возвращает
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

Параметры
testFile String

remoteFile String

Броски
FileNotFoundException
DeviceNotAvailableException

сетАби

public PocPusher setAbi (IAbi abi)

Параметры
abi IAbi

Возвращает
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

Параметры
buildInfo IBuildInfo

Возвращает
PocPusher

setDevice

public PocPusher setDevice (ITestDevice device)

Параметры
device ITestDevice

Возвращает
PocPusher

Защищенные методы

законченный

protected void finished (Description d)

Параметры
d Description

начиная

protected void starting (Description d)

Параметры
d Description