• Home
  • History
  • Annotate
  • only in /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
History log of /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c1d825b09805f7d0ca21a2343fd86a6e5220f70f 08-Feb-2018 Emilian Peev <epeev@google.com> MediaFrameworkTest: Configure video snapshot framerate

The video snapshot request framerate needs to match the video
recording fps. If the values are not equal, the camera device
could potentially delay the request due to internal
re-configuration. This can cause unwanted stream glitches
which can have impact on the test result.

Bug: 72456325
Test: adb shell am instrument -w -r -e waitIntervalMs 1000 -e
timeout_msec 7200000 -e iterations 5 -e class
com.android.mediaframeworktest.stress.Camera2RecordingTest#testVideoSnapshot
com.android.mediaframeworktest/com.android.mediaframeworktest.Camera2InstrumentationTestRunner
Change-Id: Ieb232938f1c750c9768eee72e356fa2c4f8932be
amera2RecordingTest.java
e89f70bdafe5c82800ca5ad500371bc12e1081ad 21-Apr-2017 Hassan Shojania <shojania@google.com> Fix for MediaPlayerStreamingStressTest/HLS

Bug: 32117460
Test: Manual
Change-Id: Ifd7155932f4ae0ebce6bc94740f0eb55092b9fac
ediaPlayerStreamingStressTest.java
3ed27cc2b27a336590be6bd95e0ee4a75b25be70 10-May-2016 Hang Yin <yinh@google.com> Created 4 camera preview stress test cases.

The 4 stress test cases cover situations of preview switch between
front/back camera and between photo/video mode. Followed Google
Camera App Kenai version streaming rules to set preview request in
the tests.

b/28916141 will be solved once this change is merged

Change-Id: I448be429df5b0813fa2e2f6ff05ad2936afee1b3
amera2SwitchPreviewTest.java
a09b4d2a611a7606e8fc8c73a24bd941b6fc173f 15-Apr-2016 Narayan Kamath <narayan@google.com> Remove unnecessary allocation+unboxing of objects.

Transforming String->int can be done with 0 allocations
using Integer.parseInt.

bug: 28078871
Change-Id: I8d9f322d7154728849dde61ef282046032858d60
amera2RecordingTest.java
84789bef994180b7bf1bacb6c5d0cb843a1113bc 02-Feb-2016 Hyungtae Tim Kim <hyungtaekim@google.com> Rename instr argument 'repeat' to 'iterations'

The argument means the number of test iterations for camera
stress testing. Renamed for easier understanding of the argument.

Change-Id: I3247e35f8640c98db5c8438c3fc79a45073d9623
amera2CaptureRequestTest.java
amera2RecordingTest.java
amera2ReprocessCaptureTest.java
amera2StillCaptureTest.java
6d8fd0a23fdc01b9414202c3de9bba41222583e6 14-Jan-2016 Hyungtae Tim Kim <hyungtaekim@google.com> Camera2 framework stress test suite

Added a new Camera2 framework stress test to put stress in
the common use cases in exercising Camera2 APIs.

Note that this stress test differs from Camera CTS in that
it focus on ensuring stability rather than functionality.
It could also provide the flexibility to get integrated with
test tools if needed.

For the initial run, most test codes are taken from CTS package
except for test fixtures to handle arguments and results for
stress test. However test implementation could be differentiated
to meet needs in stress testing over time.

Change-Id: Ie36594de3904e41f6175b8d5072b91941975d091
amera2CaptureRequestTest.java
amera2RecordingTest.java
amera2ReprocessCaptureTest.java
amera2StillCaptureTest.java
ameraStressTest.java
333578bcd45f33530cc07c7eebc4ae2f669fd1c3 10-Jun-2015 Hyungtae Tim Kim <hyungtaekim@google.com> Add bucket that unknown state playback falls into

MediaPlayerStressTest some media files are missing on the results as they
were reported neither completed nor erroneous.
This case will fall into a new category named unknown playback state so that
we could track them in media dashboard.

