LogReceiver
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
LogReceiver
public LogReceiver (ITestDevice device, String cmd, String desc)
Paramètres | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
LogReceiver
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
effacer
public void clear ()
getDescriptor
public String getDescriptor ()
Renvoie | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
Paramètres | |
---|---|
maxBytes |
int |
Renvoie | |
---|---|
InputStreamSource |
PostLog.
public void postLog (ITestInvocationListener listener)
Paramètres | |
---|---|
listener |
ITestInvocationListener |
départ
public void start ()
escale
public void stop ()