ILogcatReceiver

public interface ILogcatReceiver

com.android.tradefed.device.ILogcatReceiver


デバイスの logcat の出力をInputStreamSourceとして提供するクラス。

まとめ

パブリックメソッド

abstract void clear ()
default InputStreamSource getLogcatData (int maxBytes, int offset)

オフセットを指定して現在の logcat バッファを返します。

abstract InputStreamSource getLogcatData (int maxBytes)
abstract InputStreamSource getLogcatData ()
abstract void start ()
abstract void stop ()

パブリックメソッド

クリア

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)

パラメーター
maxBytes int

戻り値
InputStreamSource

getLogcatData

public abstract InputStreamSource getLogcatData ()

戻り値
InputStreamSource

始める

public abstract void start ()

停止

public abstract void stop ()