Bug: 21755950
Change-Id: Iefcc3e375c63d952a7d9edb418208209d87b9e08
ediaPlayerStressTest.java
d097e7ef745714cadc299db5e8bb0ff57c255373 27-Aug-2014 Shaohan Zou <szou@google.com> Add Media Player Streaming Tests

Change-Id: I4bb78b0487d158f4ea57349b591f66eda6b325d2
ediaPlayerStreamingStressTest.java
e0e77cb5bb2885aea3da6823daebf40e06b073bd 22-Apr-2014 Lajos Molnar <lajos@google.com> Remove VideoEditor

remove android.media.videoeditor.*

No longer supported and should not be used.

Bug: 13542518
Change-Id: I12de122443f0289ab1dfdd8b553e572a830cf412
ideoEditorStressTest.java
796c93b11096002db8ee8fff670ba2a1980877d9 12-Jul-2013 Xia Wang <xiaw@google.com> Add option for video playback test to accept media source path.

This allows the stress test to be able to streaming video over network.

Change-Id: Ie0089c1ba2a076c9c1325934643c2f22f2ca9866
ediaPlayerStressTest.java
c6cedc84f49b8b72d32069cfa515a51b8c128cc0 02-May-2013 Jason Noguchi <jnoguchi@google.com> Refactor of camera stress test to add camera test helper. Also add
additional functional tests for: flash, exposure, white balance, and
focus mode. Also add pairwise tests.

Slight refactor to add camera test helper and also additional
tests for: flash, exposure, white balance, and focus mode

Bug: 9174937

Change-Id: I3d26b545dc8ff972c8173066df59a2e572a837ef
ameraStressTest.java
984505d8168713469fb36bb50da50a2638751122 15-Mar-2013 Yu Shan Emily Lau <yslau@google.com> Media test clean up.
Remove duplicated camera preview stress test.
Remove duplicated recorder stress test.
Remove camera recorder switching stress test.
Reduced the total number of iterations for all the stress loop.

Change-Id: I447f8060fadd0599c160727fb7dda8a4cc384656
ediaRecorderStressTest.java
68ba8b919f8659711b85d8c5bd8a5cb013f441bc 08-Jan-2013 Jason Noguchi <jnoguchi@google.com> am e71bb772: am f9719d11: am daf9b7d1: am 3f72bf32: Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record durati

* commit 'e71bb7722b26ba2ada948ce3dbd626f14aabeb68':
Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute.
3f72bf323f977b367ceaee5ace321098cb7b74f4 08-Jan-2013 Jason Noguchi <jnoguchi@google.com> Merge "Refactoring the media recorder stress test. Added test cases for: - record & playback @ 1080p - record & playback @ 720p - record & playback @ 480p - record & playback @ custom Plus extending the record duration to a full minute." into jb-mr1-dev
8d73c043c8c4fe5af8963bbe5c29a47a3dff2677 08-Jan-2013 Jason Noguchi <jnoguchi@google.com> am be6ff0b8: am 66480258: am ba5fd35e: am 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev

* commit 'be6ff0b83659dffa0c7c290c520474eda70bee07':
Adding camera scene mode stress test.
ca6a5eee8f72742298d28d8a4b8e1bd32020a237 11-Dec-2012 Jason Noguchi <jnoguchi@google.com> Refactoring the media recorder stress test.
Added test cases for:
- record & playback @ 1080p
- record & playback @ 720p
- record & playback @ 480p
- record & playback @ custom
Plus extending the record duration to a full minute.

Change-Id: I294714811606c1ae57907d6ef6a7052044b6247c
ediaRecorderStressTest.java
bac8666893ee6d0074db7fa7f995de04598013b1 11-Dec-2012 Jason Noguchi <jnoguchi@google.com> Adding camera scene mode stress test.

