LogReceiver
public
class
LogReceiver
extends Object
Objeto java.lang. | |
↳ | com.android.tradefed.log.LogReceiver |
Resumen
Constructores públicos | |
---|---|
LogReceiver(ITestDevice device, String cmd, String desc)
|
|
LogReceiver(ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
|
Métodos públicos | |
---|---|
void
|
clear()
|
InputStreamSource
|
getData()
|
String
|
getDescriptor()
|
InputStreamSource
|
getLogcatData(int maxBytes)
|
void
|
postLog(ITestInvocationListener listener)
|
void
|
start()
|
void
|
stop()
|
Constructores públicos
LogReceiver
public LogReceiver (ITestDevice device, String cmd, String desc)
Parámetros | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
LogReceiver
public LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
Parámetros | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
logcat_size |
long |
delay_secs |
int |
Métodos públicos
borrar
public void clear ()
getDescriptor.
public String getDescriptor ()
Muestra | |
---|---|
String |
getLogcatData.
public InputStreamSource getLogcatData (int maxBytes)
Parámetros | |
---|---|
maxBytes |
int |
Muestra | |
---|---|
InputStreamSource |
postLog
public void postLog (ITestInvocationListener listener)
Parámetros | |
---|---|
listener |
ITestInvocationListener |
start
public void start ()
escala
public void stop ()