LogcatEventParser
public
class
LogcatEventParser
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.LogcatEventParser |
סיכום
קונסטרוקטורים גלויים לכולם | |
|---|---|
LogcatEventParser(ITestDevice device)
|
|
שיטות ציבוריות | |
|---|---|
void
|
close()
מפסיקים להאזין ל-logcat. |
void
|
parseEvents(String[] lines)
לנתח את השורות ב-logcat ולהוסיף לתור האירועים את כל האירועים שתועדו (שנרשמו באמצעות |
void
|
registerEventTrigger(String tag, String msg, LogcatEventType response)
רישום אירוע של תג ושל הודעה נתונים ב-logcat עם התגובה הרצויה. |
void
|
start()
מתחילים להאזין ל-logcat ולנתח אירועים. |
קונסטרוקטורים גלויים לכולם
LogcatEventParser
public LogcatEventParser (ITestDevice device)
| פרמטרים | |
|---|---|
device |
ITestDevice |
שיטות ציבוריות
סגירה
public void close ()
מפסיקים להאזין ל-logcat.
parseEvents
public void parseEvents (String[] lines)
לנתח את השורות ב-logcat ולהוסיף לתור האירועים את כל האירועים שתועדו (שנרשמו באמצעות registerEventTrigger(String, String, com.android.tradefed.util.LogcatEventType)).
| פרמטרים | |
|---|---|
lines |
String |
registerEventTrigger
public void registerEventTrigger (String tag,
String msg,
LogcatEventType response)רישום אירוע של תג ושל הודעה נתונים ב-logcat עם התגובה הרצויה. יכול להיות שההודעה תהיה חלקית.
| פרמטרים | |
|---|---|
tag |
String |
msg |
String |
response |
LogcatEventType |
התחל
public void start ()
מתחילים להאזין ל-logcat ולנתח אירועים.