PocPusher
public
class
PocPusher
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.PocPusher |
Utilitas untuk membantu mengirim PoC native yang dapat dieksekusi ke perangkat
Ringkasan
Kolom | |
---|---|
public
boolean |
appendBitness
|
public
boolean |
bitness32
|
public
boolean |
bitness64
|
public
boolean |
cleanup
|
Konstruktor publik | |
---|---|
PocPusher()
|
Metode publik | |
---|---|
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)
|
Metode yang dilindungi | |
---|---|
void
|
finished(Description d)
|
void
|
starting(Description d)
|
Kolom
apendBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
pembersihan
public boolean cleanup
Konstruktor publik
PocPusher
public PocPusher ()
Metode publik
AppendBitness
public PocPusher appendBitness (boolean append)
Parameter | |
---|---|
append |
boolean |
Hasil | |
---|---|
PocPusher |
filepush
public void pushFile (String testFile, String remoteFile)
Parameter | |
---|---|
testFile |
String |
remoteFile |
String |
Menampilkan | |
---|---|
FileNotFoundException |
|
DeviceNotAvailableException |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Parameter | |
---|---|
buildInfo |
IBuildInfo |
Hasil | |
---|---|
PocPusher |
setelPerangkat
public PocPusher setDevice (ITestDevice device)
Parameter | |
---|---|
device |
ITestDevice |
Hasil | |
---|---|
PocPusher |
Metode yang dilindungi
selesai
protected void finished (Description d)
Parameter | |
---|---|
d |
Description |
memulai
protected void starting (Description d)
Parameter | |
---|---|
d |
Description |