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 Set<String> SHARDABLE_RUNNERS

공개 생성자

ListInstrumentationParser()

공개 메서드

List<ListInstrumentationParser.InstrumentationTarget> getInstrumentationTargets()
boolean isCancelled()

void processNewLines(String[] lines)

원격 프로세스에서 새 줄을 수신할 때 호출됩니다.

필드

SHARDABLE_RUNNERS

public static final Set<String> SHARDABLE_RUNNERS

공개 생성자

ListInstrumentationParser

public ListInstrumentationParser ()

공개 메서드

getInstrumentationTargets

public List<ListInstrumentationParser.InstrumentationTarget> getInstrumentationTargets ()

반환
List<ListInstrumentationParser.InstrumentationTarget>

isCancelled

public boolean isCancelled ()

반환
boolean

processNewLines

public void processNewLines (String[] lines)

원격 프로세스에서 새 줄을 수신할 때 호출됩니다.

이 메서드에 제공될 때 줄이 완료되는 것이 보장됩니다.

매개변수
lines String: 새 줄이 포함된 배열입니다.