LogReceiver

public class LogReceiver
extends Object

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


סיכום

בנאים ציבוריים

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

שיטות ציבוריות

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

בנאים ציבוריים

LogReceiver

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

פרמטרים
device ITestDevice

cmd String

desc String

LogReceiver

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

פרמטרים
device ITestDevice

cmd String

desc String

logcat_size long

delay_secs int

שיטות ציבוריות

ברור

public void clear ()

getData

public InputStreamSource getData ()

החזרות
InputStreamSource

getDescriptor

public String getDescriptor ()

החזרות
String

getLogcatData

public InputStreamSource getLogcatData (int maxBytes)

פרמטרים
maxBytes int

החזרות
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

פרמטרים
listener ITestInvocationListener

הַתחָלָה

public void start ()

תפסיק

public void stop ()