Change-Id: I3f9afef4edc6ea1f659263bf2dbd8ca247039ce0
ameraStressTest.java
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
ideoEditorStressTest.java
e60393ae7168e97922dd7d4821a69d5546a6a522 11-Jul-2012 Yu Shan Emily Lau <yslau@google.com> Remove the unnecssary intent call.

Change-Id: Ia0a460ca8532ccb2f4b0f0205d192b1ba907b5b6
ediaPlayerStressTest.java
7b996d19afcc7030400b515a665d28523a44bb18 31-May-2012 James Dong <jdong@google.com> Fix a test case failure when there is no back-facing camera on a device

Change-Id: I427b2e03b266ff2d92c6fe64f732a256d285020e
related-to-bug: 6538628
ediaRecorderStressTest.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
ameraStressTest.java
ediaRecorderStressTest.java
c0c4a20c0fe56c2b64e4adb2df3f30d7eb62abaf 04-Apr-2012 Jason Noguchi <jnoguchi@google.com> am a72a06f3: am f5693a6a: am a784b3de: Fix build break introduced by missing parenthesis in camera stress test.

* commit 'a72a06f37ecdd615fb2a29faed99c7f128196211':
Fix build break introduced by missing parenthesis in camera stress test.
a784b3dea15dd0dfedfe25552b87fbb92a5eea52 04-Apr-2012 Jason Noguchi <jnoguchi@google.com> Fix build break introduced by missing parenthesis in camera stress test.

Change-Id: I8da9321a7674dbbe48cc0c214c0b043fbce8eeab
ameraStressTest.java
b7cc80d8f3f60f0e1f645e6487913aa2d6a32d0b 04-Apr-2012 Jason Noguchi <jnoguchi@google.com> am a5408a8c: am 34a4e519: am 6e6d8df5: Merge "Adding camera zoom test to mediaframework stress suite." into ics-mr1

* commit 'a5408a8c75a2839f1b0704f024cc4e523830c128':
Adding camera zoom test to mediaframework stress suite.
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
ediaPlayerStressTest.java
ediaRecorderStressTest.java
41d88d5f58ede432c7574c55b388dc390b08dc3b 22-Feb-2012 Jason Noguchi <jnoguchi@google.com> Adding camera zoom test to mediaframework stress suite.

Change-Id: I3ee72156f42cf189ff1d0bd469f83b938a6b87ff
ameraStressTest.java
8790b57588171126fbdaba1a65ba9269be2a5baf 02-Mar-2012 Yu Shan Emily Lau <yslau@google.com> am 353b61a8: am 0ddfe24a: am eb4f3256: Set the video encoding bit rate for the media recorder stress test.

* commit '353b61a87d9eb0ee223bdda76c30a1364441d962':
Set the video encoding bit rate for the media recorder stress test.
eb4f3256b77fe7fd783297a550a64ea441c41169 01-Mar-2012 Yu Shan Emily Lau <yslau@google.com> Set the video encoding bit rate for the media
recorder stress test.

Change-Id: I1fa5965d2ba0e17be97ff3b9bd8df3df4e438087
ediaRecorderStressTest.java
eb5698a6b98b73d6b3cc136af6eb1ad235e2420f 28-Feb-2012 Jason Noguchi <jnoguchi@google.com> am a1de5e48: am 743aceec: am ee329930: Merge "Adding time lapse test to mediaframework stress suite." into ics-mr1

* commit 'a1de5e48125797b5a6fcc43b68ddfd3d9d831e87':
Adding time lapse test to mediaframework stress suite.
27c8d9ba169aa85127fac65d6df25e4335ee2fca 18-Feb-2012 Jason Noguchi <jnoguchi@google.com> Adding time lapse test to mediaframework stress suite.

Change-Id: Ia244352cd16f77c090c4f1dad6f9b09a8b3e8f47
ediaRecorderStressTest.java
d5ade1364b2c9bd452400fbee52273a3826ec105 22-Feb-2012 James Dong <jdong@google.com> Removed out-of-date TODO in video editor performance/stress test cases

o also fixed a typo

