Odbiornik dziennika
public class LogReceiver
extends Object
Obiekt Java.lang.Object |
↳ | com.android.tradefed.log.LogReceiver |
Streszczenie
Konstruktorzy publiczni |
---|
LogReceiver (ITestDevice device, String cmd, String desc) |
LogReceiver (ITestDevice device, String cmd, String desc, long logcat_size, int delay_secs) |
Konstruktorzy publiczni
Odbiornik dziennika
public LogReceiver (ITestDevice device,
String cmd,
String desc)
Parametry |
---|
device | ITestDevice |
cmd | String |
desc | String |
Odbiornik dziennika
public LogReceiver (ITestDevice device,
String cmd,
String desc,
long logcat_size,
int delay_secs)
Parametry |
---|
device | ITestDevice |
cmd | String |
desc | String |
logcat_size | long |
delay_secs | int |
Metody publiczne
jasne
public void clear ()
otrzymać dane
public InputStreamSource getData ()
pobierzDescriptor
public String getDescriptor ()
pobierz dane Logcat
public InputStreamSource getLogcatData (int maxBytes)
postLog
public void postLog (ITestInvocationListener listener)
Parametry |
---|
listener | ITestInvocationListener |
początek
public void start ()
zatrzymywać się
public void stop ()