LogReceiver

public class LogReceiver
extends Object

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


Sommario

Costruttori pubblici

LogReceiver (ITestDevice device, String cmd, String desc)
LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)

Metodi pubblici

void clear ()
InputStreamSource getData ()
String getDescriptor ()
InputStreamSource getLogcatData (int maxBytes)
void postLog (ITestInvocationListener listener)
void start ()
void stop ()

Costruttori pubblici

LogReceiver

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

Parametri
device ITestDevice

cmd String

desc String

LogReceiver

public LogReceiver (ITestDevice device, 
                String cmd, 
                String desc, 
                long logcat_size, 
                int delay_secs)

Parametri
device ITestDevice

cmd String

desc String

logcat_size long

delay_secs int

Metodi pubblici

chiaro

public void clear ()

getData

public InputStreamSource getData ()

ritorna
InputStreamSource

getDescriptor

public String getDescriptor ()

ritorna
String

getLogcatData

public InputStreamSource getLogcatData (int maxBytes)

Parametri
maxBytes int

ritorna
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

Parametri
listener ITestInvocationListener

inizio

public void start ()

fermare

public void stop ()