• Home
  • History
  • Annotate
  • only in /hardware/libhardware/tests/
History log of /hardware/libhardware/tests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b44ff6508bbcb8df751b5815dd4dfbd4cae252f7 28-Oct-2013 Zhijun He <zhijunhe@google.com> Camera2 Test: Skip CameraModuleTest for HAL V1 devices

Bug: 10971907
Change-Id: Ia3aa0e370d7eb5de6bb1fb7ff48a71ea5605fa17
amera2/CameraModuleTests.cpp
3bf3b45f2d5eb43b74e1a46ff03ed3e2142b1b38 19-Sep-2013 Zhijun He <zhijunhe@google.com> Camera2 Test: skip some tests for limited hardware level

Bug: 10388724
Change-Id: Ifd13f72f1b7ff78cf50dc1c238f17c4b4e90d9b0
amera2/CameraBurstTests.cpp
amera2/CameraMultiStreamTests.cpp
60cbb52613d212236de49b4f22fe059585f8c1b2 18-Sep-2013 Zhijun He <zhijunhe@google.com> Camera2 Test: Fix module and burst test issues

Bug: 10388724
Change-Id: Idc404cf8a7a96c00941aa8f1880734a236cb3737
amera2/CameraBurstTests.cpp
amera2/CameraModuleTests.cpp
b3ac07c0028b0afe8f9b009e37af90ec9a697b44 18-Sep-2013 Zhijun He <zhijunhe@google.com> Camera2 Tests: fix some sanity checks

Remove the requirement of HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED and make and
fix some minor issues.

Bug: 10388724
Change-Id: I18f0ea60f87902d6c2bbaca53957a91953866c40
amera2/CameraMetadataTests.cpp
amera2/CameraModuleTests.cpp
914226ce7607ed991d7e0e0477d0575e6fc02d37 08-Sep-2013 Zhijun He <zhijunhe@google.com> Camera2 Test: check the right result metadata

We need check the right result metadata by looking for the right request id.

Bug: 10710768
Change-Id: I1e946f82e569fa6afc5067552c3f850ffffbf698
amera2/CameraMultiStreamTests.cpp
a1594173890ffc8aa45293c1ac3e11ea90fe6f57 07-Sep-2013 Zhijun He <zhijunhe@google.com> Camera2 Tests: Fix stream id types

Bug: 10604704
Change-Id: I5edddb1011d6744225c59f44bd6df8ae4234d336
amera2/CameraBurstTests.cpp
amera2/CameraFrameTests.cpp
amera2/CameraMultiStreamTests.cpp
c124b23f94a0a88e872253720c0e27594a9a9938 05-Sep-2013 Kenny Root <kroot@google.com> keymaster: use new version fields in hw_module

The original version of this HAL used a field in keymaster_module to
represent the module's version number, but a later revision of the HAL
interface added a distinguisher between HAL module and device versions.
This is needed to support upgrade code in keystore.

Bug: 10600582
Change-Id: Ied34cf382e2b7725e648faada00df2dee993e6c5
eymaster/keymaster_test.cpp
2541a0a8f7a2c86658d435efb49843a88b4d97e0 19-Aug-2013 Kenny Root <kroot@google.com> Add support for DSA and ECDSA key types

(cherry picked from commit 6e1683f5d508a4c1ff761a9a3508619ac5ac6ed7)

Bug: 10600582
Change-Id: I8e5b66baa70b37031198260853bb5355df75e23d
eymaster/keymaster_test.cpp
a7ff78d4edb046cfc106e450ad0733775aa22e22 19-Aug-2013 Zhijun He <zhijunhe@google.com> Merge "Camera2 Tests: Add multiple stream tests" into klp-dev
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
amera2/Android.mk
amera2/CameraMultiStreamTests.cpp
amera2/CameraStreamFixture.h
amera2/camera2.cpp
amera2/camera2_utils.cpp
fc0ff2a8700eb11aef7a961b279d846c8a1c04c5 16-Aug-2013 Jesse Hall <jessehall@google.com> Add HWC_DISPLAY_VIRTUAL and adjust display count constants

