LogReceptor
public class LogReceiver
extends Object
java.lang.Object | |
↳ | com.android.tradefed.log.LogReceiver |
Resumo
Construtores 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 () |
Construtores públicos
LogReceptor
public LogReceiver (ITestDevice device, String cmd, String desc)
Parâmetros | |
---|---|
device | ITestDevice |
cmd | String |
desc | String |
LogReceptor
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
claro
public void clear ()
getDescriptor
public String getDescriptor ()
Devoluções | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
Parâmetros | |
---|---|
maxBytes | int |
Devoluções | |
---|---|
InputStreamSource |
postLog
public void postLog (ITestInvocationListener listener)
Parâmetros | |
---|---|
listener | ITestInvocationListener |
começar
public void start ()
parar
public void stop ()