summaryrefslogtreecommitdiffstats
path: root/camera/tests
Commit message (Collapse)AuthorAgeFilesLines
* camera3: Pass vendor tags through binder.Ruben Brunk2014-03-132-0/+221
| | | | | | | | | | Bug: 12134423 - Adds a class for parceling vendor tag definitions. - Passes vendor tag definitions to clients of the camera service. - Switches over to new vendor tag mechanism when reading from HAL. Change-Id: Icef3fe9e67160767bdb8244ac49c85b68b497123
* Camera API 2, Device 2/3: Implement idle and shutter callbacksEino-Ville Talvala2013-10-021-3/+2
| | | | | | | | | | | | | | | | | | - Update callback Binder interface - Rename frameId to be requestId to be consistent and disambiguate from frameNumber. - Implement shutter callback from HAL2/3 notify() - Add in-flight tracking to HAL2 - Add requestId to in-flight tracking - Report requestId from shutter callback - Implement idle callback from HAL3 process_capture_result - Add new idle tracker thread - Update all idle waiting to use the tracker - Add reporting from request thread, all streams to tracker - Remove existing idle waiting infrastructure Bug: 10549462 Change-Id: I867bfc248e3848c50e71527e3561fe92dc037958
* Camera: Correct stream id typesZhijun He2013-09-081-14/+12
| | | | | Bug: 10604704 Change-Id: I223ac5d200eb6439c08955fb7ad586592099fbae
* Fix ProCameraTests to pass on Wolfie, disabling failing testsIgor Murashkin2013-04-181-24/+64
| | | | | | | | Note: tests fail in racy conditions, but we don't occur those conditions in practice in other consumers of ProCamera. Bug: 8654735 Change-Id: Ic73395ad564031a6b30ad99762dee59f9c35cecf
* 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: Idc15036afb5617ac1ef67ff74ba332c5f73fe155
* Merge "Camera: Add hotplug support (for fixed # of cameras)" into jb-mr2-devIgor Murashkin2013-03-271-5/+13
|\
| * Camera: Add hotplug support (for fixed # of cameras)Igor Murashkin2013-03-261-5/+13
| | | | | | | | | | | | | | * Minor: also change addListener to fire the current status upon subscription * Minor: STATUS_AVAILABLE is now an alias for STATUS_PRESENT and deprecated Change-Id: I254608a7332095e3ef201ffea64cff156cfc1b3e
* | ProCamera: Fix memory leak in consumeFrameMetadataIgor Murashkin2013-03-271-0/+3
|/ | | | | Bug: 8402301 Change-Id: I975990185f45bb8552712271b9ac457af08a170c
* ProCameraTests: Minor add grey/frame count debug-only print outsIgor Murashkin2013-03-181-0/+10
| | | | Change-Id: I0f7b7f3c083a644e9bb0c2302244a5ad434e96a8
* (Camera)ProCamera: Remove unused functions from binder interfaceIgor Murashkin2013-03-111-7/+7
| | | | Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
* ProCamera: Add CpuConsumer asynchronous mode supportIgor Murashkin2013-02-281-2/+54
| | | | | | Bug: 8290146 Bug: 8291751 Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
* Camera: Drop ProCamera connections when a Camera connection happensIgor Murashkin2013-02-281-12/+138
| | | | | | | * Also adds an ICameraServiceListener with available/not available statuses Bug: 8291653 Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84
* ProCameraTest: Drop frames test move processing delay between lock/unlockIgor Murashkin2013-02-281-5/+5
| | | | | | | * This makes it more likely to find races with the buffer being unlocked by itself Change-Id: I1fa7dbfb73f60664a02a35678b58bcc9b06893a2
* ProCamera: Fix waitForFrameBuffer not handling multiple outstanding framesIgor Murashkin2013-02-221-2/+55
| | | | | | | | | | | If the CpuConsumer triggered multiple onFrameAvailable callbacks in between a single waitForFrameBuffer call, the old code would only handle 1 callback. This meant on two subsequent waitForFrameBuffer calls the second would always timeout when two buffers were already available to be unlocked. Bug: 8238112 Change-Id: Ibefca35005ac5c408e5ada97ec4a4344a9e3e497
* ProCamera: add waitForFrameBuffer/waitForFrameResult blocking callsIgor Murashkin2013-02-221-9/+163
| | | | Change-Id: I851d41aeecaa15245d5b9d622132e8706d6e292c
* Camera: ProCameraTests: clean up a bit, still needs more cleanupIgor Murashkin2013-02-221-79/+116
| | | | Change-Id: Ia7e18c81002c8d98176f21553cf13cbd13cfdf5d
* ProCamera: Add getInfo for getting static metadata (and a test)Igor Murashkin2013-02-221-0/+30
| | | | Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
* Camera: ProCamera - implement onResultReceived callback for metadata callbacksIgor Murashkin2013-02-221-12/+116
| | | | Change-Id: I46775402b007244bc383d6343a620eebbd492aad
* Camera: ProCameraTests - add CpuConsumer tests for dual streamsIgor Murashkin2013-02-221-2/+166
| | | | Change-Id: Ia010450dc79ac2841645b8c2e1553c9ec74ee5e3
* Camera: ProCamera - add createStreamCpu and unit testIgor Murashkin2013-02-221-28/+147
| | | | Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
* Camera: ProCamera2Client - add createStream (service is stubbed) and unit testIgor Murashkin2013-02-221-8/+12
| | | | Change-Id: I1ae7ba9b24f5883c214c19a7ed0eaf0c802d69c1
* Camera: ProCamera - add createStream stub and unit test for itIgor Murashkin2013-02-221-1/+111
| | | | Change-Id: Ic05130e63f4f2c0c3278ba348b192992169f105f
* Camera: ProCameraTests - add asynchronous locking unit testIgor Murashkin2013-02-221-5/+41
| | | | Change-Id: Ib79eb84046c9ed898bfb086a6600265fc351924c
* Camera: ProClient add asynchronous locks and suchIgor Murashkin2013-02-222-4/+168
| | | | Change-Id: I551e5e5e76d9be733fab5224beaa7309268c0f38
* Camera: Add ProCamera private binder interface for an API2-light functionalityIgor Murashkin2013-02-222-0/+69
| | | | Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274
* Camera: Add unit test infrastructure for libcameraclientIgor Murashkin2013-02-222-0/+63
Change-Id: I957538663ae8332d26f3640c63a75efc79f4ac5c