Both surfaceflinger and HWC implementations have been defining these
themselves, making future changes more difficult. Better to define
them centrally, where they can be updated easily.

Change-Id: I793158b858c84b2470b05f9ea77cc5a0c7e247f1
wc/cnativewindow.c
6e548cf960faf18975138a1a6952684ecbee3ba3 09-Aug-2013 Zhijun He <zhijunhe@google.com> Camera2 tests: Fix a typo of a test check

Change-Id: Ib47eba8d01e93d0c3ce2b1e8bc2ff638529e32f9
amera2/CameraBurstTests.cpp
3321f1b709df7371c575c890136b8a63c104d00f 06-Aug-2013 Mathias Agopian <mathias@google.com> Fix build, 2nd attempt

Change-Id: Iaa86a6888a5ccf784b13f4c3b2d8dc4813612155
amera2/camera2.cpp
ef18cb7133bf29b9e999b2de75ff4cf6e2cfb82e 06-Aug-2013 Mathias Agopian <mathias@google.com> Fix build.

Change-Id: Ibf73106f8be63cf433fafe9510c8477f74b7ac41
amera2/CameraStreamFixture.h
48bb03fad356184c52607dfbae065511785e5eb4 26-Jul-2013 Eino-Ville Talvala <etalvala@google.com> Camera2 tests: Update paths to camera service

Change-Id: Ic50ea977194073e3768c22a5f21eb15f430fa2f5
amera2/CameraFrameTests.cpp
amera2/CameraMetadataTests.cpp
amera2/CameraModuleFixture.h
amera2/CameraModuleTests.cpp
amera2/CameraStreamTests.cpp
7f3ce00606aa3b889786d9dec9ce8526ff25fc2a 19-Jul-2013 Zhijun He <zhijunhe@google.com> Camera2Test: fix build break due to metadata change

Change-Id: I1b81f14fe0f093a7d29d0b0facdb1886d521d256
amera2/CameraBurstTests.cpp
1973f4a2f2ebf8f2d1ed35411055c93ba864f717 16-Jul-2013 Ying Wang <wangying@google.com> always pass the BufferQueue explicitely to consumers

to fix tests build.

Change-Id: Ifec605926324683ac9b12b8ed3cbfb6ac02ec18c
amera2/camera2.cpp
6a400fa3daf24fc73ad287a702890db01dfedca2 16-Jul-2013 Mathias Agopian <mathias@google.com> Merge "always pass the BufferQueue explicitely to consumers"
3ce8f0277c285ce35fc885cf66c0de2c4af75af3 13-Jul-2013 Mathias Agopian <mathias@google.com> always pass the BufferQueue explicitely to consumers

Change-Id: Ie13b251d6bfadd533fa045ec5d3299ee8ae752af
amera2/CameraStreamFixture.h
7d831712b37e802b83f89eaf16d05f754bed851d 02-Jul-2013 Eino-Ville Talvala <etalvala@google.com> Camera tests: Add variable burst test

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
amera2/CameraBurstTests.cpp
amera2/CameraStreamFixture.h
b5622ae96026431ca2789e9a264944e3f08222ed 02-Jul-2013 Eino-Ville Talvala <etalvala@google.com> am 43c754f4: am 4c543a14: Enable native HAL tests to work for camera3 devices

* commit '43c754f49c0cbd31f3a067b6bff4b98829cb3811':
Enable native HAL tests to work for camera3 devices
4c543a1456cd34a94e2c3a09879aa65ed8cd2f3a 26-Jun-2013 Eino-Ville Talvala <etalvala@google.com> Enable native HAL tests to work for camera3 devices

Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
amera2/CameraBurstTests.cpp
amera2/CameraFrameTests.cpp
amera2/CameraMetadataTests.cpp
amera2/CameraModuleFixture.h
amera2/CameraModuleTests.cpp
amera2/CameraStreamFixture.h
amera2/CameraStreamTests.cpp
amera2/camera2.cpp
5fc7a383eb5e7ea0695af3f2b0efc9210bd8ecb3 15-May-2013 Brian Carlstrom <bdc@google.com> am ee37c3a8: am 63b64337: Add larger RSA key sizes

