summaryrefslogtreecommitdiffstats
path: root/media/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix a test case failure when there is no back-facing camera on a deviceJames Dong2012-05-301-51/+53
| | | | | Change-Id: I427b2e03b266ff2d92c6fe64f732a256d285020e related-to-bug: 6538628
* Added support for HE-AAC recording.Dave Burke2012-04-301-4/+2
| | | | | | | | Not unhiding HE-AACv2 since that requires stereo mics. Bug: 6275957 Change-Id: I953a6d21e615c8fd23f9390e3c86d63089f5fb75
* Unhide APIs for timed text and multiple audio track switch APIsJames Dong2012-04-271-1/+1
| | | | | | | | | | | | | | | o made all the member variables in helper classes for TimedText to be public and final since they are read-only o removed Text and TextPos helper classes o added two public methods in TimedText class: getText() and getBounds() o cleaned up the javadoc of related methods in MediaPlayer.java and TimedText.java classes o make the inner classes of TimedText static and final o change invoke and let it throw RuntimeException on failure (thus a test class needs to be modified also). o related-to-bug: 6110705,5542712 Change-Id: Ia1dd1fd5eb8e9fd1b61c6c0d67405edb627a3002
* Fix the test cases which fail to launch the cameraYu Shan Emily Lau2012-04-265-7/+14
| | | | | | in the device which only has one camera. Change-Id: Ia34087715e49f1aa3e86f3f85cb4e77168323321
* Add functional tests for Visualizer volume scaling modeJean-Michel Trivi2012-04-191-0/+116
| | | | | | | | | Add test to set/get the volume scaling mode. Add test to verify that volume decreases diminish the commputed energy. Change-Id: I0a5d45d064a46a18e5c4b9d7a304c9572f100cdf
* Merge "Insert the 2 seconds before test start to workaround the race ↵Yu Shan Emily Lau2012-04-041-16/+19
|\ | | | | | | conditon for requesting the surface."
| * Insert the 2 seconds before test start toYu Shan Emily Lau2012-04-041-16/+19
| | | | | | | | | | | | | | workaround the race conditon for requesting the surface. Change-Id: Ic8ba358400492860b0d38fc71468ea4bb4d3d7bd
* | am a72a06f3: am f5693a6a: am a784b3de: Fix build break introduced by missing ↵Jason Noguchi2012-04-031-1/+1
|\ \ | | | | | | | | | | | | | | | | | | parenthesis in camera stress test. * commit 'a72a06f37ecdd615fb2a29faed99c7f128196211': Fix build break introduced by missing parenthesis in camera stress test.
| * \ am a784b3de: Fix build break introduced by missing parenthesis in camera ↵Jason Noguchi2012-04-031-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | stress test. * commit 'a784b3dea15dd0dfedfe25552b87fbb92a5eea52': Fix build break introduced by missing parenthesis in camera stress test.
| | * | Fix build break introduced by missing parenthesis in camera stress test.Jason Noguchi2012-04-031-1/+1
| | | | | | | | | | | | | | | | Change-Id: I8da9321a7674dbbe48cc0c214c0b043fbce8eeab
* | | | am a5408a8c: am 34a4e519: am 6e6d8df5: Merge "Adding camera zoom test to ↵Jason Noguchi2012-04-033-7/+331
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | mediaframework stress suite." into ics-mr1 * commit 'a5408a8c75a2839f1b0704f024cc4e523830c128': Adding camera zoom test to mediaframework stress suite.
| * | am 6e6d8df5: Merge "Adding camera zoom test to mediaframework stress suite." ↵Jason Noguchi2012-04-033-7/+331
| |\ \ | | |/ | | | | | | | | | | | | | | | into ics-mr1 * commit '6e6d8df5d0ad0f97be8344c78aa4d70dadceb9a8': Adding camera zoom test to mediaframework stress suite.
| | * Adding camera zoom test to mediaframework stress suite.Jason Noguchi2012-03-223-7/+331
| | | | | | | | | | | | Change-Id: I3ee72156f42cf189ff1d0bd469f83b938a6b87ff
* | | 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