Odbiornik logów
public
class
LogReceiver
extends Object
java.lang.Object | |
↳ | com.android.tradefed.log.LogReceiver |
Podsumowanie
Konstruktory publiczne | |
---|---|
Log
|
|
Log
|
Metody publiczne | |
---|---|
void
|
clear()
|
Input
|
get
|
String
|
get
|
Input
|
get
|
void
|
post
|
void
|
start()
|
void
|
stop()
|
Konstruktory publiczne
Odbiornik logów
public LogReceiver (ITestDevice device, String cmd, String desc)
Parametry | |
---|---|
device |
ITestDevice |
cmd |
String |
desc |
String |
Odbiornik logów
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
wyczyść
public void clear ()
getDescriptor,
public String getDescriptor ()
Zwroty | |
---|---|
String |
getLogcatData
public InputStreamSource getLogcatData (int maxBytes)
Parametry | |
---|---|
maxBytes |
int |
Zwroty | |
---|---|
InputStreamSource |
postLog
public void postLog (ITestInvocationListener listener)
Parametry | |
---|---|
listener |
ITestInvocationListener |
rozpocznij
public void start ()
zatrzymaj
public void stop ()