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 ()
停
public abstract void stop ()