* commit 'ee37c3a845ea1de5508ad3059457117170a8e5d5':
Add larger RSA key sizes
63b64337fbaa10b282f85a7e887b40ced6d6d632 15-May-2013 Brian Carlstrom <bdc@google.com> Add larger RSA key sizes

Bug: 8734191
Change-Id: I82413505b32d5cdd2c4330c63d5f66e6b7e34634
eymaster/keymaster_test.cpp
2a0a126ad903f954cc0589d1cba26bbb39911a71 30-Apr-2013 Kenny Root <kroot@google.com> am 03fa29db: am eca8b3cd: keymaster_test: simulate binder pages

* commit '03fa29dbc6a0048c98de22444f5d686b1bb9eb06':
keymaster_test: simulate binder pages
eca8b3cdf0f906062285d03a0d08e3104625df94 27-Apr-2013 Kenny Root <kroot@google.com> keymaster_test: simulate binder pages

Make sure pages we use in the unit tests are read-only maps from
/dev/zero

Bug: 8736730
Change-Id: I15d816a8fd3dd7313277c9f5c44c4a102a899d03
eymaster/keymaster_test.cpp
011074d419e73bfb7881993ddf1c0e959c4272c2 19-Apr-2013 Igor Murashkin <iam@google.com> am a3f1b92b: am 29156e43: Merge "Make raw tests optional, add sanity checks for format/resolutions static info." into jb-mr2-dev

* commit 'a3f1b92b774c07bcbd9437142718d8faa99ba4c2':
Make raw tests optional, add sanity checks for format/resolutions static info.
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
amera2/CameraMetadataTests.cpp
amera2/camera2.cpp
10f5795628a858723cbdc694a0d6083ad2dc4831 15-Apr-2013 Yu Shan Emily Lau <yslau@google.com> am 3589c0ef: am 827e137b: Merge "Update the test output path." into jb-mr2-dev

* commit '3589c0ef736e3e5f0ee07f756cd83a5f7c281236':
Update the test output path.
827e137bb168a6cd77011e7a66a2a4250e25d800 15-Apr-2013 Yu Shan Emily Lau <yslau@google.com> Merge "Update the test output path." into jb-mr2-dev
b7c4e1c40fbe6432ea8b8e9eb0a8545d8a7afe20 12-Apr-2013 Yu Shan Emily Lau <yslau@google.com> Update the test output path.

In order for the automated test to pick up the test.
The output must be in /data/nativetest.

Change-Id: I453805a1d186fec014e34b3d37a1e8bc62b2a5ac
amera2/Android.mk
0395efd234793ea5fc58795b3dd475d00ec98926 10-Apr-2013 Ying Wang <wangying@google.com> am 27067356: am 9003b113: Add liblog

* commit '27067356afbe1842d1472b195fbe6f56d15af514':
Add liblog
9003b113d1a6746f3d3b225bfc127142714eb581 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: I24645233148f70c57d2f2b3a46952cb2a1aea9ba
amera2/Android.mk
8a473ad9ec0a939d0c0bd2b852ef3feadaed6457 27-Mar-2013 Igor Murashkin <iam@google.com> am 72757ade: am fb40d5de: camera2_test: Allow for HAL2 version >= 2.0 (i.e. 2.1, 3.0, etc)

* commit '72757adef93fc5f353e163dba882c88ba3f40ef7':
camera2_test: Allow for HAL2 version >= 2.0 (i.e. 2.1, 3.0, etc)
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
amera2/CameraModuleFixture.h
amera2/camera2.cpp
2c7b08ad8aeedef1807560ea16d54d073bede2b2 07-Mar-2013 Brian Swetland <swetland@google.com> hwcomposer commandline test(s)

Add cnativewindow which provides a minimal bridge between EGL and hwcomposer or fbhal.
Add test-arrows, a trivial GLES2 test program to exercise this.

