LogReceiver

public class LogReceiver
extends Object

java.lang.Object
com.android.tradefed.log.LogReceiver


Resumo

Construtoras públicas

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

Construtoras públicas

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

Claro

public void clear ()

adquirir dados

public InputStreamSource getData ()

Devoluções
InputStreamSource

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

Pare

public void stop ()