ILogcatReceiver

public interface ILogcatReceiver

com.android.tradefed.device.ILogcatReceiver


Una classe che fornisce l'output del logcat di un dispositivo come InputStreamSource .

Riepilogo

Metodi pubblici

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

Restituisce il buffer logcat corrente dato un offset.

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

Metodi pubblici

chiaro

public abstract void clear ()

getLogcatData

public InputStreamSource getLogcatData (int maxBytes, 
                int offset)

Restituisce il buffer logcat corrente dato un offset.

Parametri
maxBytes int : la dimensione massima del buffer restituito

offset int : l'offset del buffer completo.

ritorna
InputStreamSource Il buffer logcat inizia dall'offset.

getLogcatData

public abstract InputStreamSource getLogcatData (int maxBytes)

Parametri
maxBytes int

ritorna
InputStreamSource

getLogcatData

public abstract InputStreamSource getLogcatData ()

ritorna
InputStreamSource

inizio

public abstract void start ()

fermare

public abstract void stop ()