Change-Id: I60ece4378def6b6eda55437c215fc46a180ad7a3
wc/Android.mk
wc/cnativewindow.c
wc/test-arrows.c
wc/util.c
wc/util.h
7ed10fbdc83445555d7470f4a683f183d73cb7f1 14-Feb-2013 Igor Murashkin <iam@google.com> Tests: Camera: Refactor CameraMetadata into frameworks/av

Change-Id: Ibc2917a18163f07b5e37eb83abb3d1ef919a5766
amera2/Android.mk
amera2/CameraStreamFixture.h
7a7f357509df38a37479e2968144a2996e1f964c 12-Feb-2013 Igor Murashkin <iam@google.com> Tests: Camera2: Add Y8/Y16 to Stream create/delete tests

Change-Id: I7e066569edcab84c0d61fe7a4ae5c3e2683f63eb
amera2/CameraStreamFixture.h
amera2/CameraStreamTests.cpp
b4f1e62430de71744271c4e89fe9270fc95281aa 15-Feb-2013 Mathias Agopian <mathias@google.com> fix build: SurfaceTextureClient to Surface rename

Change-Id: I8b4bbccc570ddfaaad6f7eeaa72edde05a720b35
amera2/CameraStreamTests.cpp
cc50111825fe5c8fd2a657b4a302a45fdca627e1 15-Feb-2013 Mathias Agopian <mathias@google.com> Refactoring: Rename SurfaceTextureClient to Surface

Change-Id: Iff197c557c06673a1ad85a9bbd36caa38efb88b7
amera2/CameraFrameTests.cpp
amera2/CameraMetadataTests.cpp
amera2/CameraStreamFixture.h
amera2/camera2_utils.cpp
amera2/camera2_utils.h
e9b0eaaec6ac6bc988a52b6ce61b87334dc71bfc 21-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Tests: ModuleTests should not return OK for bad indices

Change-Id: Ia7a199d091edb4054dcd2d7164e57b3b653c5a64
amera2/CameraModuleTests.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
amera2/camera2.cpp
0a7a430a81b97b09f42b56ab85de24d0ca711520 18-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Tests: Ignore V1 device initialization failures.

This allows CameraModuleTests.LoadModule and GetCameraInfo to pass.

Change-Id: Id6e38afc6d9c5d45933d3117c7895775a30ee679
amera2/CameraModuleTests.cpp
981c903c31db2ded5f299c653c779e4ca150f834 18-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.

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
amera2/CameraFrameTests.cpp
7acb21a65c6eefe6ab1cbc55c7c15cece6bafbe5 18-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Tests: Release streams after HAL is unloaded

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
amera2/CameraModuleFixture.h
amera2/CameraModuleTests.cpp
amera2/CameraStreamFixture.h
1da4d3e377b6bc1ba10ec980176b0ff9dc3f591d 19-Dec-2012 Andy McFadden <fadden@android.com> Merge "Rename ISurfaceTexture and SurfaceTexture"
02f3ac01890e406c63ea5d8145e314474af8273a 15-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Tests: Skip stream tests /w formats that are not available.

Change-Id: I187ca983010483d1cb3ac951da2aa8b886828ef7
amera2/CameraBurstTests.cpp
amera2/CameraModuleFixture.h
amera2/CameraStreamTests.cpp
00b597f428ddb584a8251cd030cb8e3547ee869d 12-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID

Change-Id: I0adfda42e861d7e5a85801f7e0c3f0b3950b6e0e
amera2/Android.mk
amera2/CameraBurstTests.cpp
amera2/CameraFrameTests.cpp
amera2/CameraMetadataTests.cpp
amera2/CameraStreamFixture.h
amera2/CameraStreamTests.cpp
amera2/TestExtensions.h
amera2/TestForkerEventListener.cpp
amera2/TestForkerEventListener.h
amera2/TestSettings.cpp
amera2/TestSettings.h
amera2/main.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
amera2/camera2.cpp
amera2/camera2_utils.cpp
amera2/camera2_utils.h
f1b9ae703393ddb461f1e9b1023d6ab59eb51701 08-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Add a test for bursting 10 frames at a time /w manual exp controls

