summaryrefslogtreecommitdiffstats
path: root/media/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Refactor of camera stress test to add camera test helper. Also add ↵Jason Noguchi2013-05-306-197/+995
|\ | | | | | | additional functional tests for: flash, exposure, white balance, and focus mode. Also add pairwise tests." into jb-mr2-dev
| * Refactor of camera stress test to add camera test helper. Also addJason Noguchi2013-05-286-197/+995
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update test with CamercorderProfile video size.Yu Shan Emily Lau2013-05-231-16/+15
| | | | | | | | | | Bug:9114681 Change-Id: Id8ac6e98849715d21cd4a983fc13935debea5e5f
* | Fix buildMarco Nelissen2013-05-101-0/+5
| | | | | | | | Change-Id: I2eb54a936630094b4bd9c19a944579670a4e0bb8
* | Fix buildMarco Nelissen2013-05-101-0/+5
|/ | | | Change-Id: I4afe65f73d8607a97a561615ebfc34aadfe00b95
* Add liblogYing Wang2013-04-092-1/+3
| | | | | Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
* audio service: add config option for fixed volumeEric Laurent2013-03-211-4/+11
| | | | | | | | | | | | | | | | | | | | | Add a boolean configuration option config_useFixedVolume indicating if stream volumes or master volume can be modified. If the option is true, the AudioManager volume and mute APIs will be no ops and the volumes will be maxed out. To be consistent: - the ringer mode is forced to normal and cannot be modified - volume panel is never displayed - volume settings are not available - ringer mode global action is not displayed. The default for this option if false. This is useful for a class of devices intended for connection to a digital audio output only, where the volume is directly controlled on the audio sink. Bug 8161458 Change-Id: I2571d5ee79952ef0914d8fd1985816467a80adcd
* Fix the media memeory stress test.Yu Shan Emily Lau2013-03-192-2/+12
| | | | | | | | | | The media memory stress test used the ps mediaserver to capture the memory usage of mediaserver. As the media.log is enabled recently, when runnign the ps mediaserver, it will show both entries. The fix is simply skip the first two lines and parse the laste output. Change-Id: Ib2a4ba7936505b4ea24463bf8a5af2c499b71138
* Media test clean up.Yu Shan Emily Lau2013-03-142-161/+3
| | | | | | | | | 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
* am a7110fd1: Merge "Fix build."Dianne Hackborn2013-01-161-9/+16
|\ | | | | | | | | * commit 'a7110fd19aa1a2aaa1d84fdb038c02dec4ec9c50': Fix build.
| * Fix build.Dianne Hackborn2013-01-161-9/+16
| | | | | | | | Change-Id: I068539623b3b133793fc9b8188d876eca59a8281
* | am ceea8857: am 68ba8b91: am e71bb772: am f9719d11: am daf9b7d1: am ↵Jason Noguchi2013-01-092-175/+224
|\ \ | |/ | | | | | | | | | | 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 e * commit 'ceea88578ce53bdee96c561cd5fa5dae725f9a7b': 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.
| * am 68ba8b91: am e71bb772: am f9719d11: am daf9b7d1: am 3f72bf32: Merge ↵Jason Noguchi2013-01-092-175/+224
| |\ | | | | | | | | | | | | | | | | | | "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 * commit '68ba8b919f8659711b85d8c5bd8a5cb013f441bc': 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.
| | * am e71bb772: am f9719d11: am daf9b7d1: am 3f72bf32: Merge "Refactoring the ↵Jason Noguchi2013-01-072-175/+224
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * Merge "Refactoring the media recorder stress test. Added test cases for: - ↵Jason Noguchi2013-01-072-175/+224
| | | |\ | | | | | | | | | | | | | | | 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
| | | | * Refactoring the media recorder stress test.Jason Noguchi2013-01-032-175/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | am 9964fd37: am 8d73c043: am be6ff0b8: am 66480258: am ba5fd35e: am ↵Jason Noguchi2013-01-091-54/+135
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | 7b4e597f: Merge "Adding camera scene mode stress test." into jb-mr1-dev * commit '9964fd37a6d7f30ce96f854f8e67df192f4213be': Adding camera scene mode stress test.
| * | | | am 8d73c043: am be6ff0b8: am 66480258: am ba5fd35e: am 7b4e597f: Merge ↵Jason Noguchi2013-01-091-54/+135
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | "Adding camera scene mode stress test." into jb-mr1-dev * commit '8d73c043c8c4fe5af8963bbe5c29a47a3dff2677': Adding camera scene mode stress test.
| | * | | am be6ff0b8: am 66480258: am ba5fd35e: am 7b4e597f: Merge "Adding camera ↵Jason Noguchi2013-01-071-54/+135
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | scene mode stress test." into jb-mr1-dev * commit 'be6ff0b83659dffa0c7c290c520474eda70bee07': Adding camera scene mode stress test.
| | | * | Adding camera scene mode stress test.Jason Noguchi2013-01-021-54/+135
| | | |/ | | | | | | | | | | | | Change-Id: I3f9afef4edc6ea1f659263bf2dbd8ca247039ce0
* | | | Merge "Update framework to support r5967 of Skia." into master-chromiumDerek Sollenberger2012-12-191-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Update framework to support r5967 of Skia.Derek Sollenberger2012-12-121-0/+1
| |/ / | | | | | | | | | | | | bug: 6906025 Change-Id: Iefdb830ec3aa2ab3472c1c142484a7aa21788a15
* | | Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I08e677faf2ebb418ef131d0a8008e01037db0e50
* | | Turn off execute bit for ordinary media filesGlenn Kasten2012-11-1520-0/+0
|/ / | | | | | | Change-Id: Idbb4f793307d4e1c4af289f855bd4a1a781722db
* | am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root2012-11-0738-0/+0
|\ \ | |/ |/| | | | | * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
| * Correct executable bit for source filesKenny Root2012-11-0739-0/+0
| | | | | | | | | | | | | | | | | | 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
* | Append the test case name in the beginningYu Shan Emily Lau2012-10-171-0/+1
| | | | | | | | | | | | of the test log. Change-Id: I621286274d84bfff474f1cc1e01353b3fd66dc23
* | Fix the NPE for the memwriter.Yu Shan Emily Lau2012-10-171-5/+4
| | | | | | | | Change-Id: Id3a5c8f29b0f6be994ea95eb62f1a0eec8fe75b5
* | Instead of collecting the procmem output inYu Shan Emily Lau2012-10-092-38/+41
| | | | | | | | | | | | | | the test, change it as optional. This is to avoid the tool breakage will block the whole memory test sutie. Change-Id: Ia7425531ca2151230d7fd98eb710f282e166b4f7
* | Visualizer only works on sounds >5 sec.Marco Nelissen2012-09-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Various media framework tests use a Visualizer to look at the output of another effect, but this requires the played file to be longer than 5 seconds. b/4571740 b/7173543 b/7173545 b/7175623 Change-Id: I066a737542bb50e7245fef99f9e11ae8f2aadd6c
* | Activity.onStop(Bundle) does not existMarco Nelissen2012-09-171-1/+3
| | | | | | | | | | | | | | | | Since that method doesn't exist, the MediaFrameworkTest wake lock was never released, which caused the test to be killed when the GC collected the still active wake lock. Change-Id: Iee2c0478470be987ade405a45abf42ca61b681ab
* | EffectsTest enhancementsMarco Nelissen2012-09-116-1/+34
| | | | | | | | | | | | | | Fix the session edit boxes, and make the effects list more readable by translating known effect type UUIDs Change-Id: I67e78d8d2781c5a56fa35d994bc21911d15f8715
* | Audio Effects test appMarco Nelissen2012-09-0623-0/+4593
|/ | | | Change-Id: I93fff0e195af3205207ade32ab31f2a760574c7f
* Remove the unnecssary intent call.Yu Shan Emily Lau2012-07-101-11/+5
| | | | Change-Id: Ia0a460ca8532ccb2f4b0f0205d192b1ba907b5b6
* 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