PocPusher

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)

フィールド

appendBitness

public boolean appendBitness

bitness32

public boolean bitness32

bitness64

public boolean bitness64

クリーンアップ

public boolean cleanup

パブリック コンストラクタ

PocPusher

public PocPusher ()

パブリック メソッド

appendBitness

public PocPusher appendBitness (boolean append)

パラメータ
append boolean

戻り値
PocPusher

bothBitness

public PocPusher bothBitness ()

戻り値
PocPusher

クリーンアップ

public PocPusher cleanup (boolean cleanup)

パラメータ
cleanup boolean

戻り値
PocPusher

only32

public PocPusher only32 ()

戻り値
PocPusher

only64

public PocPusher only64 ()

戻り値
PocPusher

pushFile

public void pushFile (String testFile, 
                String remoteFile)

パラメータ
testFile String

remoteFile String

例外
FileNotFoundException
DeviceNotAvailableException

setAbi

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