summaryrefslogtreecommitdiffstats
path: root/media/tests/MediaFrameworkTest/src
Commit message (Collapse)AuthorAgeFilesLines
* Camera2: Add CameraDevice#flush()Eino-Ville Talvala2013-08-231-0/+30
| | | | | | | - For quickly clearing out all pending and in-progress captures Bug: 9758581 Change-Id: Ie4123fcc4d4b648a11d4a6257c531f07182bab39
* Add the checking for the camcorder profile.Yu Shan Emily Lau2013-08-191-43/+55
| | | | | | | | Not all the devie have camera. Only run the recording test when the camcorder profile is not null. Change-Id: Ib38df363fe5e6049b72e97ae229964fb65882269
* Camera2: Remove redundant Keys classesEino-Ville Talvala2013-08-191-2/+2
| | | | | | | Also update tests accordingly Bug: 10345522 Change-Id: I8c7d17cdfbda6faba09134745a96089bf1b70cb7
* Refactor CameraService to handle errors properly.Ruben Brunk2013-08-162-13/+24
| | | | | | | | Bug: 10361136 - Connect calls now return status_t error flags. Change-Id: Ibce9ab047348cfcade7e70a2ef03f5a833e13af8
* am 3a5e2013: am ebbcc18e: am 4032217e: Merge "Add option for video playback ↵Xia Wang2013-08-052-14/+23
|\ | | | | | | | | | | | | test to accept media source path." into jb-mr2-dev * commit '3a5e2013a1296065a4674bdc43f357d3a352a6e9': Add option for video playback test to accept media source path.
| * Add option for video playback test to accept media source path.Xia Wang2013-07-112-14/+23
| | | | | | | | | | | | This allows the stress test to be able to streaming video over network. Change-Id: Ie0089c1ba2a076c9c1325934643c2f22f2ca9866
* | MediaFrameworkTest: Add camera capture result callback testZhijun He2013-08-022-155/+109
| | | | | | | | | | | | Also refactor the code to reduce code duplication. Change-Id: I428ad73510043ebf9e62cd7841bfdb683c96f9bc
* | Camera2 API: Rename package to android.hardware.camera2Eino-Ville Talvala2013-07-308-26/+26
| | | | | | | | Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c
* | camera2: Implement CameraDevice#waitUntilIdleZhijun He2013-07-232-0/+46
| | | | | | | | | | | | Also cleanup some logging/comments. Change-Id: Id1a4dd853519802a2b74b8d2172095ba388329e6
* | MediaFrameworkTest: Fix camera unit test failureZhijun He2013-07-221-2/+2
| | | | | | | | | | | | Fix for testSubmitStreamingRequest failure Change-Id: I2e22a56b3da90112a668c2185b05eb9288cde392
* | camera2 api: marshal rect, size, string for metadataIgor Murashkin2013-07-191-1/+84
| | | | | | | | Change-Id: Iec2fd823bc92394da44abb32ca38a625d7638e3d
* | camera2: Implement CameraDevice#getCameraInfoIgor Murashkin2013-07-153-3/+18
| | | | | | | | | | Bug: 9529161 Change-Id: Ie37d1e07bb8416cbb141f4d49e52337bf7236610
* | camera2 api: Generate metadata keys and enums from XMLIgor Murashkin2013-07-121-0/+70
| | | | | | | | Change-Id: I9b04b5933c5922fc522e9216f4deebcd6fc24d78
* | camera2 api: Add CameraMetadata get/set supportIgor Murashkin2013-07-112-0/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add a Rational class * Can get/set Key<T> where T is a primitive (or Rational) * Can get/set Key<T> where T is a primitive array * Can get/set Key<T> where T is an enum (synthetic constructor only) Not implemented yet: * When T is anything else, i.e. Rect, Size, etc Bug: 9529161 Change-Id: I64438024a1e8327a38dd2672652626f0ffbb70e3
* | Initial camera device implementationIgor Murashkin2013-06-266-95/+606
| | | | | | | | | | | | | | | | * Working streaming preview requests only * Almost everything else returns empty objects that don't do anything Bug: 9213377 Change-Id: Ie6f02a7c0952b0f5ebc41905425b15cae221f7d3
* | Partial CameraManager implementationIgor Murashkin2013-06-265-0/+468
| | | | | | | | | | Bug: 9213377 Change-Id: I8f89fb94d7081a71b38e5cd0ad89116d219b4c33
* | Revert "Partial CameraManager implementation"Igor Murashkin2013-06-255-468/+0
| | | | | | | | | | | | This reverts commit e473f7d8f96b5682141522378b761913192d8114. Change-Id: I23e92ca2def0ebf507f6c782442a4698745bc926
* | Partial CameraManager implementationIgor Murashkin2013-06-245-0/+468
| | | | | | | | | | Bug: 9213377 Change-Id: I29864a5d1f7971ed589d1ffaddeefbb703e34018
* | Make MediaPlayer.invoke() public-and-hidden againMarco Nelissen2013-06-142-0/+73
| | | | | | | | | | | | | | It's used in a bunch of other places in other repos that I don't want to touch. Change-Id: I6f2ec6f8066286de9b52499fc71f3f08953c3cb4
* | Forgot somethingMarco Nelissen2013-06-141-2/+0
| | | | | | | | Change-Id: Ia579213303e79b282a7ba472b39576d4b160a739
* | Fix buildMarco Nelissen2013-06-141-71/+0
| | | | | | | | | | | | | | We don't need a separate test for invoke() because there are other tests that exercise it. Change-Id: I8c8f3593e7e9eed3c53997453f0f66ba8374e79e
* | Merge "camera: Add Java binder proxies for some existing binder interfaces"Igor Murashkin2013-06-114-2/+286
|\ \ | |/ |/|
| * camera: Add Java binder proxies for some existing binder interfacesIgor Murashkin2013-06-114-2/+286
| | | | | | | | | | | | | | | | | | Note that anything not in the AIDL interfaces, will NOT be magically compatible if you just add it there. It probably requires a change in frameworks/av/camera as well. Bug: 9213377 Change-Id: I91d3efb755ed2e3ace139f83573f86efdccccd06
* | 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
* 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
* Fix build.Dianne Hackborn2013-01-161-9/+16
| | | | Change-Id: I068539623b3b133793fc9b8188d876eca59a8281
* 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 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
* | am 768d9e1a: Merge "Correct executable bit for source files"Kenny Root2012-11-0712-0/+0
|\ \ | |/ |/| | | | | * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
| * Correct executable bit for source filesKenny Root2012-11-0712-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
* | 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
* 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.