summaryrefslogtreecommitdiffstats
path: root/media/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* camera2: Rename CameraProperties to CameraCharacteristicsIgor Murashkin2013-09-211-2/+2
| | | | | Bug: 10360518 Change-Id: I8667bdcc8c9528ace96dc675585f923004932641
* Merge "Fix media stress test." into klp-devYu Shan Emily Lau2013-09-161-5/+9
|\
| * Fix media stress test.Yu Shan Emily Lau2013-09-161-5/+9
| | | | | | | | | | | | | | 1) Fix the CamcorderProifle initalization. 2) Insert 2 seconds after camera release. Change-Id: Ib22f1922a917233f3d1020dc67de834e00fd0959
* | Merge "media: Update ImageReader to remove MaxImagesAcquiredException" into ↵Igor Murashkin2013-09-161-62/+29
|\ \ | | | | | | | | | klp-dev
| * | media: Update ImageReader to remove MaxImagesAcquiredExceptionIgor Murashkin2013-09-131-62/+29
| | | | | | | | | | | | | | | | | | | | | | | | * acquiring images now throws IllegalStateException instead of MaxImagesAcquiredException Bug: 10691447 Change-Id: I7ce68f990fb96703705b9181012a28633fea0b7a
* | | Merge "media: Update ImageReader APIs" into klp-devIgor Murashkin2013-09-162-0/+219
|\ \ \ | |/ /
| * | media: Update ImageReader APIsIgor Murashkin2013-09-122-0/+219
| | | | | | | | | | | | | | | Bug: 10461757 Change-Id: Ic04e4c41965e3d417b29004f3f08e0cd56b8f4cb
* | | Merge "Miscellaneous fixes to SoundPool unit test" into klp-devGlenn Kasten2013-09-162-19/+32
|\ \ \
| * | | Miscellaneous fixes to SoundPool unit testGlenn Kasten2013-09-132-19/+32
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly specify API level 8, to permit same .apk be used with multiple platform versions. In the priority test, use different samples for low and priority sounds, so it is possible to hear the difference. Increase sleep times to make it easier to hear. Only use Log.e for errors. Add more logs and sleeps. Pan more slowly. Fix typos in logs about the test names. Fix typo in pan comment. Change-Id: Iebce07ca0cf3d6fa1b04faa8577faa1c6d25f8e6
* | | Merge "Stress test for AudioTrack shared memory bug" into klp-devGlenn Kasten2013-09-163-0/+264
|\ \ \ | |/ / |/| |
| * | Stress test for AudioTrack shared memory bugEric Laurent2013-09-113-0/+264
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in patch set 2: - add call to ProcessState::self()->startThreadPool() - remove dead code AudioSystem::get_audio_flinger - use simpler MemoryDealer isntead of MemoryHeapBase - AudioTrack now must be sp<> instead of raw pointer - use new constants from audio.h - change LOGx macros to ALOGx - fix file permission on Android.mk Bug: 2801375 Change-Id: I899b08e0aa91deca328523f66f71e667011b4522
* | Camera2: Immutable metadataEino-Ville Talvala2013-09-113-119/+49
|/ | | | | | | | | | | | Make all camera metadata immutable once created; requests are created using CameraRequest.Builder. - Separate CameraMetadata implementation from interface - Implement deep copying of metadata - Requests/results/properties have-a native implementation Bug: 10360518 Change-Id: Ia6300c237219d39f70c63156fa9ca666d951a36e
* Camera2: Updated Rational for denom=0.Timothy Knight2013-09-041-7/+44
| | | | | | | | | | | | | Handle NaN and INF using the same semantics as Java floats. No longer throw an exception if a rational is constructed with a zero-denominator. This commit is required for the ITS pdk app, since without it, the app fails when it tries to deserialize rational values that are (incorrectly) set to 0/0. Bug: 10337323 Change-Id: I890ec2092f2945abc0f531fc46f9a7f5c71d2dbf
* 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.
| * 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