summaryrefslogtreecommitdiffstats
path: root/media/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove JNI in LOCAL_C_INCLUDE from non-JNI related Android.mk files.James Dong2012-03-241-1/+0
| | | | | | o related-to-bug: 6214141 Change-Id: Ic88d1732b3e014af47532a0809e01f6086e8464d
* Insert 2 seconds wait in each test case setup.Yu Shan Emily Lau2012-03-233-2/+12
| | | | | | | This is the work around for the surface request race condition. Change-Id: Iaf8be12cfe4eb70d0a309ad875f38427181ac4b4
* Switched to use the header files in /frameworks/nativeJames Dong2012-03-121-2/+2
| | | | | | | | and deleted the duplicate header files in /frameworks/base o related-to-bug: 6044887 Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
* am 353b61a8: am 0ddfe24a: am eb4f3256: Set the video encoding bit rate for ↵Yu Shan Emily Lau2012-03-011-0/+1
|\ | | | | | | | | | | | | the media recorder stress test. * commit '353b61a87d9eb0ee223bdda76c30a1364441d962': Set the video encoding bit rate for the media recorder stress test.
| * am eb4f3256: Set the video encoding bit rate for the media recorder stress test.Yu Shan Emily Lau2012-02-291-0/+1
| |\ | | | | | | | | | | | | * commit 'eb4f3256b77fe7fd783297a550a64ea441c41169': Set the video encoding bit rate for the media recorder stress test.
| | * Set the video encoding bit rate for the mediaYu Shan Emily Lau2012-02-291-0/+1
| | | | | | | | | | | | | | | | | | recorder stress test. Change-Id: I1fa5965d2ba0e17be97ff3b9bd8df3df4e438087
* | | am a1de5e48: am 743aceec: am ee329930: Merge "Adding time lapse test to ↵Jason Noguchi2012-02-282-12/+102
|\ \ \ | |/ / | | | | | | | | | | | | | | | mediaframework stress suite." into ics-mr1 * commit 'a1de5e48125797b5a6fcc43b68ddfd3d9d831e87': Adding time lapse test to mediaframework stress suite.
| * | am ee329930: Merge "Adding time lapse test to mediaframework stress suite." ↵Jason Noguchi2012-02-282-12/+102
| |\ \ | | |/ | | | | | | | | | | | | | | | into ics-mr1 * commit 'ee329930956c88d3c2cbcbb6da01abde4b40b2e8': Adding time lapse test to mediaframework stress suite.
| | * Adding time lapse test to mediaframework stress suite.Jason Noguchi2012-02-222-12/+102
| | | | | | | | | | | | Change-Id: Ia244352cd16f77c090c4f1dad6f9b09a8b3e8f47
| * | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)Steve Block2012-01-191-1/+1
| | | | | | | | | | | | Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
| * | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)Steve Block2012-01-191-1/+1
| | | | | | | | | | | | Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
| * | Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)Steve Block2012-01-191-2/+2
| | | | | | | | | | | | Change-Id: I44f267700356967dc51e8f85ebf457dc85cfb229
| * | Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)Steve Block2012-01-191-1/+1
| |/ | | | | | | Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
* | Removed out-of-date TODO in video editor performance/stress test casesJames Dong2012-02-222-29/+1
| | | | | | | | | | | | o also fixed a typo Change-Id: I4f11265da77658f642e382cdfe76862d90a3b548
* | Move away from MediaDebug and use ADebug insteadJames Dong2012-02-104-6/+7
| | | | | | | | Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
* | More AudioManager testsJean-Michel Trivi2012-01-241-2/+175
| | | | | | | | | | | | | | | | | | Add tests for AudioFocus: - create a looper for AudioManager to use so listener callbacks can be used - test each type of audio focus gain causes the expected type of focus loss - stress test audio focus request and abandon, with and without a listener Change-Id: I7d9c84ccd8ea49cf20ede57b1245899a81e99ab0
* | Remove obsolete TODO commentsJames Dong2012-01-196-139/+4
| | | | | | | | Change-Id: Ie2353f11c4bbea5699cf9b824bb4b6aa113e3472
* | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* | Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-2/+2
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
* | Merge "Fix audio effect tests"Eric Laurent2011-12-073-0/+18
|\ \
| * | Fix audio effect testsEric Laurent2011-11-183-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that audio effect tests relying on audio to actually play on the music stream are not affected by current ringer mode. Silent mode can mute music stream on tablets. Issue 5638685. Change-Id: Icdf14696986145ae3f50fc15d358335487d3525f
* | | am 2be608f8: am 6db79c35: Merge "Fix for issue 5712743 video editor ↵Hong Teng2011-12-061-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | functional test : testPreviewDuringExport fails -Correct the invalid filename, which contains control character. And with the invalid filename, the cts fails only on crespo, but passes on stingray an * commit '2be608f88cd469b40a472551f22a9d40903beede': Fix for issue 5712743 video editor functional test : testPreviewDuringExport fails -Correct the invalid filename, which contains control character. And with the invalid filename, the cts fails only on crespo, but passes on stingray and prime.
| * | Fix for issue 5712743 video editor functional test : testPreviewDuringExport ↵Hong Teng2011-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | fails -Correct the invalid filename, which contains control character. And with the invalid filename, the cts fails only on crespo, but passes on stingray and prime. Change-Id: I77862e55e8ee990f72f617a804f26fd724914b5b
* | | am 5126f1d4: am 613ed4c6: Merge "Fixd for 5490443 Native crash while ↵Hong Teng2011-12-021-3/+35
|\ \ \ | |/ / | | | | | | | | | | | | | | | exporting a video - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, * commit '5126f1d413b4fcb0aff5b364e1e5a41c89ca665c': Fixd for 5490443 Native crash while exporting a video - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, the application must implement the onError method, and then VideoEditorPreviewTest.java is changed accordingly.
| * | Merge "Fixd for 5490443 Native crash while exporting a video - Add new ↵Hong Teng2011-12-021-3/+35
| |\ \ | | | | | | | | | | | | onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, the application must implement the onError method, and then VideoEditorPreviewTest.java is changed accordingly." into ics-mr1
| | * | Fixd for 5490443 Native crash while exporting a videoHong Teng2011-12-011-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add new onError callback to PreviewProgressListener, which is used to indicate video editor application for the error that has occurred during priviewing. With this modification, the application must implement the onError method, and then VideoEditorPreviewTest.java is changed accordingly. Change-Id: I15610b8907fcf8bd35a3c69ad7c07b5175a6e309
* | | | Add README for media "automated" testsGlenn Kasten2011-12-011-0/+10
| | | | | | | | | | | | | | | | Change-Id: I92e611fb6df2d870ded9e246963277ecc35b0d15
* | | | am 77d1ebbd: am 4e5d3f2c: Merge "Add the min fps option to set the min fps ↵Yu Shan Emily Lau2011-11-283-65/+104
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | in the media recorder test. Add the procmem log to the media memory stress test." into ics-mr1 * commit '77d1ebbd7bd42d849911e680a63eec02e8b444db': 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.
| * | Add the min fps option to setYu Shan Emily Lau2011-11-283-65/+104
| |/ | | | | | | | | | | | | | | the min fps in the media recorder test. Add the procmem log to the media memory stress test. Change-Id: Icf82f12adeca7072a171991d1d6a994e4bb7764a
* | resolved conflicts for merge of 26f70db9 to masterAndreas Huber2011-11-081-1/+0
|\ \ | |/ | | | | Change-Id: Ib1536b1a4c9eeff80e0726b3e61cee12057cd120
| * Merge "Remove surface legacy APIs and code." into ics-mr1Andreas Huber2011-11-081-1/+0
| |\
| | * Remove surface legacy APIs and code.Andreas Huber2011-10-281-1/+0
| | | | | | | | | | | | | | | | | | All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
* | | am 1f85f1dc: Merge "Remove unreliable effect tests." into ics-mr1Eric Laurent2011-11-033-253/+0
|\ \ \ | |/ / | | | | | | | | | * commit '1f85f1dc6ebe3c79ce753f0f9c2f9fa7f29f493d': Remove unreliable effect tests.
| * | Remove unreliable effect tests.Eric Laurent2011-11-023-253/+0
| |/ | | | | | | | | | | | | | | | | | | | | Remove automated tests checking that audio effects are actually processing the signal based on visualizer captures. This method is too unreliable when used to measure energy at given frequencies and often gives false negatives. Issue 5542879. Change-Id: Ib31158fd84ff9edc85712ec03c0c9957370c8f84
* | Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-1/+1
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Refactor FileInserter in MediaScanner and adding unit tests for the newly ↵Dongwon Kang2011-10-103-0/+253
| | | | | | added class. Change-Id: Ia0e8c95239916fd4c21cb5bf10ac94201e6eb6f1
* Wait for some time before stopping the media recorder.Gloria Wang2011-09-301-0/+12
| | | | | | Fix for bug 5239001. Change-Id: Ifa18a404e8568cced88a93b8d1a7125875aadb15
* am b2d17234: Merge "Reorganize media framework functional tests. Group tests ↵Xia Wang2011-09-2818-50/+46
|\ | | | | | | | | | | | | into sub-packages" into ics-factoryrom * commit 'b2d17234b77cda555905e0da997f543708374246': Reorganize media framework functional tests. Group tests into sub-packages
| * Reorganize media framework functional tests.Xia Wang2011-09-2718-50/+46
| | | | | | | | | | | | Group tests into sub-packages Change-Id: I878e14487142de495fc646037d5d0b51e39341bd
* | Fix issue 5355047: Automated effect tests fail.Eric Laurent2011-09-236-46/+77
|/ | | | | | | | | | | | | | | Fixed several regressions in automated audio effect tests due to changes in effect framework and visualizer FFT output range. - Do not suspend Volume effect on session 0 when effects are enabled on specific sessions. - Adapt energy detection thresholds to new visualizer FFT range. - Leave more time for BassBoost and Virtualizer effects to ramp up before measuring the effect. - Removed second insert reverb left by mistake on the player session in preset reverb test. Change-Id: I7a1ad1372d783fa7900eb9dd1d3b47f54d8d766f
* Fix for bug 5309242 [Prime] VideoEditorAPITest testVideoContentHD failedRajneesh Chowdury2011-09-141-2/+5
| | | | Change-Id: Ibd52a3bda8e1cb17f1c110cc219f2c71a46e5122
* MTS Recorder Test: Use VideoFrameRate from Device Camcorder ProfileDevaraj Rangasamy2011-09-091-2/+2
| | | | | | | | | 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>
* Merge "Fix another hardcoded frame rate in the media framework test"James Dong2011-09-093-14/+25
|\
| * Fix another hardcoded frame rate in the media framework testJames Dong2011-09-073-14/+25
| | | | | | | | | | Change-Id: I7d7f9d0812a0228dbf924084a32dbede0338b421 related-to-bug: 5264298
* | Fix 5278371: OOM in MediaItemThumbnailTestChih-Chung Chang2011-09-091-1/+1
|/ | | | | | | | | Because we request 400x240 thumbnails. 100 thumbnails needs 38M, which is too much. Change it to 70 now. Also handle the case if the thumbnail callback throws exception. Change-Id: Iac4ee72f308b7c7a6ae860983197601cf89bee8f
* Use device-dependent frame rate in the media recorder performance testJames Dong2011-09-061-5/+26
| | | | | Change-Id: I778eca69c4acb9842f600c6ae23e7a89fb2e55f4 related-to-bug: 5264298
* Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afcJamie Gennis2011-08-301-1/+4
|\ | | | | | | | | | | | | | | * changes: MediaDump: use the MediaPlayer#setSurface method HTML5VideoView: switch to MediaPlayer#setSurface MediaPlayer: unhide the setSurface method Surface: unhide the SurfaceTexture ctor
| * MediaDump: use the MediaPlayer#setSurface methodJamie Gennis2011-08-291-1/+4
| | | | | | | | | | | | | | | | This change updates the MediaDump test to use the new MediaPlayer#setSurface method in place of MediaPlayer#setTexture, which will be removed. Change-Id: I33f59705c728f0884452d45cf83cb5b80f66a95a
* | The test application falsely reports that the test result even if the test ↵James Dong2011-08-291-7/+11
|/ | | | | | failed. Change-Id: Ia632f04da73642dc4c1e3147b16664b5672108bc