summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Enhance keymaster testsKenny Root2012-08-092-37/+97
| | | | | | | | | | | | | | 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
* Camera2: Test logging changesEino-Ville Talvala2012-07-311-8/+8
| | | | Change-Id: Idcde83d46da438726c5186cbcf8109a22aef997f
* Update ANativeWindow clients for syncJamie Gennis2012-06-182-18/+6
| | | | | | | This change updates uses of ANativeWindow to use the new ANW functions that accept and return Sync HAL fence file descriptors. Change-Id: I8ea699ba0a9b5c4b4316f9428cbd565976899991
* Camera2: Add JPEG capture test.Eino-Ville Talvala2012-06-132-6/+128
| | | | | Bug: 6243944 Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
* Camera2: Update test code for metadata changesEino-Ville Talvala2012-05-201-29/+27
| | | | | | | | - New resolution handling - Don't do long exposures in tests Bug: 6243944 Change-Id: Ia8362a50c8c4a2230d892e571b31e513c67ab84d
* I am a HAL of constant structure.Eino-Ville Talvala2012-05-172-37/+52
| | | | | Bug: 6243944 Change-Id: I126313f75f5f7165d3ca96f52054866c4fb6bee0
* Camera2: Add test for construct_default_request.Eino-Ville Talvala2012-05-141-0/+30
| | | | | Bug: 6243944 Change-Id: I59b03d7ebece2a4b7672b265bd9f960b3faea621
* Camera2: Match updated camera_metadata methods.Eino-Ville Talvala2012-05-141-36/+31
| | | | | | Bug: 6243944 Change-Id: Ib691ef513b4811ca1290f0a9a4e3c1ce1e3f0945
* Substantial cleanup of camera2 HAL, and some initial unit testsEino-Ville Talvala2012-05-084-31/+1308
| | | | | | | | | | | | | | | | | | | | | | - 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
* Revise camera HAL 2, and add unit test skeleton.Eino-Ville Talvala2012-04-112-0/+150
| | | | | | | | | | | | | | | | | | | - 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
* Add delete_all to keymaster APIKenny Root2012-03-261-0/+39
| | | | | | | | 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
* Use frameworks/native copy of UniquePtr.hKenny Root2012-03-222-2/+1
| | | | Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
* Add tests for keymaster APIKenny Root2012-03-192-0/+784
| | | | | | | This adds unit tests for implementors of the keymaster API. It can be compiled and run as a stand-alone executable. Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d
* improve sensor HAL testMathias Agopian2011-09-181-49/+49
| | | | Change-Id: Id5e22ae2b9cb3bf71ec235a2ec6bb4319d0389da
* Fix sim-eng build.Brian Carlstrom2010-08-241-0/+1
| | | | | | | | Missing a <string.h> header. git cherry-pick -e d0019991 Change-Id: I7a3dc7cb7d2855fde56512b3dcb181a092055497
* Fix build (missing #include).Elliott Hughes2010-08-191-0/+1
| | | | Change-Id: Icafc2289d1320f2cd41e8756363240268780d8b8
* fix the nusensor testMathias Agopian2010-07-201-9/+18
| | | | | | it used the sensor handle instead of the sensor type Change-Id: I8a1bc11826427bde9fb88d6fe88be58e3b8d2397
* new sensor_event_t structure for the new HAL that can handle bigger payloadsMathias Agopian2010-07-191-9/+16
| | | | Change-Id: I8f21e457c308eea9cb1f73b49b1fed36627ec55e
* New sensor HAL and testMathias Agopian2010-07-143-0/+191
| | | | Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-152-163/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-172-0/+163