summaryrefslogtreecommitdiffstats
path: root/camera
Commit message (Collapse)AuthorAgeFilesLines
...
| * | CameraService and Stagefright: Support AppOpsEino-Ville Talvala2013-02-252-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Camera: - Signal to AppOpsService when camera usage starts and stops - Listen to permissions revocations and act on them - Currently just kill camera connection when permissions lost Stagefright: - Pass on client name, UID to camera as needed Bug: 8181262 Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0
| * | ProCamera: Fix waitForFrameBuffer not handling multiple outstanding framesIgor Murashkin2013-02-222-10/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-222-22/+260
| | | | | | | | | | | | 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-223-5/+78
| | | | | | | | | | | | Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
| * | Camera: ProCamera - implement onResultReceived callback for metadata callbacksIgor Murashkin2013-02-223-12/+159
| | | | | | | | | | | | 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-222-51/+235
| | | | | | | | | | | | Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
| * | Camera: Change ProCamera to take IGraphicBufferProducerIgor Murashkin2013-02-222-8/+12
| | | | | | | | | | | | Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d
| * | Camera: ProCamera2Client - add createStream (service is stubbed) and unit testIgor Murashkin2013-02-223-54/+169
| | | | | | | | | | | | Change-Id: I1ae7ba9b24f5883c214c19a7ed0eaf0c802d69c1
| * | Camera: ProCamera - add createStream stub and unit test for itIgor Murashkin2013-02-222-1/+179
| | | | | | | | | | | | 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-224-4/+221
| | | | | | | | | | | | Change-Id: I551e5e5e76d9be733fab5224beaa7309268c0f38
| * | Camera: Add ProCamera private binder interface for an API2-light functionalityIgor Murashkin2013-02-228-2/+731
| | | | | | | | | | | | Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274
| * | Camera: Add unit test infrastructure for libcameraclientIgor Murashkin2013-02-223-2/+68
| | | | | | | | | | | | Change-Id: I957538663ae8332d26f3640c63a75efc79f4ac5c
| * | Camera: Add exists function to CameraMetadataIgor Murashkin2013-02-221-0/+5
| | | | | | | | | | | | Change-Id: I081f61417fca7c8408e9e767129647ddce5364ab
| * | Camera: Move CameraMetadata.h from service to client libraryIgor Murashkin2013-02-222-1/+304
| | | | | | | | | | | | Change-Id: I940ce86f318f37ae5b73f912a6e589415150125f
| * | Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-182-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
| * | Camera: Add HDR scene mode constants.Eino-Ville Talvala2012-09-101-0/+1
| | | | | | | | | | | | Change-Id: I78b1f8ca3c1a03222ed363db26d9a09cf0b13528
| * | Camera2: Add a burst mode skeleton.James Painter2012-09-071-0/+5
| | | | | | | | | | | | | | | Bug: 6243944 Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
* | | Initial implementation of android.hardware.photography.CameraDevice (service)Igor Murashkin2013-06-208-119/+765
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Verified preview streaming requests * Other things *should* work but unverified / unimplemented in client side Missing: * CameraService needs to return static camera info metadata Bug: 9213377 Change-Id: I71568560fcf18d0e2b408ed1c4d0066647314868
* | | camera: Make some binder interfaces compatible with AIDLIgor Murashkin2013-06-114-6/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done: * ICameraService * ICameraServiceListener Partial: * ICamera (disconnect only) * IProCameraUser (disconnect only) Bug: 9213377 Change-Id: I8e2e6e05cfd02ec36be1d5b2c551f10ffb43b5b4
* | | am ad60695f: am 1a95a727: Merge "camera: Use new camera_metadata structure ↵Igor Murashkin2013-05-062-15/+63
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | validation functions" into jb-mr2-dev * commit 'ad60695f2dcea0b6ea1d3a92a034b5067b87783e': camera: Use new camera_metadata structure validation functions
| * | | camera: Use new camera_metadata structure validation functionsIgor Murashkin2013-05-022-15/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reject unvalidated metadata across binder boundaries * Sanity check in-process CameraMetadata when mutating data Bug: 8713951 Change-Id: I121d8e15f8fdc9cdbbaf27dfd947813e11831e1c
* | | | am b9258b57: am d090054d: Merge "Fix ProCameraTests to pass on Wolfie, ↵Igor Murashkin2013-04-221-24/+64
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | disabling failing tests" into jb-mr2-dev * commit 'b9258b57aa0c86e4741e2c24474bb9d766d17e8e': Fix ProCameraTests to pass on Wolfie, disabling failing tests
| * | | 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
* | | | Camera: Add preview callback surface supportEino-Ville Talvala2013-04-172-0/+29
|/ / / | | | | | | | | | | | | | | | | | | | | | - Add call to set a preview callback surface - Implement support for HAL2/3 devices - Still need HAL1 implementation Change-Id: I0dc0bd72e43d871aa487858d1665c1efca633ffe
* | | 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: Idc15036afb5617ac1ef67ff74ba332c5f73fe155
* | | | Add liblogYing Wang2013-04-091-0/+1
|/ / / | | | | | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* | | Camera: Add input side to camera3 HAL deviceEino-Ville Talvala2013-03-271-12/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Stream creation/deletion - Request submission - Request thread loop - Add get() to CameraMetadata to allow HAL submission while retaining ownership. Change-Id: I271f72bcbe9557eded43cbcbfe789109857f8144
* | | 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-272-4/+5
|/ / / | | | | | | | | | | | | Bug: 8402301 Change-Id: I975990185f45bb8552712271b9ac457af08a170c
* | | ProCameraTests: Minor add grey/frame count debug-only print outsIgor Murashkin2013-03-181-0/+10
| | | | | | | | | | | | Change-Id: I0f7b7f3c083a644e9bb0c2302244a5ad434e96a8
* | | remove uses of Surface in favor or IGraphicBufferProducerMathias Agopian2013-03-122-39/+2
| | | | | | | | | | | | Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
* | | (Camera)ProCamera: Remove unused functions from binder interfaceIgor Murashkin2013-03-116-145/+31
| | | | | | | | | | | | Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
* | | ProCamera: Add CpuConsumer asynchronous mode supportIgor Murashkin2013-02-282-3/+74
| | | | | | | | | | | | | | | | | | Bug: 8290146 Bug: 8291751 Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
* | | Camera: Drop ProCamera connections when a Camera connection happensIgor Murashkin2013-02-285-12/+274
| | | | | | | | | | | | | | | | | | | | | * 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
* | | camera_client: refactor Camera/ProCamera commonalities into BasicCameraIgor Murashkin2013-02-265-249/+283
| | | | | | | | | | | | Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9
* | | CameraService and Stagefright: Support AppOpsEino-Ville Talvala2013-02-252-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Camera: - Signal to AppOpsService when camera usage starts and stops - Listen to permissions revocations and act on them - Currently just kill camera connection when permissions lost Stagefright: - Pass on client name, UID to camera as needed Bug: 8181262 Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0
* | | ProCamera: Fix waitForFrameBuffer not handling multiple outstanding framesIgor Murashkin2013-02-222-10/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-222-22/+260
| | | | | | | | | | | | 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-223-5/+78
| | | | | | | | | | | | Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
* | | Camera: ProCamera - implement onResultReceived callback for metadata callbacksIgor Murashkin2013-02-223-12/+159
| | | | | | | | | | | | 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-222-51/+235
| | | | | | | | | | | | Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
* | | Camera: Change ProCamera to take IGraphicBufferProducerIgor Murashkin2013-02-222-8/+12
| | | | | | | | | | | | Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d