Receptor de registros

public class LogReceiver
extends Object

java.lang.Objeto
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

Receptor de registros

public LogReceiver (ITestDevice device, 
                String cmd, 
                String desc)

Parámetros
device ITestDevice

cmd String

desc String

Receptor de registros

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 ()

obtener datos

public InputStreamSource getData ()

Devoluciones
InputStreamSource

obtenerDescriptor

public String getDescriptor ()

Devoluciones
String

obtenerLogcatData

public InputStreamSource getLogcatData (int maxBytes)

Parámetros
maxBytes int

Devoluciones
InputStreamSource

publicar registro

public void postLog (ITestInvocationListener listener)

Parámetros
listener ITestInvocationListener

comenzar

public void start ()

detener

public void stop ()