summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-05-21 12:13:31 -0700
committerRomain Guy <romainguy@google.com>2012-05-21 13:29:06 -0700
commit13b907353f18215b52b5ceda24bbf520d91d72a1 (patch)
tree5b32cdf7b5729f68c0b61dadbeab7ffd263b25b0 /cmds
parentd7e4ae48c576d5aaef75754b29a8b87c1f0d6427 (diff)
downloadframeworks_base-13b907353f18215b52b5ceda24bbf520d91d72a1.zip
frameworks_base-13b907353f18215b52b5ceda24bbf520d91d72a1.tar.gz
frameworks_base-13b907353f18215b52b5ceda24bbf520d91d72a1.tar.bz2
Remove unused, obsolete debug code
All these features have either been abandonned and left un-maintained for years or can be replaced by systrace. Change-Id: I42e4579a8078744047e5fe08a7a15254970b09bc
Diffstat (limited to 'cmds')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index 8cd8900..cb53422 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -645,10 +645,6 @@ public class Am {
String process = null;
String cmd = nextArgRequired();
- if ("looper".equals(cmd)) {
- cmd = nextArgRequired();
- profileType = 1;
- }
if ("start".equals(cmd)) {
start = true;
@@ -1295,8 +1291,8 @@ public class Am {
" am broadcast <INTENT>\n" +
" am instrument [-r] [-e <NAME> <VALUE>] [-p <FILE>] [-w]\n" +
" [--no-window-animation] <COMPONENT>\n" +
- " am profile [looper] start <PROCESS> <FILE>\n" +
- " am profile [looper] stop [<PROCESS>]\n" +
+ " am profile start <PROCESS> <FILE>\n" +
+ " am profile stop [<PROCESS>]\n" +
" am dumpheap [flags] <PROCESS> <FILE>\n" +
" am set-debug-app [-w] [--persistent] <PACKAGE>\n" +
" am clear-debug-app\n" +