LogcatEventParser

public class LogcatEventParser
extends Object

java.lang.Object
com.android.tradefed.util.LogcatEventParser


סיכום

בנאים ציבוריים

LogcatEventParser (ITestDevice device)

שיטות ציבוריות

void close ()

תפסיק להקשיב ללוגקט.

void parseEvents (String[] lines)

נתח שורות logcat והוסף את כל האירועים שנלכדו (שנרשמו עם registerEventTrigger(String, String, com.android.tradefed.util.LogcatEventType) לתור האירועים.

void registerEventTrigger (String tag, String msg, LogcatEventType response)

רשום אירוע של תג והודעה נתונה של logcat עם התגובה הרצויה.

void start ()

התחל להאזין ל-logcat ולנתח אירועים.

בנאים ציבוריים

LogcatEventParser

public LogcatEventParser (ITestDevice device)

פרמטרים
device ITestDevice

שיטות ציבוריות

סגור

public void close ()

תפסיק להקשיב ללוגקט.

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 ולנתח אירועים.