Penerima Log
public
class
LogReceiver
extends Object
java.lang.Object | |
↳ | com.android.tradefed.log.LogReceiver |
Ringkasan
Konstruktor publik | |
---|---|
LogReceiver(ITestDevice device, String cmd, String desc)
|
|
LogReceiver(ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
|
Metode publik | |
---|---|
void
|
clear()
|
InputStreamSource
|
getData()
|
String
|
getDescriptor()
|
InputStreamSource
|
getLogcatData(int maxBytes)
|
void
|
postLog(ITestInvocationListener listener)
|
void
|
start()
|
void
|
stop()
|
Konstruktor publik
Penerima Log
public LogReceiver (ITestDevice device, String cmd, String desc)
Parameter | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
Penerima Log
public LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
Parameter | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
logcat_size |
long |
delay_secs |
int |
Metode publik
hapus
public void clear ()
getDescriptor
public String getDescriptor ()
Hasil | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
Parameter | |
---|---|
maxBytes |
int |
Hasil | |
---|---|
InputStreamSource |
logpos
public void postLog (ITestInvocationListener listener)
Parameter | |
---|---|
listener |
ITestInvocationListener |
start
public void start ()
berhenti
public void stop ()