diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-10-09 17:59:38 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-10-09 18:21:59 -0700 |
commit | ab4a81b3c625e33d04ae8070fcce6b6baee6522c (patch) | |
tree | 0318213138edcfa4e65cd4e2c640f1a96bdeeb45 /cmds/am | |
parent | f9df9dd845ba1d1b14b450bd9df654243921381f (diff) | |
download | frameworks_base-ab4a81b3c625e33d04ae8070fcce6b6baee6522c.zip frameworks_base-ab4a81b3c625e33d04ae8070fcce6b6baee6522c.tar.gz frameworks_base-ab4a81b3c625e33d04ae8070fcce6b6baee6522c.tar.bz2 |
Improve some docs, fix some debugging.
- Add docs to Binder, Messenger, ResultReceier to explain their
relation (or lack there-of) to process lifecycle.
- Clarify some aspects of process lifecycle for services.
- Fix help text of am command.
- Fix per-package dumping of battery stats to not include history.
- Fix per-package dumping of proc stats to only include aggregated
and current stats and fix some formatting.
- Fix per-process dumping of meminfo to have an option to interpret
the input as a package, so including all processes that are
running code of that package.
- Fix top-level per-package debug output to correctly include all
of these improvements and give them a little more time (10s) to
complete for timing out.
Change-Id: I2a04c0f862bd47b08329443d722345a13ad9b6e2
Diffstat (limited to 'cmds/am')
-rw-r--r-- | cmds/am/src/com/android/commands/am/Am.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java index cc0d51c..ba11a81 100644 --- a/cmds/am/src/com/android/commands/am/Am.java +++ b/cmds/am/src/com/android/commands/am/Am.java @@ -114,11 +114,7 @@ public class Am extends BaseCommand { " am broadcast [--user <USER_ID> | all | current] <INTENT>\n" + " am instrument [-r] [-e <NAME> <VALUE>] [-p <FILE>] [-w]\n" + " [--user <USER_ID> | current]\n" + - " [--no-window-animation]\n" + - " [--abi <ABI>]\n : Launch the instrumented process with the " + - " selected ABI. This assumes that the process supports the" + - " selected ABI." + - " <COMPONENT>\n" + + " [--no-window-animation] [--abi <ABI>] <COMPONENT>\n" + " am profile start [--user <USER_ID> current] <PROCESS> <FILE>\n" + " am profile stop [--user <USER_ID> current] [<PROCESS>]\n" + " am dumpheap [--user <USER_ID> current] [-n] <PROCESS> <FILE>\n" + @@ -194,6 +190,8 @@ public class Am extends BaseCommand { " --user <USER_ID> | current: Specify user instrumentation runs in;\n" + " current user if not specified.\n" + " --no-window-animation: turn off window animations while running.\n" + + " --abi <ABI>: Launch the instrumented process with the selected ABI.\n" + + " This assumes that the process supports the selected ABI.\n" + "\n" + "am profile: start and stop profiler on a process. The given <PROCESS> argument\n" + " may be either a process name or pid. Options are:\n" + |