Change-Id: I4f11265da77658f642e382cdfe76862d90a3b548
ideoEditorStressTest.java
d8f7c2c2dcc9548bc8808e648904c918ecd1d1ba 09-Sep-2011 Devaraj Rangasamy <dev@ti.com> MTS Recorder Test: Use VideoFrameRate from Device Camcorder Profile

MTS tests have hardcoded video framerates.
MTS can query the video framerate supported by device via
Camcorder profiles and use.

Change-Id: I61666df6af58eaba46f7366521cc114184cb4ac5
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
ediaRecorderStressTest.java
3ced044154945f9d60983032278e00fe28f4ab1b 13-Aug-2011 Rajneesh Chowdury <rajneeshc@google.com> Fix for 4142219 Don't hard code platform-specific limitations (Jni/ Java)

Also fixes 5118207 add other video codec support for video editor export.

Change-Id: If72427173bd8ff684af07ba00f4425c1deef29c6
ideoEditorStressTest.java
2d06aee09507252ba6703ecd2c4f9f356048e6ad 17-Mar-2011 shailendra <shailendray@google.com> Fix for Media Server memory leak

bug - 4081123

Change-Id: Ic88c13f8006227cff2c91a31f5d1828d007125af
ideoEditorStressTest.java
0c6a5182ed7b7d6bf25785f41b3a45bf2f48c989 25-Feb-2011 Basavapatna Dattaguru <dattaguru@google.com> VideoEditor: Issue:3396697: Update Perf and Stress test code

Change-Id: Ifd90e8e1fdff1a04d47a3ae65813584cab78255c
ideoEditorStressTest.java
f1f9ff28c3acae5cb4eb309f28e7872aff35eff6 14-Feb-2011 Basavapatna Dattaguru <dattaguru@google.com> VideoEditor:IssueID:3396697: Added Performance test code

Updated with review comments: MediaFrameworkStressTestRunner.java deleted
Updated with growing heap report in Stress test case

Change-Id: I847f8810e2b844015c47b7d24e488a611d85287c
ideoEditorStressTest.java
414e15309cfcfd792cb63b53ea6b2b4f426ae7d4 18-Feb-2011 Yu Shan Emily Lau <yslau@google.com> Fixed the media playback report format.

Change-Id: I8b943f8cd914acc6c9ee81a71f0efbecece7263e
ediaPlayerStressTest.java
ce6ff2c2e6f5ac1d4e86c94b68587b8634032908 17-Feb-2011 Yu Shan Emily Lau <yslau@google.com> Update the summary output format which match the PM data posting.

Change-Id: I3e3f7313020da6d0d219acd90ac9edc8a4d0bce4
ediaPlayerStressTest.java
85305f04d52e921de0452a1efef01175b1bbac3c 16-Feb-2011 Yu Shan Emily Lau <yslau@google.com> Change the media player stress test to repor the total number of failure and the total number of info.
Register the surface callback in the test application bug# 2909064

Change-Id: I3420b5bc81e276b50f612c126ed5fc1f4f16c08c
ediaPlayerStressTest.java
a58389bdc1f3c41014003ab6e1a5e9a0ca37d789 08-Feb-2011 Yu Shan Emily Lau <yslau@google.com> Remove the old media player stress test.
Add the new playback stress that which caputred the total number of crashes, frame drops from a list of video which
side-loaded to the device.

Change-Id: I41d54b5286da0aecb52a37feec176d8ae5456d9e
ediaPlayerStressTest.java
4b9969af57137736e70df68844f198a3b69fcb4c 27-Jan-2011 Basavapatna Dattaguru <dattaguru@google.com> Revert "Fixes Issue ID: 3396697"

This reverts commit 8b9ba616444a265df6cd2b4f4a0a39d808c65ade.
ideoEditorStressTest.java
8b9ba616444a265df6cd2b4f4a0a39d808c65ade 18-Jan-2011 Basavapatna Dattaguru <dattaguru@google.com> Fixes Issue ID: 3396697

