ListInstrumentationParser
public
class
ListInstrumentationParser
extends MultiLineReceiver
| java.lang.Object | ||
| ↳ | com.android.ddmlib.MultiLineReceiver | |
| ↳ | com.android.tradefed.util.ListInstrumentationParser | |
A IShellOutputReceiver that parses the output of a 'pm list instrumentation' query
Summary
Nested classes | |
|---|---|
class |
ListInstrumentationParser.InstrumentationTarget
|
Fields | |
|---|---|
public
static
final
|
SHARDABLE_RUNNERS
|
Public constructors | |
|---|---|
ListInstrumentationParser()
|
|
Public methods | |
|---|---|
|
getInstrumentationTargets()
|
boolean
|
isCancelled()
|
void
|
processNewLines(String[] lines)
Called when new lines are being received by the remote process. |
Fields
SHARDABLE_RUNNERS
public static finalSHARDABLE_RUNNERS
Public constructors
ListInstrumentationParser
public ListInstrumentationParser ()
Public methods
getInstrumentationTargets
publicgetInstrumentationTargets ()
| Returns | |
|---|---|
|
|
isCancelled
public boolean isCancelled ()
| Returns | |
|---|---|
boolean |
|
processNewLines
public void processNewLines (String[] lines)
Called when new lines are being received by the remote process.
It is guaranteed that the lines are complete when they are given to this method.
| Parameters | |
|---|---|
lines |
String: The array containing the new lines. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-12-04 UTC.