summaryrefslogtreecommitdiffstats
path: root/media/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * am ebbcc18e: am 4032217e: Merge "Add option for video playback test to ↵Xia Wang2013-08-052-14/+23
| |\ | | | | | | | | | | | | | | | | | | accept media source path." into jb-mr2-dev * commit 'ebbcc18eaa8a69579fadae484630aa1ba447c031': 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
* | | am b56f10aa: am 32c308a5: Merge "If media wants ASCII lowercasing, it needs ↵Elliott Hughes2013-08-021-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | to ask for it." * commit 'b56f10aa66914aeb880c624ed6e938e1941ff820': If media wants ASCII lowercasing, it needs to ask for it.
| * | If media wants ASCII lowercasing, it needs to ask for it.Elliott Hughes2013-08-021-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Use toLowerCase(Locale.ROOT) if you want ASCII for machine consumption, and use toLowerCase(Locale.getDefault()) if you want the user's locale's casing rules for human consumption. Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: Id9005a17e34217a81bef3b40031b9e2e6272f45d
* | 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-266-1/+469
| | | | | | | | | | Bug: 9213377 Change-Id: I8f89fb94d7081a71b38e5cd0ad89116d219b4c33
* | Revert "Partial CameraManager implementation"Igor Murashkin2013-06-256-469/+1
| | | | | | | | | | | | This reverts commit e473f7d8f96b5682141522378b761913192d8114. Change-Id: I23e92ca2def0ebf507f6c782442a4698745bc926
* | Partial CameraManager implementationIgor Murashkin2013-06-246-1/+469
| | | | | | | | | | 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-115-2/+291
|\ \
| * | camera: Add Java binder proxies for some existing binder interfacesIgor Murashkin2013-06-115-2/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am b809577f: am b318f7b9: Merge "Refactor of camera stress test to add ↵Jason Noguchi2013-05-306-197/+995
|\ \ \ | | |/ | |/| | | | | | | | | | | | | camera test helper. Also add additional functional tests for: flash, exposure, white balance, and focus mode. Also add pairwise tests." into jb-mr2-dev * commit 'b809577f46c44cd61e4f719b4cd810115bdcf367': 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.
| * | 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
* | | | am 03367e29: am b830d527: Merge "Update test with CamercorderProfile video ↵Yu Shan Emily Lau2013-05-241-16/+15
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | | | | size." into jb-mr2-dev * commit '03367e2971e095b819f789c999cf03f8b3eec7ae': Update test with CamercorderProfile video size.
| * | Update test with CamercorderProfile video size.Yu Shan Emily Lau2013-05-231-16/+15
| | | | | | | | | | | | | | | Bug:9114681 Change-Id: Id8ac6e98849715d21cd4a983fc13935debea5e5f
* | | am 68c666eb: am 804e618d: Fix buildMarco Nelissen2013-05-101-0/+5
|\ \ \ | |/ / | | | | | | | | | * commit '68c666ebb75b7e87ee9773752165351482b49a08': Fix build
| * | Fix buildMarco Nelissen2013-05-101-0/+5
| | | | | | | | | | | | Change-Id: I2eb54a936630094b4bd9c19a944579670a4e0bb8
* | | am 214c7474: am aad3762f: Merge "Fix build" into jb-mr2-devMarco Nelissen2013-05-101-0/+5
|\ \ \ | |/ / | | | | | | | | | * commit '214c74747d0ff8219e020c5edc6f12bca923b45a': Fix build
| * | Fix buildMarco Nelissen2013-05-101-0/+5
| |/ | | | | | | Change-Id: I4afe65f73d8607a97a561615ebfc34aadfe00b95
* | Fix BT SCO audio test application.Eric Laurent2013-05-011-6/+11
|/ | | | | | Catch exceptions when stopping the MediaRecorder in onPause(). Change-Id: I9f8b3dd4f0919cdc1ef21334be177596bfeef88e
* 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