LogcatEventParser

public class LogcatEventParser
extends Object

java.lang.オブジェクト
com.android.tradefed.util.LogcatEventParser


まとめ

パブリックコンストラクター

LogcatEventParser (ITestDevice device)

パブリックメソッド

void close ()

logcat を聞くのをやめてください。

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 ()

logcat を聞くのをやめてください。

イベントの解析

public void parseEvents (String[] lines)

logcat 行を解析し、キャプチャされたイベント ( registerEventTrigger(String, String, com.android.tradefed.util.LogcatEventType)で登録されたもの) をイベント キューに追加します。

パラメーター
lines String

登録イベントトリガー

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

指定された logcat タグのイベントと、必要な応答を含むメッセージを登録します。メッセージは部分的である可能性があります。

パラメーター
tag String

msg String

response LogcatEventType

始める

public void start ()

logcat のリッスンとイベントの解析を開始します。