波克推手

public class PocPusher
extends TestWatcher

java.lang.Object
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)

領域

追加位數

public boolean appendBitness

位數32

public boolean bitness32

位數64

public boolean bitness64

清理

public boolean cleanup

公共構造函數

波克推手

public PocPusher ()

公共方法

追加位數

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

推播檔案

public void pushFile (String testFile, 
                String remoteFile)

參數
testFile String

remoteFile String

投擲
FileNotFoundException
DeviceNotAvailableException

設定阿比

public PocPusher setAbi (IAbi abi)

參數
abi IAbi

退貨
PocPusher

設定建置

public PocPusher setBuild (IBuildInfo buildInfo)

參數
buildInfo IBuildInfo

退貨
PocPusher

設定設備

public PocPusher setDevice (ITestDevice device)

參數
device ITestDevice

退貨
PocPusher

受保護的方法

完成的

protected void finished (Description d)

參數
d Description

開始

protected void starting (Description d)

參數
d Description