Odbiornik dziennika

public class LogReceiver
extends Object

Obiekt Java.lang.Object
com.android.tradefed.log.LogReceiver


Streszczenie

Konstruktorzy publiczni

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

Metody publiczne

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

Konstruktorzy publiczni

Odbiornik dziennika

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

Parametry
device ITestDevice

cmd String

desc String

Odbiornik dziennika

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

Parametry
device ITestDevice

cmd String

desc String

logcat_size long

delay_secs int

Metody publiczne

jasne

public void clear ()

otrzymać dane

public InputStreamSource getData ()

Zwroty
InputStreamSource

pobierzDescriptor

public String getDescriptor ()

Zwroty
String

pobierz dane Logcat

public InputStreamSource getLogcatData (int maxBytes)

Parametry
maxBytes int

Zwroty
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

Parametry
listener ITestInvocationListener

początek

public void start ()

zatrzymywać się

public void stop ()