ตัวรับบันทึก
public
class
LogReceiver
extends Object
java.lang.Object | |
↳ | com.android.tradefed.log.LogReceiver |
สรุป
ช่างก่อสร้างสาธารณะ | |
---|---|
Log
|
|
Log
|
วิธีการสาธารณะ | |
---|---|
void
|
clear()
|
Input
|
get
|
String
|
get
|
Input
|
get
|
void
|
post
|
void
|
start()
|
void
|
stop()
|
ช่างก่อสร้างสาธารณะ
ตัวรับบันทึก
public LogReceiver (ITestDevice device, String cmd, String desc)
พารามิเตอร์ | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
ตัวรับบันทึก
public LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs)
พารามิเตอร์ | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
logcat_size |
long |
delay_secs |
int |
วิธีการสาธารณะ
ล้าง
public void clear ()
getDescriptor
public String getDescriptor ()
คิกรีเทิร์น | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
พารามิเตอร์ | |
---|---|
maxBytes |
int |
คิกรีเทิร์น | |
---|---|
InputStreamSource |
บันทึกการโพสต์
public void postLog (ITestInvocationListener listener)
พารามิเตอร์ | |
---|---|
listener |
ITestInvocationListener |
เริ่มต้น
public void start ()
แวะพัก
public void stop ()