summaryrefslogtreecommitdiffstats
path: root/tests/camera2
Commit message (Collapse)AuthorAgeFilesLines
* Camera2: Tests: 64-bit warning fixitSasha Levitskiy2014-04-212-14/+16
| | | | | Change-Id: Idb761d2bfd8f07838a194f986f7c0a06429f4049 Signed-off-by: Sasha Levitskiy <sanek@google.com>
* Camera2 test: fix build break due to change in camera service.Jianing Wei2014-04-103-7/+9
| | | | Change-Id: If8785df9209c83ccd1454b89b46d5e885f897cae
* Remove deprecated BufferQueue constructorDan Stoza2014-04-073-15/+25
| | | | | Bug: 13415624 Change-Id: Ia2ed4b5bc7289f8d8ab6e6a431746b43c81842bc
* am ab140462: am 37de84bc: Merge "Camera2 Test: fix test criteria for ↵Eino-Ville Talvala2014-03-291-6/+9
|\ | | | | | | | | | | | | exposure time" * commit 'ab14046292922d1ad0df84f3231f1e8b6233b737': Camera2 Test: fix test criteria for exposure time
| * Camera2 Test: fix test criteria for exposure timeGaurav Batra2014-03-281-6/+9
| | | | | | | | | | | | Add some tolerance while testing requested exposure times against capture times. Change-Id: I609e7819cde8ee466e152775781a6542e6686ded
* | camera3: Remove old vendor tag ops dependencies.Ruben Brunk2014-03-101-7/+0
|/ | | | | Bug: 12134423 Change-Id: I7acdf76d4c0674bdb1cc939592d4620687c785c3
* Camera2 Test: Skip CameraModuleTest for HAL V1 devicesZhijun He2013-10-281-4/+15
| | | | | Bug: 10971907 Change-Id: Ia3aa0e370d7eb5de6bb1fb7ff48a71ea5605fa17
* Camera2 Test: skip some tests for limited hardware levelZhijun He2013-09-232-1/+37
| | | | | Bug: 10388724 Change-Id: Ifd13f72f1b7ff78cf50dc1c238f17c4b4e90d9b0
* Camera2 Test: Fix module and burst test issuesZhijun He2013-09-192-17/+35
| | | | | Bug: 10388724 Change-Id: Idc404cf8a7a96c00941aa8f1880734a236cb3737
* Camera2 Tests: fix some sanity checksZhijun He2013-09-172-10/+6
| | | | | | | | Remove the requirement of HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED and make and fix some minor issues. Bug: 10388724 Change-Id: I18f0ea60f87902d6c2bbaca53957a91953866c40
* Camera2 Test: check the right result metadataZhijun He2013-09-121-71/+86
| | | | | | | We need check the right result metadata by looking for the right request id. Bug: 10710768 Change-Id: I1e946f82e569fa6afc5067552c3f850ffffbf698
* Camera2 Tests: Fix stream id typesZhijun He2013-09-063-6/+6
| | | | | Bug: 10604704 Change-Id: I5edddb1011d6744225c59f44bd6df8ae4234d336
* Camera2 Tests: Add multiple stream testsZhijun He2013-08-195-3/+655
| | | | | | | | | | | Add a test to test multiple stream configuration: one preview stream, one small size YUV burst capture stream, and one large size YUV burst capture stream. Also cleanup the code. Bug 10325342 Change-Id: I676484cc0034055caa8f2a8788100ed34b4cefbb
* Camera2 tests: Fix a typo of a test checkZhijun He2013-08-081-1/+1
| | | | Change-Id: Ib47eba8d01e93d0c3ce2b1e8bc2ff638529e32f9
* Fix build, 2nd attemptMathias Agopian2013-08-061-6/+3
| | | | Change-Id: Iaa86a6888a5ccf784b13f4c3b2d8dc4813612155
* Fix build.Mathias Agopian2013-08-061-2/+1
| | | | Change-Id: Ibf73106f8be63cf433fafe9510c8477f74b7ac41
* Camera2 tests: Update paths to camera serviceEino-Ville Talvala2013-07-295-11/+11
| | | | Change-Id: Ic50ea977194073e3768c22a5f21eb15f430fa2f5
* Camera2Test: fix build break due to metadata changeZhijun He2013-07-181-11/+14
| | | | Change-Id: I1b81f14fe0f093a7d29d0b0facdb1886d521d256
* always pass the BufferQueue explicitely to consumersYing Wang2013-07-151-3/+6
| | | | | | to fix tests build. Change-Id: Ifec605926324683ac9b12b8ed3cbfb6ac02ec18c
* Merge "always pass the BufferQueue explicitely to consumers"Mathias Agopian2013-07-161-1/+2
|\
| * always pass the BufferQueue explicitely to consumersMathias Agopian2013-07-121-1/+2
| | | | | | | | Change-Id: Ie13b251d6bfadd533fa045ec5d3299ee8ae752af
* | Camera tests: Add variable burst testEino-Ville Talvala2013-07-122-1/+506
|/ | | | | | | | | | | | | By default, this test runs through a range of application-set exposure, frame duration, and sensitivity values, and verifies that the duration of capture, and in some cases the brightness, match what's expected. Optionally, it can use environment variables to specify the burst parameters, and to enable dumping the captured YUV images to flash for later debugging. Change-Id: I647d360344ef3684e99c86c369e96ac82e62fc96
* Enable native HAL tests to work for camera3 devicesEino-Ville Talvala2013-06-278-47/+126
| | | | Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
* Make raw tests optional, add sanity checks for format/resolutions static info.Igor Murashkin2013-04-182-1/+85
| | | | | Bug: 8654456 Change-Id: Iadd0d3c326d595dce2822a9bd3ff33ce8e8f6a36
* Merge "Update the test output path." into jb-mr2-devYu Shan Emily Lau2013-04-151-1/+1
|\
| * Update the test output path.Yu Shan Emily Lau2013-04-121-1/+1
| | | | | | | | | | | | | | In order for the automated test to pick up the test. The output must be in /data/nativetest. Change-Id: I453805a1d186fec014e34b3d37a1e8bc62b2a5ac
* | Add liblogYing Wang2013-04-091-0/+1
|/ | | | | Bug: 8580410 Change-Id: I24645233148f70c57d2f2b3a46952cb2a1aea9ba
* camera2_test: Allow for HAL2 version >= 2.0 (i.e. 2.1, 3.0, etc)Igor Murashkin2013-03-262-3/+3
| | | | Change-Id: If9004d2a6d5fc581b8f63814f2f115bcd7fa5a34
* Tests: Camera: Refactor CameraMetadata into frameworks/avIgor Murashkin2013-02-212-1/+3
| | | | Change-Id: Ibc2917a18163f07b5e37eb83abb3d1ef919a5766
* Tests: Camera2: Add Y8/Y16 to Stream create/delete testsIgor Murashkin2013-02-212-2/+26
| | | | Change-Id: I7e066569edcab84c0d61fe7a4ae5c3e2683f63eb
* fix build: SurfaceTextureClient to Surface renameMathias Agopian2013-02-151-1/+1
| | | | Change-Id: I8b4bbccc570ddfaaad6f7eeaa72edde05a720b35
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-155-6/+6
| | | | Change-Id: Iff197c557c06673a1ad85a9bbd36caa38efb88b7
* Camera2: Tests: ModuleTests should not return OK for bad indicesIgor Murashkin2012-12-201-8/+9
| | | | Change-Id: Ia7a199d091edb4054dcd2d7164e57b3b653c5a64
* Camera2: Tests: Fix Camera2Test to be correct.Igor Murashkin2012-12-201-0/+34
| | | | | | | - Requests were missing control type (capture vs reprocess) - Not waiting for streams to be drained before disconnecting (sporadic fails) Change-Id: Iab218b89a663db6dc26d791a390d0e11667f6889
* Camera2: Tests: Ignore V1 device initialization failures.Igor Murashkin2012-12-201-2/+25
| | | | | | This allows CameraModuleTests.LoadModule and GetCameraInfo to pass. Change-Id: Id6e38afc6d9c5d45933d3117c7895775a30ee679
* Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.Igor Murashkin2012-12-201-0/+10
| | | | | | | | | Producer would wait for buffers to be released so it could dequeue into them. Since the test never acquired/released buffers, it would run out, and then the HAL would deadlock when trying to shutdown since the producing thread would never finish. Change-Id: I4222feeec7a3ffab4c243e12b7d9bd56364ad983
* Camera2: Tests: Release streams after HAL is unloadedIgor Murashkin2012-12-203-6/+20
| | | | | | | | | | This fixes a segfault in the HAL where it was trying to write to a locked buffer that disappeared from underneath it. Any users of CameraModuleFixture should now call SetUp/TearDown explicitly. Other classes remain unchanged until we need a custom TearDown order for them. Change-Id: I9aa8c2d86492a76f2c01c1ad4cbe0cf91e5c7916
* Merge "Rename ISurfaceTexture and SurfaceTexture"Andy McFadden2012-12-183-4/+4
|\
| * Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-183-4/+4
| | | | | | | | | | | | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I7fc8474c1d0d95658609b69cdb0af412d69a42c4
* | Camera2: Tests: Skip stream tests /w formats that are not available.Igor Murashkin2012-12-183-10/+38
| | | | | | | | Change-Id: I187ca983010483d1cb3ac951da2aa8b886828ef7
* | Camera2: Tests: Add CLI arguments for disabling forking and changing camera IDIgor Murashkin2012-12-1812-38/+235
|/ | | | Change-Id: I0adfda42e861d7e5a85801f7e0c3f0b3950b6e0e
* Camera2: Add a test for bursting 10 frames at a time /w manual exp controlsIgor Murashkin2012-12-104-5/+317
| | | | Change-Id: Idc1a3ebb26d0e189a543435f7f9be5f6376963d6
* Merge "Camera2: Fix metadata symbols"Igor Murashkin2012-12-041-3/+3
|\
| * Camera2: Fix metadata symbolsIgor Murashkin2012-12-031-3/+3
| | | | | | | | Change-Id: I5d7c8416b8ed8effca699aa9e51068f5678927ea
* | Camera2: Tests -- Fork each test before executing itIgor Murashkin2012-11-2714-74/+437
|/ | | | | | | Use CAMERA2_TEST_FORKING_DISABLED=1 environment variable to override this behavior (e.g. when wanting to attach gdb to the test app). Change-Id: Ib639885bdb827fc2415c878cbcb1b2d84dff687b
* Camera2: Automated tests for testing HAL2.0 interfaceIgor Murashkin2012-11-0611-6/+827
| | | | Change-Id: I1f1afd5afc346d5493d5019af35c3026efcf19b5
* Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINEDEino-Ville Talvala2012-08-283-8/+5
| | | | | | | | | | | | | | | | | | Align camera2's management of platform-opaque formats with rest of framework. Instead of using CAMERA2_PIXEL_FORMAT_OPAQUE, use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as the format for both the camera HAL and for gralloc, and depend on the gralloc usage flags to let the gralloc module select the appropriate real format for specific stream endpoints. Add a new gralloc usage for ZSL mode, where the camera service will hold a streaming circular buffer of opaque full-resolution images during camera preview. Since this is an opaque format that needs to be optimized for 30fps operation, need gralloc to be aware of this use case. Bug: 6243944 Change-Id: If7f2516649381ce9bcffe4e319b63cbc068f643f
* Camera2: Make static_camera_characteristics const.Eino-Ville Talvala2012-08-271-11/+11
| | | | | | | | | | Disallow modification to static characteristics structure, and clarify ownership and lifetime of the structure. Also update test code accordingly. Bug: 6243944 Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9
* Revert "Camera2: Make static_camera_characteristics const."Eino-Ville Talvala2012-08-261-11/+11
| | | | | | | | Needs a third change that's not yet done with review. This reverts commit c9ec8a656b59912f496880d3a63c0decd490f09d Change-Id: Ic3e465e1308cbf107a250ec17b73a59a35e52f9f
* Camera2: Make static_camera_characteristics const.Eino-Ville Talvala2012-08-241-11/+11
| | | | | | | | | | Disallow modification to static characteristics structure, and clarify ownership and lifetime of the structure. Also update test code accordingly. Bug: 6243944 Change-Id: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b