Updated with annotation LargeTest

Copyright changed to 2011

Review reworked and with new test contents

Video Editor CTS Test code

Change-Id: Ia37956ef39fafcc5d969996c1791fce8663aa0fe
ideoEditorStressTest.java
25d7094279d2eeda0b18a2ca0104d672c4b3c8e5 06-Dec-2010 James Dong <jdong@google.com> Log the exception cause for better problem analysis

Change-Id: Ia1f81adb6fc3be87098c9399509b68d5daf7f2da
ediaRecorderStressTest.java
a76e7efde89424712ab2bddba2f8dc1472c2f203 14-Nov-2010 James Dong <jdong@google.com> Disable flaky streaming server check

o Although the streaming server is available, the check fails most of the time.

Change-Id: I1084e715605541c4fc3d40e4055db90ddb118b6f
ediaPlayerStressTest.java
93aa00c664ae59c2224853f14d30a6671c467ef0 26-Oct-2010 Yu Shan Emily Lau <yslau@google.com> Add the mediaplayer release in the test validation. This is to ensure the media player release properly.

Change-Id: Ia4758a3c549b64b6efead18e7538d977dee2be76
ediaRecorderStressTest.java
79a3981e3885b9144bb3d458682141eed7365939 05-Oct-2010 Jeff Brown <jeffbrown@google.com> Fix Looper leaks in MediaRecorderStressTest.

The test was failing periodically due to too many files being open.
This change attempts to resolve the problem on the theory that
signaling pipe file descriptors are being leaked due to the large
number of Looper instances created during the test run.

However, it's still possible there are other leaks elsewhere.

Change-Id: I71f9f12d21605c47c9217c72c51e6c768142ce10
ediaRecorderStressTest.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
ediaRecorderStressTest.java
b1ce51fb73b6d7ad5773e06ec32dedc6e4d42f4a 20-Nov-2009 Yu Shan Emily Lau <yslau@google.com> Add the checking for mediaplayer stress test.
ediaPlayerStressTest.java
c060d86f7dcc2759b94867e5c0c1105b31af5309 10-Nov-2009 Gloria Wang <gwang@google.com> Check whether test server is up before running tests which use streaming files.
ediaPlayerStressTest.java
13b93713f36d64783f3199c83b37ca58d8ff35bd 27-Oct-2009 Yu Shan Emily Lau <yslau@google.com> Fixed the H263 video duation which caused the incorrect video validation.
ediaPlayerStressTest.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.
ediaPlayerStressTest.java
55a6ac8c542ae831b0d041360cab4bbc7212ade5 30-Sep-2009 Yu Shan Emily Lau <yslau@google.com> Fixed the long recorder time and reduce the number of loops.
ediaPlayerStressTest.java
ediaRecorderStressTest.java
20a6b955fe4ea5ba4025f16ba2da013df176c035 16-Sep-2009 Yu Shan Emily Lau <yslau@google.com> modified: MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java
Added the error callback to handle the media server crash.

modified: MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java
ediaRecorderStressTest.java
147a0c270b5a6078218496b17df9eab70b358b67 12-Sep-2009 Yu Shan Emily Lau <yslau@google.com> modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
Fix the m4a1 duration and the also fix the random_seek time error in the stress test.

modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
ediaPlayerStressTest.java
f47b8e991f60aac8a8f4e6e710cf5eb7cfb3a05a 26-Jun-2009 Yu Shan Emily Lau <yslau@google.com> Added two test cases to trace the failure in closing the hw decoder and the current playtime is greater than the duration.
ediaPlayerStressTest.java
f16da13585ac22bb8d8fe7538509c2726bb06f29 24-Jun-2009 Yu Shan Emily Lau <yslau@google.com> Export the output to a text file and save to sdcard
ediaRecorderStressTest.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ediaRecorderStressTest.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ediaRecorderStressTest.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
ediaRecorderStressTest.java