ILogcatRécepteur
public interface ILogcatReceiver
com.android.tradefed.device.ILogcatReceiver |
Une classe qui fournit la sortie du logcat d'un appareil en tant que InputStreamSource
.
Résumé
Méthodes publiques | |
---|---|
abstract void | clear () |
default InputStreamSource | getLogcatData (int maxBytes, int offset) Renvoie le tampon logcat actuel en fonction d'un décalage. |
abstract InputStreamSource | getLogcatData (int maxBytes) |
abstract InputStreamSource | getLogcatData () |
abstract void | start () |
abstract void | stop () |
Méthodes publiques
clair
public abstract void clear ()
getLogcatData
public InputStreamSource getLogcatData (int maxBytes, int offset)
Renvoie le tampon logcat actuel en fonction d'un décalage.
Paramètres | |
---|---|
maxBytes | int : La taille maximale du tampon retourné |
offset | int : décalage du tampon plein. |
Retour | |
---|---|
InputStreamSource | Le tampon logcat commençant à l'offset. |
getLogcatData
public abstract InputStreamSource getLogcatData (int maxBytes)
Paramètres | |
---|---|
maxBytes | int |
Retour | |
---|---|
InputStreamSource |
commencer
public abstract void start ()
arrêt
public abstract void stop ()