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