From 01c0596b75388e3df7cb4fb022d904c4cac9d831 Mon Sep 17 00:00:00 2001 From: Yu Shan Emily Lau Date: Thu, 28 May 2009 15:41:16 -0700 Subject: Added the two validations for the memory stress test 1) Set the maximum memory leakage to 150K in 200 loops of playback. 2) Check the pid of the meidaserver. --- .../performance/MediaPlayerPerformance.java | 106 +++++++++++++++++++-- 1 file changed, 97 insertions(+), 9 deletions(-) (limited to 'media/tests') 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 2f0173d..4a2f823 100644 --- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java +++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java @@ -68,6 +68,13 @@ public class MediaPlayerPerformance extends ActivityInstrumentationTestCase