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 ()
公共方法
pushFile
public void pushFile (String testFile,
String remoteFile)| 参数 | |
|---|---|
testFile |
String |
remoteFile |
String |
| 抛出 | |
|---|---|
FileNotFoundException |
|
DeviceNotAvailableException |
|
受保护的方法
已收市
protected void finished (Description d)
| 参数 | |
|---|---|
d |
Description |
开始录制
protected void starting (Description d)
| 参数 | |
|---|---|
d |
Description |