PocPusher
public
class
PocPusher
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.PocPusher |
Các tiện ích giúp đẩy tệp thực thi PoC gốc đến thiết bị
Tóm tắt
Trường | |
---|---|
public
boolean |
appendBitness
|
public
boolean |
bitness32
|
public
boolean |
bitness64
|
public
boolean |
cleanup
|
Hàm khởi tạo công khai | |
---|---|
PocPusher()
|
Phương thức công khai | |
---|---|
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)
|
Phương thức được bảo vệ | |
---|---|
void
|
finished(Description d)
|
void
|
starting(Description d)
|
Trường
appendBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
dọn dẹp
public boolean cleanup
Hàm khởi tạo công khai
PocPusher
public PocPusher ()
Phương thức công khai
appendBitness
public PocPusher appendBitness (boolean append)
Tham số | |
---|---|
append |
boolean |
Giá trị trả về | |
---|---|
PocPusher |
pushFile
public void pushFile (String testFile, String remoteFile)
Tham số | |
---|---|
testFile |
String |
remoteFile |
String |
Gửi | |
---|---|
FileNotFoundException |
|
DeviceNotAvailableException |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Tham số | |
---|---|
buildInfo |
IBuildInfo |
Giá trị trả về | |
---|---|
PocPusher |
setDevice
public PocPusher setDevice (ITestDevice device)
Tham số | |
---|---|
device |
ITestDevice |
Giá trị trả về | |
---|---|
PocPusher |
Phương thức được bảo vệ
đã hoàn tất
protected void finished (Description d)
Tham số | |
---|---|
d |
Description |
đang bắt đầu
protected void starting (Description d)
Tham số | |
---|---|
d |
Description |