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:包含新行的数组。