Odbiornik logów

public class LogReceiver
extends Object

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


Podsumowanie

Konstruktory publiczne

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

Konstruktory publiczne

Odbiornik logów

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

Parametry
device ITestDevice

cmd String

desc String

Odbiornik logów

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

wyczyść

public void clear ()

getData

public InputStreamSource getData ()

Zwroty
InputStreamSource

getDescriptor,

public String getDescriptor ()

Zwroty
String

getLogcatData

public InputStreamSource getLogcatData (int maxBytes)

Parametry
maxBytes int

Zwroty
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

Parametry
listener ITestInvocationListener

rozpocznij

public void start ()

zatrzymaj

public void stop ()