OSDN Git Service

Rollback the number of loop in the memory stress test
authorYu Shan Emily Lau <yslau@google.com>
Tue, 23 Jun 2009 04:19:53 +0000 (21:19 -0700)
committerYu Shan Emily Lau <yslau@google.com>
Tue, 23 Jun 2009 04:19:53 +0000 (21:19 -0700)
media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java

index af46082..84058f5 100644 (file)
@@ -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";