ILogcat接收器
public interface ILogcatReceiver
com.android.tradefed.device.ILogcatReceiver |
一个类,提供设备logcat的输出作为InputStreamSource
。
概括
公开方法
清除
public abstract void clear ()
getLogcatData
public InputStreamSource getLogcatData (int maxBytes,
int offset)
返回给定偏移量的当前logcat缓冲区。
参数 |
---|
maxBytes | int :返回的缓冲区的最大大小 |
offset | int :完整缓冲区的偏移量。 |
退货 |
---|
InputStreamSource | logcat缓冲区从偏移量开始。 |
getLogcatData
public abstract InputStreamSource getLogcatData (int maxBytes)
getLogcatData
public abstract InputStreamSource getLogcatData ()
开始
public abstract void start ()