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)

필드

추가 비트

public boolean appendBitness

비트니스32

public boolean bitness32

비트니스64

public boolean bitness64

대청소

public boolean cleanup

공개 생성자

PocPusher

public PocPusher ()

공개 메소드

추가 비트

public PocPusher appendBitness (boolean append)

매개변수
append boolean

보고
PocPusher

둘 다Bitness

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

setAbi

public PocPusher setAbi (IAbi abi)

매개변수
abi IAbi

보고
PocPusher

세트빌드

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