History log of /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3662f2011f1c77d0cc1929a0c28a95bebe9cc505 17-Oct-2012 Yu Shan Emily Lau <yslau@google.com> Append the test case name in the beginning
of the test log.

Change-Id: I621286274d84bfff474f1cc1e01353b3fd66dc23
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
87b8a1c3b69a7c975ae2a8ebaaef5724f1b09cef 17-Oct-2012 Yu Shan Emily Lau <yslau@google.com> Fix the NPE for the memwriter.

Change-Id: Id3a5c8f29b0f6be994ea95eb62f1a0eec8fe75b5
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
2ffd20753e9c187c057b2b8f1e65cfddc901c8e9 10-Oct-2012 Yu Shan Emily Lau <yslau@google.com> Instead of collecting the procmem output in
the test, change it as optional. This is to avoid
the tool breakage will block the whole memory test sutie.

Change-Id: Ia7425531ca2151230d7fd98eb710f282e166b4f7
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
e35b3e052dab756113304cb394980e9f271b1613 27-Apr-2012 Yu Shan Emily Lau <yslau@google.com> Fix the test cases which fail to launch the camera
in the device which only has one camera.

Change-Id: Ia34087715e49f1aa3e86f3f85cb4e77168323321
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
003a7569745640d700c318a463385ca5feb08728 23-Mar-2012 Yu Shan Emily Lau <yslau@google.com> Insert 2 seconds wait in each test case setup.
This is the work around for the surface request race
condition.

Change-Id: Iaf8be12cfe4eb70d0a309ad875f38427181ac4b4
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
99b4523b753f35122e23e90c95f57399c3f8bb10 24-Nov-2011 Yu Shan Emily Lau <yslau@google.com> Add the min fps option to set
the min fps in the media recorder test.
Add the procmem log to the media
memory stress test.

Change-Id: Icf82f12adeca7072a171991d1d6a994e4bb7764a
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
b05a600352dcd4517c62c7503edf9eea22359280 08-Sep-2011 James Dong <jdong@google.com> Fix another hardcoded frame rate in the media framework test

Change-Id: I7d7f9d0812a0228dbf924084a32dbede0338b421
related-to-bug: 5264298
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
a985135daa0d1706d8f62fa2d845590ce270e214 07-Sep-2011 James Dong <jdong@google.com> Use device-dependent frame rate in the media recorder performance test

Change-Id: I778eca69c4acb9842f600c6ae23e7a89fb2e55f4
related-to-bug: 5264298
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
4afbe2ec7560bfa2637841802cf01cfbd01187e3 29-Aug-2011 James Dong <jdong@google.com> The test application falsely reports that the test result even if the test failed.

Change-Id: Ia632f04da73642dc4c1e3147b16664b5672108bc
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
c4fe54a2385e8e67dcfed6b2c365214ed020d245 14-Jun-2011 Yu Shan Emily Lau <yslau@google.com> Add new open source test contents.
Removed old test files.
Updated the tests with new test contents.

Change-Id: Id74f1aae391ef868843ab4058ae9a9328d98f868
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
d1d17b165139681dc66c000fdfe9e14fb1bc35c0 07-Jun-2011 Yu Shan Emily Lau <yslau@google.com> Cleaned up the old test cases and test media files.

Change-Id: Icc3c04c69b11b2bb91588a8bb916baf69594e8d3
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
62f755ac65cb40f231a7fa0695724ae01975d01c 26-Feb-2011 Yu Shan Emily Lau <yslau@google.com> Remove the hard coded media recorder test cases.
Add the native heap dump catpure functionality.

Change-Id: I434ff886152cbb9b2b9a4e39c75bfd016e0e50a0
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
a9015bb24f09b16f1bd643de3bd844923a4d6c31 31-Jul-2010 James Dong <jdong@google.com> Fixed a typo in a method name of MediaPlayerPerformance.java class

Change-Id: Ice9f931312b738fc62205988891f35907e8733d9
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
48584d7b8f5e56b73bb13180bf6546b2647c1b28 25-May-2010 Yu Shan Emily Lau <yslau@google.com> Added the runtime parameters for the mediarecorder stress test.
Set the total number of the stress loops of camera preview memory test to 200.

Change-Id: I5a0278095155afd669ffee9bd599ddfffdcc42bf
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
59411b3373dca7582aa1a248d4cff4c2330ee224 25-Mar-2010 Wu-cheng Li <wuchengli@google.com> Fix testCameraPreviewMemoryUsage test.

Looper.quit() is asynchronous. The looper may still has some
preview callbacks in the queue after quit is called. The preview
callback still uses the camera object (setHasPreviewCallback).
After camera is released, RuntimeException will be thrown from
the method. So we need to join the looper thread here.

This change also fixes a potential race condition.

bug:2521202
Change-Id: If69bbb3125d1d30192563559579b87c20fa5aac8
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
1cffa446ee92314a09ef767970ee93fa8758c95a 17-Mar-2010 Yu Shan Emily Lau <yslau@google.com> Inserted a 1.5s wait time between the camera release and new camrea.

