History log of /hardware/libhardware/tests/camera2/camera2.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8df990b3a2087e99d8a7c93e5f5084715263c4a6 31-Oct-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2/3 HAL test: cleanup deprecated keys

Bug:16877860
Change-Id: I1eddec02cefa39692f63cc54cc40b75f449516a7
/hardware/libhardware/tests/camera2/camera2.cpp
5dce9e4f26a2f227eeb4607128e3c3a92a277ae6 07-Apr-2014 Dan Stoza <stoza@google.com> Remove deprecated BufferQueue constructor

Bug: 13415624
Change-Id: Ia2ed4b5bc7289f8d8ab6e6a431746b43c81842bc
/hardware/libhardware/tests/camera2/camera2.cpp
237d1c15c1da9738206a03b7f34aec855365820c 11-Mar-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Remove old vendor tag ops dependencies.

Bug: 12134423
Change-Id: I7acdf76d4c0674bdb1cc939592d4620687c785c3
/hardware/libhardware/tests/camera2/camera2.cpp
8ef0144a52df7edfb754efce597e078bc185c57d 14-Aug-2013 Zhijun He <zhijunhe@google.com> Camera2 Tests: Add multiple stream tests

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
/hardware/libhardware/tests/camera2/camera2.cpp
3321f1b709df7371c575c890136b8a63c104d00f 06-Aug-2013 Mathias Agopian <mathias@google.com> Fix build, 2nd attempt

Change-Id: Iaa86a6888a5ccf784b13f4c3b2d8dc4813612155
/hardware/libhardware/tests/camera2/camera2.cpp
1973f4a2f2ebf8f2d1ed35411055c93ba864f717 16-Jul-2013 Ying Wang <wangying@google.com> always pass the BufferQueue explicitely to consumers

to fix tests build.

Change-Id: Ifec605926324683ac9b12b8ed3cbfb6ac02ec18c
/hardware/libhardware/tests/camera2/camera2.cpp
4c543a1456cd34a94e2c3a09879aa65ed8cd2f3a 26-Jun-2013 Eino-Ville Talvala <etalvala@google.com> Enable native HAL tests to work for camera3 devices

Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
/hardware/libhardware/tests/camera2/camera2.cpp
3d991c8e855a7d9d4dba19efb5692a22437dd2c6 18-Apr-2013 Igor Murashkin <iam@google.com> Make raw tests optional, add sanity checks for format/resolutions static info.

Bug: 8654456
Change-Id: Iadd0d3c326d595dce2822a9bd3ff33ce8e8f6a36
/hardware/libhardware/tests/camera2/camera2.cpp
fb40d5de36fc93a1a3cab9c2cd73988ac52043a2 27-Mar-2013 Igor Murashkin <iam@google.com> camera2_test: Allow for HAL2 version >= 2.0 (i.e. 2.1, 3.0, etc)

Change-Id: If9004d2a6d5fc581b8f63814f2f115bcd7fa5a34
/hardware/libhardware/tests/camera2/camera2.cpp
599b76fec79b9ed111676bed9004c35ab8c5adea 19-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Tests: Fix Camera2Test to be correct.

- Requests were missing control type (capture vs reprocess)
- Not waiting for streams to be drained before disconnecting (sporadic fails)

Change-Id: Iab218b89a663db6dc26d791a390d0e11667f6889
/hardware/libhardware/tests/camera2/camera2.cpp
eda79df3c7e683cb4b73a742d3716b81bb7e899a 18-Dec-2012 Andy McFadden <fadden@android.com> Rename ISurfaceTexture and SurfaceTexture

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
/hardware/libhardware/tests/camera2/camera2.cpp
bb39e1769e972e5f2405f05274ac2170b4e3c83f 05-Dec-2012 Igor Murashkin <iam@google.com> Merge "Camera2: Fix metadata symbols"
09ad0a3edb84404f56137963d78eccbf378fb48b 03-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Fix metadata symbols

Change-Id: I5d7c8416b8ed8effca699aa9e51068f5678927ea
/hardware/libhardware/tests/camera2/camera2.cpp
eab33fc589a8e1ca04f5703b5f1ace69f8ff9aea 07-Nov-2012 Igor Murashkin <iam@google.com> Camera2: Tests -- Fork each test before executing it

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
/hardware/libhardware/tests/camera2/camera2.cpp
e302ee3dd3abacebeb32263654186ab433efc14c 05-Nov-2012 Igor Murashkin <iam@google.com> Camera2: Automated tests for testing HAL2.0 interface

