ListInstrumentationParser

public class ListInstrumentationParser
extends MultiLineReceiver

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


IShellOutputReceiver, która analizuje dane wyjściowe zapytania „pm list instrumentation”

Podsumowanie

Zagnieżdżone klasy

class ListInstrumentationParser.InstrumentationTarget

 

Pola

public static final Set<String> SHARDABLE_RUNNERS

Konstruktory publiczne

ListInstrumentationParser()

Metody publiczne

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

void processNewLines(String[] lines)

Wywoływana, gdy proces zdalny otrzymuje nowe wiersze.

Pola

SHARDABLE_RUNNERS

public static final Set<String> SHARDABLE_RUNNERS

Konstruktory publiczne

ListInstrumentationParser

public ListInstrumentationParser ()

Metody publiczne

getInstrumentationTargets

public List<ListInstrumentationParser.InstrumentationTarget> getInstrumentationTargets ()

Zwraca
List<ListInstrumentationParser.InstrumentationTarget>

isCancelled

public boolean isCancelled ()

Zwraca
boolean

processNewLines

public void processNewLines (String[] lines)

Wywoływana, gdy proces zdalny otrzymuje nowe wiersze.

Gdy wiersze są przekazywane do tej metody, są one kompletne.

Parametry
lines String: tablica zawierająca nowe wiersze.