Change-Id: Idc1a3ebb26d0e189a543435f7f9be5f6376963d6
amera2/Android.mk
amera2/CameraBurstTests.cpp
amera2/CameraFrameTests.cpp
amera2/CameraStreamFixture.h
39e03be075e31237b71508663a98c4b8506fe1b0 05-Dec-2012 Kenny Root <kroot@google.com> am 1769442f: am e847651d: Merge "All tests should fail immediate to avoid SEGV"

* commit '1769442facb751a00a80959d492bc7f4797da4f2':
All tests should fail immediate to avoid SEGV
bb39e1769e972e5f2405f05274ac2170b4e3c83f 05-Dec-2012 Igor Murashkin <iam@google.com> Merge "Camera2: Fix metadata symbols"
139d44f26d21f9943c473aa1391ce419c5bd442a 20-Nov-2012 Kenny Root <kroot@google.com> All tests should fail immediate to avoid SEGV

Change-Id: I7ec2861c079357b708cb6242f0171672afd55e02
eymaster/keymaster_test.cpp
09ad0a3edb84404f56137963d78eccbf378fb48b 03-Dec-2012 Igor Murashkin <iam@google.com> Camera2: Fix metadata symbols

Change-Id: I5d7c8416b8ed8effca699aa9e51068f5678927ea
amera2/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
amera2/Android.mk
amera2/CameraFrameTests.cpp
amera2/CameraMetadataTests.cpp
amera2/CameraModuleFixture.h
amera2/CameraModuleTests.cpp
amera2/CameraStreamFixture.h
amera2/CameraStreamTests.cpp
amera2/ForkedTests.cpp
amera2/TestExtensions.h
amera2/TestForkerEventListener.cpp
amera2/TestForkerEventListener.h
amera2/camera2.cpp
amera2/camera2_utils.h
amera2/main.cpp
e302ee3dd3abacebeb32263654186ab433efc14c 05-Nov-2012 Igor Murashkin <iam@google.com> Camera2: Automated tests for testing HAL2.0 interface

Change-Id: I1f1afd5afc346d5493d5019af35c3026efcf19b5
amera2/Android.mk
amera2/CameraFrameTests.cpp
amera2/CameraMetadataTests.cpp
amera2/CameraModuleFixture.h
amera2/CameraModuleTests.cpp
amera2/CameraStreamFixture.h
amera2/CameraStreamTests.cpp
amera2/camera2.cpp
amera2/camera2_utils.cpp
amera2/camera2_utils.h
amera2/main.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
amera2/camera2.cpp
amera2/camera2_utils.cpp
amera2/camera2_utils.h
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
amera2/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
amera2/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
amera2/camera2.cpp
8467a6d2918274295212d07fc6e3894f6bc5d623 09-Aug-2012 Kenny Root <kroot@google.com> Enhance keymaster tests

Check the key values of successful attempts.

For imported keys, the key values should match the
input values when they're returned.

For generated keys, the modulus size should be correct and the public
exponent should be correct.

Bug: 6736252
Bug: http://code.google.com/p/android/issues/detail?id=34212
Change-Id: I37ed97d36ebfbe4301b43426129928bcb53c39f8
eymaster/Android.mk
eymaster/keymaster_test.cpp
5d64b230dc7c262575dd790299cfb667af66e014 30-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Test logging changes

Change-Id: Idcde83d46da438726c5186cbcf8109a22aef997f
amera2/camera2.cpp
bd85f47ae7b6b2af30cf9d51d7039fbba5a271ed 14-Jun-2012 Jamie Gennis <jgennis@google.com> Update ANativeWindow clients for sync

This change updates uses of ANativeWindow to use the new ANW functions that
accept and return Sync HAL fence file descriptors.

Change-Id: I8ea699ba0a9b5c4b4316f9428cbd565976899991
amera2/Android.mk
amera2/camera2_utils.cpp
fa7a91d3d2a7f99612446f61beb29cc9e215d0ba 22-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add JPEG capture test.

