summaryrefslogtreecommitdiffstats
path: root/cmds/am
diff options
context:
space:
mode:
authorJoe Malin <jmalin@google.com>2010-08-30 14:10:05 -0700
committerJoe Malin <jmalin@google.com>2010-08-30 14:10:05 -0700
commitf9b5eed81d690ab8f336cb3345b46a36e278f180 (patch)
tree1c970e0a2a7e8caad50986cca97c5455056dae3b /cmds/am
parent7dff1a72146ba549d51649ad786a0e1cc8b6897c (diff)
downloadframeworks_base-f9b5eed81d690ab8f336cb3345b46a36e278f180.zip
frameworks_base-f9b5eed81d690ab8f336cb3345b46a36e278f180.tar.gz
frameworks_base-f9b5eed81d690ab8f336cb3345b46a36e278f180.tar.bz2
Doc Change:ActivityManager usage doc:running test package
Change-Id: I9a0c28e59f87e30c81d18162bee082b851d07a94
Diffstat (limited to 'cmds/am')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index 4265cc5..bfc73b5 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -28,7 +28,7 @@ import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.ParcelFileDescriptor;
-import android.os.RemoteException;
+// import android.os.RemoteException; // apparently not used
import android.os.ServiceManager;
import android.util.AndroidException;
import android.view.IWindowManager;
@@ -620,6 +620,11 @@ public class Am {
" -p <FILE>: write profiling data to <FILE>\n" +
" -w: wait for instrumentation to finish before returning\n" +
"\n" +
+ " run a test package against an application: am instrument [flags] <TEST_PACKAGE>/<RUNNER_CLASS>\n" +
+ " -e <testrunner_flag> <testrunner_value> [,<testrunner_value>]\n" +
+ " -w wait for the test to finish (required)\n" +
+ " -r use with -e perf true to generate raw output for performance measurements\n" +
+ "\n" +
" start profiling: am profile <PROCESS> start <FILE>\n" +
" stop profiling: am profile <PROCESS> stop\n" +
" dump heap: am dumpheap [flags] <PROCESS> <FILE>\n" +