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