LogReceiver
public
class
LogReceiver
extends Object
java.lang.Object | |
↳ | com.android.tradefed.log.LogReceiver |
Summary
Public constructors | |
---|---|
LogReceiver(ITestDevice device, String cmd, String desc)
|
|
LogReceiver(ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
|
Public methods | |
---|---|
void
|
clear()
|
InputStreamSource
|
getData()
|
String
|
getDescriptor()
|
InputStreamSource
|
getLogcatData(int maxBytes)
|
void
|
postLog(ITestInvocationListener listener)
|
void
|
start()
|
void
|
stop()
|
Public constructors
LogReceiver
public LogReceiver (ITestDevice device, String cmd, String desc)
Parameters | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
LogReceiver
public LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
Parameters | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
logcat_size |
long |
delay_secs |
int |
Public methods
clear
public void clear ()
getDescriptor
public String getDescriptor ()
Returns | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
Parameters | |
---|---|
maxBytes |
int |
Returns | |
---|---|
InputStreamSource |
postLog
public void postLog (ITestInvocationListener listener)
Parameters | |
---|---|
listener |
ITestInvocationListener |
start
public void start ()
stop
public void stop ()