summaryrefslogtreecommitdiffstats
path: root/media/tests
diff options
context:
space:
mode:
authorYu Shan Emily Lau <yslau@google.com>2009-06-22 21:19:53 -0700
committerYu Shan Emily Lau <yslau@google.com>2009-06-22 21:19:53 -0700
commit327420252cccbc302fdfe86cfef92711ed6f1c06 (patch)
tree2006b42a5856f1ee0b6468ef2592a01a20b1192c /media/tests
parent11348cffef46585027ba3035357370177a554826 (diff)
downloadframeworks_base-327420252cccbc302fdfe86cfef92711ed6f1c06.zip
frameworks_base-327420252cccbc302fdfe86cfef92711ed6f1c06.tar.gz
frameworks_base-327420252cccbc302fdfe86cfef92711ed6f1c06.tar.bz2
Rollback the number of loop in the memory stress test
Diffstat (limited to 'media/tests')
-rw-r--r--media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
index af46082..84058f5 100644
--- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
+++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
@@ -51,8 +51,8 @@ public class MediaPlayerPerformance extends ActivityInstrumentationTestCase<Medi
private SQLiteDatabase mDB;
private SurfaceHolder mSurfaceHolder = null;
- private static final int NUM_STRESS_LOOP = 1;
- private static final int NUM_PLAYBACk_IN_EACH_LOOP = 2;
+ private static final int NUM_STRESS_LOOP = 10;
+ private static final int NUM_PLAYBACk_IN_EACH_LOOP = 20;
private static final long MEDIA_STRESS_WAIT_TIME = 5000; //5 seconds
private static final String MEDIA_MEMORY_OUTPUT =
"/sdcard/mediaMemOutput.txt";