ปุชเชอร์

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

TwoBitness

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

SetAbi

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