Change-Id: I1f1afd5afc346d5493d5019af35c3026efcf19b5
/hardware/libhardware/tests/camera2/camera2.cpp
2388a2dc91979364d96e49456b189f904f0267f3 28-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED

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
/hardware/libhardware/tests/camera2/camera2.cpp
b8b6439598ecc5faecfce8d43f3418b057714b4c 24-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9
/hardware/libhardware/tests/camera2/camera2.cpp
dde2a9d4b5129fa836d211a75f0040bf552c94c9 26-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Camera2: Make static_camera_characteristics const."

Needs a third change that's not yet done with review.

This reverts commit c9ec8a656b59912f496880d3a63c0decd490f09d

Change-Id: Ic3e465e1308cbf107a250ec17b73a59a35e52f9f
/hardware/libhardware/tests/camera2/camera2.cpp
d959ec5297c19b9b8f1760c9237030bf931b5803 24-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Make static_camera_characteristics const.

Disallow modification to static characteristics structure, and clarify
ownership and lifetime of the structure.

Also update test code accordingly.

Bug: 6243944
Change-Id: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b
/hardware/libhardware/tests/camera2/camera2.cpp
5d64b230dc7c262575dd790299cfb667af66e014 30-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Test logging changes

Change-Id: Idcde83d46da438726c5186cbcf8109a22aef997f
/hardware/libhardware/tests/camera2/camera2.cpp
fa7a91d3d2a7f99612446f61beb29cc9e215d0ba 22-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add JPEG capture test.

Bug: 6243944
Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
/hardware/libhardware/tests/camera2/camera2.cpp
895ed341ba7e956eed1d81a75366597fa89d3081 21-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Update test code for metadata changes

- New resolution handling
- Don't do long exposures in tests

Bug: 6243944
Change-Id: Ia8362a50c8c4a2230d892e571b31e513c67ab84d
/hardware/libhardware/tests/camera2/camera2.cpp
6adfd6b8ce32f042d001296f08e5b439af2635c1 15-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add test for construct_default_request.

Bug: 6243944
Change-Id: I59b03d7ebece2a4b7672b265bd9f960b3faea621
/hardware/libhardware/tests/camera2/camera2.cpp
e6a3c3c1135d8c097be5e82103abdd832c02de7c 12-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Match updated camera_metadata methods.

Bug: 6243944

Change-Id: Ib691ef513b4811ca1290f0a9a4e3c1ce1e3f0945
/hardware/libhardware/tests/camera2/camera2.cpp
567b4a24fa9fedf0086af5e0bb8e45bd3294bc9d 23-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Substantial cleanup of camera2 HAL, and some initial unit tests

- Clean up const/struct usage in HAL
- Add user pointer to notify callback
- Revamp allocate_stream, now it picks its own ID.
- Much simpler stream interface
- Merged request/reprocess input queues
- Frame queue interface no longer a mirror of request queue
- Added triggers/notifications
- Added default request creation
- Lots of comments

Unit tests added:

- Lots of utility code to speed up test writing
- Basic open/close
- Capturing 1 raw buffer (request input, frame output, buffer output)
- Capturing a burst of 10 raw buffers

Bug: 6243944
Change-Id: I490bd5df81079a44c43d87b02c9a7f7ca251f531
/hardware/libhardware/tests/camera2/camera2.cpp
fed0c0244b569e0bae4280af145a94ef3b1a1468 22-Mar-2012 Eino-Ville Talvala <etalvala@google.com> Revise camera HAL 2, and add unit test skeleton.

- Add missing method in stream_ops (set_buffers_geometry)

- Remove extra method in stream_ops (set_swap_interval)

- Document metadata queue protocol

- Change metadata queue methods to be set/get through function calls
only, instead of a struct member in the HAL device ops.

- Change vendor extension tag query methods to be retrieved by a get
call, instead of a struct member in the HAL device ops.

- Add basic gtest unit test skeleton, which currently just returns
static info from all camera devices.

Change-Id: I94117097b0243023ad60638070cc7f0cefec18e6
/hardware/libhardware/tests/camera2/camera2.cpp