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

start

public void start ()

경유

public void stop ()