ListInstrumentationParser

public class ListInstrumentationParser
extends MultiLineReceiver

java.lang.Object
   ↳ com.android.ddmlib.MultiLineReceiver
     ↳ com.android.tradefed.util.ListInstrumentationParser


可剖析「pm list instrumentation」查詢輸出內容的 IShellOutputReceiver

摘要

巢狀類別

class ListInstrumentationParser.InstrumentationTarget

 

欄位

public static final SHARDABLE_RUNNERS

公用建構函式

ListInstrumentationParser()

公用方法

getInstrumentationTargets()
boolean isCancelled()

void processNewLines(String[] lines)

當遠端程序收到新行時呼叫。

欄位

SHARDABLE_RUNNERS

public static final  SHARDABLE_RUNNERS

公用建構函式

ListInstrumentationParser

public ListInstrumentationParser ()

公用方法

getInstrumentationTargets

public  getInstrumentationTargets ()

傳回

isCancelled

public boolean isCancelled ()

傳回
boolean

processNewLines

public void processNewLines (String[] lines)

當遠端程序收到新行時呼叫。

系統保證提供給這個方法時,這些行是完整的。

參數
lines String:包含新行的陣列。