LogReceiver

public class LogReceiver
extends Object

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


Zusammenfassung

Öffentliche Konstruktoren

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

Öffentliche Methoden

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

Öffentliche Konstruktoren

LogReceiver

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

Parameter
device ITestDevice

cmd String

desc String

LogReceiver

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

Parameter
device ITestDevice

cmd String

desc String

logcat_size long

delay_secs int

Öffentliche Methoden

Löschen

public void clear ()

getData

public InputStreamSource getData ()

Returns
InputStreamSource

getDescriptor

public String getDescriptor ()

Returns
String

getLogcatData

public InputStreamSource getLogcatData (int maxBytes)

Parameter
maxBytes int

Returns
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

Parameter
listener ITestInvocationListener

start

public void start ()

Stopp

public void stop ()