summaryrefslogtreecommitdiffstats
path: root/media/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | camera2: Update native<->managed camera metadata marshalersIgor Murashkin2014-05-136-53/+881
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve existing marshalers: - each managed/native type combination can be queried marshal support - marshalers can recursively call other marshalers for nested types - support marshaling/unmarshaling generic classes by using super type tokens * Add new marshalers for: - ColorSpaceTransform - MeteringRectangle - Parcelable - Range<T> - ReprocessFormatsMap - RggbChannelVector - SizeF - StreamConfiguration - StreamConfigurationDuration Batteries included; so are unit tests. Bug: 14628001 Change-Id: I38d3e646ccfb3953898cd6f750c33e4097328482
* | camera2: Fix broken camera metadata test due to key renameIgor Murashkin2014-04-221-1/+1
| | | | | | | | Change-Id: I0367550b5bb9f80c8df272804eab7052c122104d
* | Remove VideoEditorLajos Molnar2014-04-2111-9270/+0
| | | | | | | | | | | | | | | | | | remove android.media.videoeditor.* No longer supported and should not be used. Bug: 13542518 Change-Id: I12de122443f0289ab1dfdd8b553e572a830cf412
* | MediaFrameworkTest: Fix Camera2 API unit test build breakageZhijun He2014-04-102-37/+96
| | | | | | | | Change-Id: I49329e2c3bbf1290f1f6e7c64dbb56eb831e5a96
* | Camera2: Fix the JPEG format issuesZhijun He2014-04-091-19/+117
| | | | | | | | | | | | | | | | Also add unit test. Bug: 13836016 Change-Id: I0af4bfe299f99c99e70faf5d3159eb0cbcc147eb
* | camera2: Fix out-of-date metadata testIgor Murashkin2014-04-012-2/+4
| | | | | | | | | | | | | | | | * The tag android.sensor.calibrationTransform1 was renamed to android.sensor.calibrationTransform (1 removed) Bug: 12002757 Change-Id: Ida0e37a30222f08d0d9bb3871717c74c21e428ac
* | Remove SkOmxPixelRef to fix build.Leon Scroggins2014-03-275-117/+0
| | | | | | | | | | | | | | | | | | | | | | Recent changes to SkPixelRef (from which SkOmxPixelRef inherited) added abstract functions which SkOmxPixelRef does not implement. Solution: remove SkOmxPixelRef, which is completely unused. The only code that created one was commented out at the same time as it was added in 2009, so there's likely no benefit to reviving it. Change-Id: Icbf2537fcc03fd464fd791ff91659a1812019623
* | Merge "Fix includes so that they no longer rely on the global Skia includes ↵Derek Sollenberger2014-02-281-1/+1
|\ \ | | | | | | | | | directories."
| * | Fix includes so that they no longer rely on the global Skia includes ↵Derek Sollenberger2014-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | directories. bug:13225538 Change-Id: Ia5d816dc665f81c7985f21036af4fd0a63c560cf
* | | Cleanup unnecessary includes for libskia.Derek Sollenberger2014-02-271-5/+0
|/ / | | | | | | | | | | | | The libskia target exports all of its public includes directories so redefining them here is redundant. Also this cleans up and makes it obvious where the framework is making using of private Skia headers. Change-Id: Ie7ecc9ddd3df780bed6b9af54ba58ca58274e043
* | Merge "Tabs -> spaces in frameworks/base."John Spurlock2014-02-251-6/+6
|\ \
| * | Tabs -> spaces in frameworks/base.John Spurlock2014-02-251-6/+6
| | | | | | | | | | | | Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
* | | support time lapse/slow motion on SURFACE sourceChong Zhang2014-02-141-4/+45
|/ / | | | | | | | | | | | | | | | | | | | | - pass time between capture as us, in high fps case ms could be inaccurate - add test cases in MediaRecorderTest for time lapse/slow motion Bug: 13032650 Change-Id: I34ecc3b39e0519753f74ae42afcaeeddfff1666a
* | Merge "MediaRecorderTest: add tests for getSurface() and SURFACE source"Chong Zhang2014-02-063-23/+250
|\ \
| * | MediaRecorderTest: add tests for getSurface() and SURFACE sourceChong Zhang2014-01-163-23/+250
| |/ | | | | | | | | Bug: 12305192 Change-Id: I2f63799219273dc84732ba3b7a9dceb84a1f27a7
* | FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-0/+2
| | | | | | | | | | | | to media code Change-Id: I7f6cdcfd2a28846d36d89dd5180ef20a22b03af8
* | Remove calls to deprecated SkBitmap::setIsOpaque()Leon Scroggins III2014-01-151-2/+2
|/ | | | | | | | | setIsOpaque() has been removed from ToT Skia. Update setters for mIsPremultiplied and hasAlpha to take the other into consideration. Change-Id: I1b36b0b0ce7126031eb7b769b563c17dcd4b306a
* Camera2: add metadata overrideZhijun He2013-10-071-26/+142
| | | | | | | | | | | | There are interface difference between managed and native side for some metadata, like Face and JPEG format. we need override them when they are set/get between native and managed sides. Also fix some issues in the CameraMetadataTest. Bug: 10406212 Change-Id: Ibd8be0415968445e711b3ea89f45e1edfa193ee2
* Camera2: Implement idle callbacksEino-Ville Talvala2013-10-032-6/+99
| | | | | | | | | - Rework camera callback binder interface - Connect up idle, disconnect callbacks - A few unit tests for shutter firing and idle use Bug: 10549462 Change-Id: I8455a8a0561e366b7edeef6b101682be2ec44d79
* Camera2: Fix Camera integration test deadlockZhijun He2013-09-251-7/+33
| | | | | | | | | | The problem was: when SurfaceTexture is used, test didn't acquire/release images when they are produced, then it starves the producer and cause deadlock. This change replaces SurfaceTexture with ImageReader, release every image produced immediately. Bug: 10360518 Change-Id: I9aabaee23013277c2da6f5825ac931bc10511fbc
* Camera2: Implement CameraManager#getCameraCharacteristicsZhijun He2013-09-251-0/+12
| | | | | | Bug: 10904541 Bug: 10360518 Change-Id: I1da0b0319703fda46789f15a232e56ed1d928bc3
* 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