summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-07-21 14:56:34 -0700
committerRomain Guy <romainguy@google.com>2011-07-21 14:56:34 -0700
commit7eabe55db6b113f83c2cefcd06812648927de877 (patch)
treea105d90d8addbce9bb457b4bef974ce2f699fc81 /tests
parentac4159549c10dbe428d42980278c0e43ecc8d93f (diff)
downloadframeworks_base-7eabe55db6b113f83c2cefcd06812648927de877.zip
frameworks_base-7eabe55db6b113f83c2cefcd06812648927de877.tar.gz
frameworks_base-7eabe55db6b113f83c2cefcd06812648927de877.tar.bz2
Add looper profiling to adb shell am
To profile the looper, run the following command: adb shell am profile looper start <process> <file> adb shell am profile looper stop <process> Change-Id: I781f156e473d7bdbb6d13aaffeeaae88bc01a69f
Diffstat (limited to 'tests')
-rw-r--r--tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java
index 1493ab9..13b6129 100644
--- a/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java
+++ b/tests/HwAccelerationTest/src/com/android/test/hwui/ListActivity.java
@@ -93,12 +93,9 @@ public class ListActivity extends Activity {
}
public void startProfiling(View v) {
- ViewDebug.startLooperProfiling(new File(Environment.getExternalStorageDirectory(),
- "looper.trace"));
}
public void stopProfiling(View v) {
- ViewDebug.stopLooperProfiling();
}
@Override