Récepteur de journaux

public class LogReceiver
extends Object

java.lang.Object
com.android.tradefed.log.LogReceiver


Résumé

Constructeurs publics

LogReceiver ( ITestDevice device, String cmd, String desc)
LogReceiver ( ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)

Méthodes publiques

void clear ()
InputStreamSource getData ()
String getDescriptor ()
InputStreamSource getLogcatData (int maxBytes)
void postLog ( ITestInvocationListener listener)
void start ()
void stop ()

Constructeurs publics

Récepteur de journaux

public LogReceiver (ITestDevice device, 
                String cmd, 
                String desc)

Paramètres
device ITestDevice

cmd String

desc String

Récepteur de journaux

public LogReceiver (ITestDevice device, 
                String cmd, 
                String desc, 
                long logcat_size, 
                int delay_secs)

Paramètres
device ITestDevice

cmd String

desc String

logcat_size long

delay_secs int

Méthodes publiques

clair

public void clear ()

obtenir des données

public InputStreamSource getData ()

Retour
InputStreamSource

getDescriptor

public String getDescriptor ()

Retour
String

getLogcatData

public InputStreamSource getLogcatData (int maxBytes)

Paramètres
maxBytes int

Retour
InputStreamSource

postLog

public void postLog (ITestInvocationListener listener)

Paramètres
listener ITestInvocationListener

commencer

public void start ()

arrêt

public void stop ()