Bug: 6243944
Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
amera2/Android.mk
amera2/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
amera2/camera2.cpp
08a6e5e374c57361275173e18eea120587627adf 18-May-2012 Eino-Ville Talvala <etalvala@google.com> I am a HAL of constant structure.

Bug: 6243944
Change-Id: I126313f75f5f7165d3ca96f52054866c4fb6bee0
amera2/camera2_utils.cpp
amera2/camera2_utils.h
6adfd6b8ce32f042d001296f08e5b439af2635c1 15-May-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Add test for construct_default_request.

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

Bug: 6243944

Change-Id: Ib691ef513b4811ca1290f0a9a4e3c1ce1e3f0945
amera2/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
amera2/Android.mk
amera2/camera2.cpp
amera2/camera2_utils.cpp
amera2/camera2_utils.h
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
amera2/Android.mk
amera2/camera2.cpp
8ae65e71996ce871cda97cc9114cb5211cb273bf 24-Mar-2012 Kenny Root <kroot@google.com> Add delete_all to keymaster API

In order to aid keymasters erase their memory efficiently, introduce new
delete_all API to tell keymasters to forget everything. This will be
triggered when keystore itself is told to reset.

Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492
eymaster/keymaster_test.cpp
caf62bd7fb288be42d207d88d1fd282de79aa085 23-Mar-2012 Kenny Root <kroot@google.com> Use frameworks/native copy of UniquePtr.h

Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
eymaster/Android.mk
eymaster/keymaster_test.cpp
4fd0db7cd15dc01d27d928feb5c7122c908fc70c 16-Mar-2012 Kenny Root <kroot@google.com> Add tests for keymaster API

This adds unit tests for implementors of the keymaster API. It can be
compiled and run as a stand-alone executable.

Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d
eymaster/Android.mk
eymaster/keymaster_test.cpp
cc3f6a345b0cc356b22f9ea748505ce8a705d358 19-Sep-2011 Mathias Agopian <mathias@google.com> improve sensor HAL test

Change-Id: Id5e22ae2b9cb3bf71ec235a2ec6bb4319d0389da
usensors/nusensors.cpp
03cb00b7b37d39f6d599bb148db775a08eb8b04a 25-Aug-2010 Brian Carlstrom <bdc@google.com> Fix sim-eng build.

Missing a <string.h> header.

git cherry-pick -e d0019991

Change-Id: I7a3dc7cb7d2855fde56512b3dcb181a092055497
usensors/nusensors.cpp
5f5c5460d382104a8792952907aa2fa0cae1bca7 19-Aug-2010 Elliott Hughes <enh@google.com> Fix build (missing #include).

Change-Id: Icafc2289d1320f2cd41e8756363240268780d8b8
usensors/nusensors.cpp
1a2bf61d4990ac9c04aa62b2c08f01e20593624a 21-Jul-2010 Mathias Agopian <mathias@google.com> fix the nusensor test

it used the sensor handle instead of the sensor type

Change-Id: I8a1bc11826427bde9fb88d6fe88be58e3b8d2397
usensors/nusensors.cpp
cdefccdba52337df41f577d9ebfcfd67c05708cf 16-Jul-2010 Mathias Agopian <mathias@google.com> new sensor_event_t structure for the new HAL that can handle bigger payloads

Change-Id: I8f21e457c308eea9cb1f73b49b1fed36627ec55e
usensors/nusensors.cpp
b1e212e7b6fce2bc5c743b05853129e19760d7a4 09-Jul-2010 Mathias Agopian <mathias@google.com> New sensor HAL and test

Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7
ndroid.mk
usensors/Android.mk
usensors/nusensors.cpp
0100d517b1118ec181cf20e8648f3416b0830088 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
pstest/Android.mk
pstest/gpstest.cpp
51704bed795b5b0e5e3c7b792dcdc2bf2d96a9e9 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
pstest/Android.mk
pstest/gpstest.cpp