Receptor de registro

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

Receptor de registro

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

Parâmetros
device ITestDevice

cmd String

desc String

Receptor de registro

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

limpar

public void clear ()

getData

public InputStreamSource getData ()

Retorna
InputStreamSource

getDescriptor

public String getDescriptor ()

Retorna
String

getLogcatData.

public InputStreamSource getLogcatData (int maxBytes)

Parâmetros
maxBytes int

Retorna
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

Parâmetros
listener ITestInvocationListener

start

public void start ()

parar

public void stop ()