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