Change-Id: I7540064a6e5229be1ef0fe266cd3050ae36b33a4
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
adc238a97cfbff4405c800994c14e147bc7df2bb 12-Mar-2010 Yu Shan Emily Lau <yslau@google.com> Fix the bug that it should write the zero diff to the output file when the actual diff is negative.

Change-Id: I5d7c12b0ad9c0286658067cacb7f385626a3107f
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
30a13908197c03c7f660f443064575c7baa889bb 02-Mar-2010 Yu Shan Emily Lau <yslau@google.com> Added the Camera Preveiw memory test which can help to isolate the memory leak issue.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
f465dc0367534bf38c2c655cd147437848b67907 21-Jan-2010 Yu Shan Emily Lau <yslau@google.com> Instead of caputre the memory footprint before and after the test. We would like to monitor the memory trend while the test is running. This can eliminate the overhead for the frist test case in creating the player.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
30daf09cb6e74be45c5b594569002c0eb9f9ed7d 04-Dec-2009 Yu Shan Emily Lau <yslau@google.com> 1) Capture the start memory before the test started
2) Report the mem diff to zero if it is negative.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
999101368fc6b8163e0b9e320239e49ca62f3e4a 16-Oct-2009 Yu Shan Emily Lau <yslau@google.com> 1) Add 10 seconds wait time before collecting the end memory.
2) Modified the player stress test, shorten the plabyack time.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
a56e653130f2253edb97fe3a5feb18789c29ec9e 25-Sep-2009 Yu Shan Emily Lau <yslau@google.com> Added the checking for the wma in the memory test.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
6874e3df0e3f6d6db6b474e73426f286db9ec6a8 07-Aug-2009 Yu Shan Emily Lau <yslau@google.com> am 3397f169: Capture the start and end memory usage in the output file. Move the start memory catpure after 10 loops.

Merge commit '3397f16949d2e86442c32f3b82d5ee3ace99ba82'

* commit '3397f16949d2e86442c32f3b82d5ee3ace99ba82':
Capture the start and end memory usage in the output file. Move the start memory catpure after 10 loops.
3397f16949d2e86442c32f3b82d5ee3ace99ba82 07-Aug-2009 Yu Shan Emily Lau <yslau@google.com> Capture the start and end memory usage in the output file. Move the start memory catpure after 10 loops.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
859c37548f4ed1d466b7edc6a01e579b6b55039f 05-Aug-2009 Yu Shan Emily Lau <yslau@google.com> am bd014e07: Remove the memory capture in the first run and make it the same as the cupcake test case.

Merge commit 'bd014e07e2e95d4ac706c6863e2587bd96daa51e'

* commit 'bd014e07e2e95d4ac706c6863e2587bd96daa51e':
Remove the memory capture in the first run and make it the same as the cupcake test case.
bd014e07e2e95d4ac706c6863e2587bd96daa51e 05-Aug-2009 Yu Shan Emily Lau <yslau@google.com> Remove the memory capture in the first run and make it the same as the cupcake test case.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
6922f19d30e8952eabd8376f7461d31e481590e7 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 843f5eb3: Merge change 5054 into donut

Merge commit '843f5eb36a67367ae76800f74e184f00af50ef54'

* commit '843f5eb36a67367ae76800f74e184f00af50ef54':
Rollback the number of loop in the memory stress test
327420252cccbc302fdfe86cfef92711ed6f1c06 23-Jun-2009 Yu Shan Emily Lau <yslau@google.com> Rollback the number of loop in the memory stress test
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
949070dd74be18ee3dcc87dd32f47f65374e3d53 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 11348cff: Merge change 4885 into donut

Merge commit '11348cffef46585027ba3035357370177a554826'

* commit '11348cffef46585027ba3035357370177a554826':
Merge the output file into one.
a74603052b525e7c8709ffc3b618af0a8b140f0b 19-Jun-2009 Yu Shan Emily Lau <yslau@google.com> Merge the output file into one.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
8c09399490ed1dce2073010c5850acd2b6af744f 08-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am bdf90a08: Merge change 3462 into donut

Merge commit 'bdf90a08a22189254274078ed39ec5a1db37a0b3'

* commit 'bdf90a08a22189254274078ed39ec5a1db37a0b3':
Capture the memory output before the playback and record start.
32e959163fbbaf1e01752616a81e30996a165688 08-Jun-2009 Yu Shan Emily Lau <yslau@google.com> Capture the memory output before the playback and record start.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
b86204a73d2c3911c063d635819e24d15d4885e3 29-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2af7e639: Merge change 2654 into donut

Merge commit '2af7e639906981b1562f3187a60b6c848b7da17c'

* commit '2af7e639906981b1562f3187a60b6c848b7da17c':
Added the two validations for the memory stress test
01c0596b75388e3df7cb4fb022d904c4cac9d831 29-May-2009 Yu Shan Emily Lau <yslau@google.com> 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.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
568d91bddce4f8b9a05ba98014cf485967344eba 05-May-2009 Xia Wang <xiaw@google.com> fix the bug of testStartupTime in MediaPlayerPerformance test throws exception for an existing table
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java