LogReceiver
public class LogReceiver
extends Object
java.lang.Object | |
↳ | com.android.tradefed.log.LogReceiver |
Bản tóm tắt
Các nhà xây dựng công cộng | |
---|---|
LogReceiver ( ITestDevice device, String cmd, String desc) | |
LogReceiver ( ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs) |
Phương pháp công khai | |
---|---|
void | clear () |
InputStreamSource | getData () |
String | getDescriptor () |
InputStreamSource | getLogcatData (int maxBytes) |
void | postLog ( ITestInvocationListener listener) |
void | start () |
void | stop () |
Các nhà xây dựng công cộng
LogReceiver
public LogReceiver (ITestDevice device, String cmd, String desc)
Thông số | |
---|---|
device | ITestDevice |
cmd | String |
desc | String |
LogReceiver
public LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
Thông số | |
---|---|
device | ITestDevice |
cmd | String |
desc | String |
logcat_size | long |
delay_secs | int |
Phương pháp công khai
xa lạ
public void clear ()
getDescriptor
public String getDescriptor ()
Lợi nhuận | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
Thông số | |
---|---|
maxBytes | int |
Lợi nhuận | |
---|---|
InputStreamSource |
postLog
public void postLog (ITestInvocationListener listener)
Thông số | |
---|---|
listener | ITestInvocationListener |
bắt đầu
public void start ()
dừng lại
public void stop ()