Destinatario log
public
class
LogReceiver
extends Object
java.lang.Object | |
🎞 | com.android.tradefed.log.LogReceiver |
Riepilogo
Costruttori pubblici | |
---|---|
LogReceiver(ITestDevice device, String cmd, String desc)
|
|
LogReceiver(ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
|
Metodi pubblici | |
---|---|
void
|
clear()
|
InputStreamSource
|
getData()
|
String
|
getDescriptor()
|
InputStreamSource
|
getLogcatData(int maxBytes)
|
void
|
postLog(ITestInvocationListener listener)
|
void
|
start()
|
void
|
stop()
|
Costruttori pubblici
Destinatario log
public LogReceiver (ITestDevice device, String cmd, String desc)
Parametri | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
Destinatario log
public LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
Parametri | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
logcat_size |
long |
delay_secs |
int |
Metodi pubblici
cancella
public void clear ()
getDescriptor
public String getDescriptor ()
Ritorni | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
Parametri | |
---|---|
maxBytes |
int |
Ritorni | |
---|---|
InputStreamSource |
postLog
public void postLog (ITestInvocationListener listener)
Parametri | |
---|---|
listener |
ITestInvocationListener |
partenza
public void start ()
Scalo
public void stop ()