diff options
author | Mike Ma <yanmin@google.com> | 2017-11-13 12:06:45 -0800 |
---|---|---|
committer | Mike Ma <yanmin@google.com> | 2017-11-13 12:16:22 -0800 |
commit | da3a2955cc91a7f960b3fdf4e95f57a512f1b7c6 (patch) | |
tree | 29c002dc36c81df6006d2976ce7cd5feb6f6f64b /cmds/am/src | |
parent | 630fc40aadf3f83671607bd6a651770958c16dfa (diff) |
Add instrumentation data to host proto lib
Add instrumentation data proto to host proto lib and add a few comment
to am instrument.
Test: no test needed
Change-Id: Ibbb0394dcf0ad27b53d5c97104456798863ce82c
Diffstat (limited to 'cmds/am/src')
-rw-r--r-- | cmds/am/src/com/android/commands/am/Instrument.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmds/am/src/com/android/commands/am/Instrument.java b/cmds/am/src/com/android/commands/am/Instrument.java index 93b9f58d51d3..d79b1a61eb5b 100644 --- a/cmds/am/src/com/android/commands/am/Instrument.java +++ b/cmds/am/src/com/android/commands/am/Instrument.java @@ -47,6 +47,16 @@ import java.util.Locale; /** * Runs the am instrument command + * + * Test Result Code: + * 1 - Test running + * 0 - Test passed + * -2 - assertion failure + * -1 - other exceptions + * + * Session Result Code: + * -1: Success + * other: Failure */ public class Instrument { public static final String DEFAULT_LOG_DIR = "instrument-logs"; |