summaryrefslogtreecommitdiffstats
path: root/services/camera
Commit message (Collapse)AuthorAgeFilesLines
...
| * Camera: Add input side to camera3 HAL deviceEino-Ville Talvala2013-03-272-49/+934
| | | | | | | | | | | | | | | | | | | | - Stream creation/deletion - Request submission - Request thread loop - Add get() to CameraMetadata to allow HAL submission while retaining ownership. Change-Id: I271f72bcbe9557eded43cbcbfe789109857f8144
| * Camera: Add streams to camera3 HAL deviceEino-Ville Talvala2013-03-279-0/+1363
| | | | | | | | | | | | | | | | - Generic stream interface - Functional output stream - Skeleton input/zsl stream Change-Id: I143794eac1a2217031d62b51912662fc6d1db900
| * Camera: Add hotplug support (for fixed # of cameras)Igor Murashkin2013-03-262-5/+143
| | | | | | | | | | | | | | * 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
| * Camera2: getSceneMode should return NULL when there are no supported scene modesIgor Murashkin2013-03-211-0/+2
| | | | | | | | | | Bug: 8444806 Change-Id: Ic92924ceda3de738a7971605552baf00a4fc0546
| * commandStartFaceDetectionL returned the wrong value when face detection is ↵Ziv Hendel2013-03-211-1/+1
| | | | | | | | | | | | | | | | | | not supported by the HAL. This caused the JNI function to fail since it expected a BAD_VALUE response in that case. Change-Id: I53107a3958d541c25930b81eda638d4b6a394254 Signed-off-by: Igor Murashkin <iam@google.com>
| * Camera: fix waitUntilDrained log messageAlex Ray2013-03-171-1/+1
| | | | | | | | Change-Id: Iab6197e0674752de7933dd812bff430a5c487c4b
| * ProCamera: Fix rare deadlock when client destructs inside the connect callIgor Murashkin2013-03-131-77/+87
| | | | | | | | | | Bug: 8337737 Change-Id: Ia6fca4365fa20fdbfd6a1ec8d047639a002f2aba
| * remove CameraServiceTest which wasn't usedMathias Agopian2013-03-124-1140/+0
| | | | | | | | | | | | | | this test hasn't been compiled or run in a long long time and isn't up to date or relevant. Change-Id: I5a7f1190d4a783e088d44e3e6ef66231cf0cfb49
| * Camera: Make ProCamera connect take the same paths as Camera connectIgor Murashkin2013-03-114-164/+130
| | | | | | | | | | | | | | | | * ProCamera uses the app ops manager * Refactored connect calls to be as common as possible * Removed some useless not implemented function calls in ProClient Change-Id: I5dab30d20f0c202a494a07b2cfe4c1fa04a2a076
| * (Camera)ProCamera: Remove unused functions from binder interfaceIgor Murashkin2013-03-112-10/+2
| | | | | | | | Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
| * (Camera)FrameProcessor: Refactor to share code with ProFrameProcessorIgor Murashkin2013-03-1111-203/+106
| | | | | | | | Change-Id: Ie8cd0df7caf83f9d0134f560ae31ab72f2f7d1fc
| * CameraService: Refactor Camera2Client to share a base with ProCameraClientIgor Murashkin2013-03-1115-470/+583
| | | | | | | | Change-Id: I249e2a0fc47ae84f29c9d9c4a223fba13da3ee66
| * Camera: Log warning on out-of-range face detect scoresAlex Ray2013-03-061-0/+4
| | | | | | | | | | Bug: 7368364 Change-Id: I7b1e995dd15e87c816b89ccf9968a222fd66d140
| * Camera: Drop ProCamera connections when a Camera connection happensIgor Murashkin2013-02-284-4/+225
| | | | | | | | | | | | | | * Also adds an ICameraServiceListener with available/not available statuses Bug: 8291653 Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84
| * Camera: Start of support for version 3.0 of camera device HALEino-Ville Talvala2013-02-2718-247/+881
| | | | | | | | | | | | | | - Refactor common CameraDevice interface out of Camera2Device - Initial skeleton only for Camera3Device Change-Id: I097cc76e2ad102a51712ac114235163245f5482c
| * camera_client: refactor Camera/ProCamera commonalities into BasicCameraIgor Murashkin2013-02-262-2/+11
| | | | | | | | Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9
| * CameraService and Stagefright: Support AppOpsEino-Ville Talvala2013-02-258-45/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: Add getInfo for getting static metadata (and a test)Igor Murashkin2013-02-222-0/+19
| | | | | | | | Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
| * Camera: ProCamera - implement onResultReceived callback for metadata callbacksIgor Murashkin2013-02-225-2/+297
| | | | | | | | Change-Id: I46775402b007244bc383d6343a620eebbd492aad
| * Camera: ProCamera - add createStreamCpu and unit testIgor Murashkin2013-02-221-0/+7
| | | | | | | | Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
| * Camera: Change ProCamera to take IGraphicBufferProducerIgor Murashkin2013-02-222-5/+13
| | | | | | | | Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d
| * Camera: ProCamera2Client implement createStream,createDefaultRequestIgor Murashkin2013-02-222-15/+54
| | | | | | | | | | | | The StreamingImage unit test should now work when TEST_DISPLAY_SECS is set. Change-Id: I9cf3ad5bd5a76096ab21bd39e631d636c4ff3d3f
| * Camera: ProCamera2Client - add createStream (service is stubbed) and unit testIgor Murashkin2013-02-224-1/+556
| | | | | | | | Change-Id: I1ae7ba9b24f5883c214c19a7ed0eaf0c802d69c1
| * Camera: Add ProCamera private binder interface for an API2-light functionalityIgor Murashkin2013-02-222-53/+390
| | | | | | | | Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274
| * Camera: Add unit test infrastructure for libcameraclientIgor Murashkin2013-02-221-0/+1
| | | | | | | | Change-Id: I957538663ae8332d26f3640c63a75efc79f4ac5c
| * Camera: Move CameraMetadata.h from service to client libraryIgor Murashkin2013-02-2214-484/+10
| | | | | | | | Change-Id: I940ce86f318f37ae5b73f912a6e589415150125f
| * Merge "replace getISurfaceTexture by getIGraphicBufferProducer"Mathias Agopian2013-02-212-2/+2
| |\
| | * replace getISurfaceTexture by getIGraphicBufferProducerMathias Agopian2013-02-192-2/+2
| | | | | | | | | | | | Change-Id: I723a3863558126f2635a544a39bb3ec88d499c60
| * | CameraService: Log camera module nameAlex Ray2013-02-201-0/+1
| |/ | | | | | | | | | | | | | | Explicitly logs camera module loaded. This is useful on systems with multiple camera modules installed. Also this make the camera service match audioflinger, which logs hardware module names as well. Change-Id: I280bf12df2d517f936916b8ba3cb662e671d0216
| * Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-158-16/+13
| | | | | | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
| * Camera2: Fix JPEG quality metadata type, new warnings.Eino-Ville Talvala2013-01-072-15/+24
| | | | | | | | | | | | | | | | | | | | | | - JPEG quality tag is now a uint8_t, not an int. Update parameter code accordingly. - Fix new warnings about narrowing conversions. Bug: 7944244 Change-Id: Ie081c57c9e9323148614b170b132ffb98c0a0b9f
| * Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-185-14/+14
| | | | | | | | | | | | | | | | | | | | 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
| * Camera2: fix metadata symbolsIgor Murashkin2012-12-034-153/+153
| | | | | | | | Change-Id: I59e457824782de26b7b489cd92eb33d48e6ee2d9
| * Fix master build.Ben Murdoch2012-11-281-1/+1
| | | | | | | | Change-Id: Ia362f74d8cd7df76292473c26c112dffe190c599
| * am b8fa1240: am aa9e3e01: Camera: Play shutter sound iff ↵Igor Murashkin2012-11-273-9/+14
| |\ | | | | | | | | | | | | | | | | | | enableShutterSound(true) && ShutterCallback !null * commit 'b8fa1240eedeb487a7ee0cf7d60e17bed9b25cf4': Camera: Play shutter sound iff enableShutterSound(true) && ShutterCallback !null
| | * Camera: Play shutter sound iff enableShutterSound(true) && ShutterCallback !nullIgor Murashkin2012-11-263-9/+14
| | | | | | | | | | | | | | | Bug: 7564718 Change-Id: Ie7821cdee57966d88af048759578439a3e6ecb2e
| * | Remove obsolete references to libmedia_nativeGlenn Kasten2012-10-301-1/+0
| | | | | | | | | | | | | | | Bug: 6654403 Change-Id: I3993d62987cf0dd85db10bf002a5cce53d4f01bd
| * | Camera2: Compile with warnings, fix warningsIgor Murashkin2012-10-2614-50/+45
| | | | | | | | | | | | Change-Id: I557350abb32b0480f5da7dcecadfbe9edbe53361
| * | am 203836b7: am b8d6efba: Camera2: Don\'t hold locks while waiting to sync.Eino-Ville Talvala2012-10-241-33/+35
| |\ \ | | |/ | | | | | | | | | * commit '203836b7584ccb7787202578259d27d70a8a3ede': Camera2: Don't hold locks while waiting to sync.
| | * Camera2: Don't hold locks while waiting to sync.Eino-Ville Talvala2012-10-241-33/+35
| | | | | | | | | | | | | | | Bug: 7409877 Change-Id: Ia3a0bc4f0ab4e19fca868ba04a870cf8e8ee7adb
| * | am 9e83f44c: am 6ccc3c34: Merge "Camera2: Increase mode update timeout." ↵Eino-Ville Talvala2012-10-231-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | into jb-mr1-dev * commit '9e83f44c0b310a72a080c006ebc3c07bdccc7027': Camera2: Increase mode update timeout.
| | * Camera2: Increase mode update timeout.Eino-Ville Talvala2012-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During camera startup, it might take a few hundred milliseconds before requests start to be dequeued by the HAL. Increase the timeout for synchronizing mode changes and triggers so that triggers near startup don't time out. Bug: 6970465 Change-Id: I9dc35378e8018ec18ae31be874fcb094f8a9a0e9
| * | am e50ba28a: am 9e760d66: Merge "Camera2: Fix potential deadlock" into ↵Eino-Ville Talvala2012-10-191-7/+11
| |\ \ | | |/ | | | | | | | | | | | | | | | jb-mr1-dev * commit 'e50ba28aa1846a7c2a296f122a5675476dacc4a5': Camera2: Fix potential deadlock
| | * Camera2: Fix potential deadlockEino-Ville Talvala2012-10-171-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setPreviewWindow was holding a lock during long-lasting HAL calls which may cause deadlock if the HAL calls back into the service during the call. Stop holding the lock during these calls, since it's not essential to do so. Bug: 7320517 Change-Id: I4a35703d751e22ac32979b5a1288e291610576e7
| * | am ed653a35: am ecfbc952: Merge "Camera2: Improve quirks focusing behavior." ↵Eino-Ville Talvala2012-10-162-2/+9
| |\ \ | | |/ | | | | | | | | | | | | | | | into jb-mr1-dev * commit 'ed653a35784969b7d36e8b36bd421e2a54def0de': Camera2: Improve quirks focusing behavior.
| | * Camera2: Improve quirks focusing behavior.Eino-Ville Talvala2012-10-162-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When scene mode is set and the AF quirk is in use, don't change AF mode and then cancel when AF cancel is received. Just change mode since that also implies a cancel. - Only trigger quirks switch when a focusing area is set. Bug: 7318812 Change-Id: I28d8755553bd78052e774701210cb94d84ee2046
| * | am 74a7bcc0: am 54717320: Camera2: Don\'t touch frame counter on output frames.Eino-Ville Talvala2012-10-161-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '74a7bcc052d9bdd0f555e9be6f5ecaf92c6b22d8': Camera2: Don't touch frame counter on output frames.
| | * Camera2: Don't touch frame counter on output frames.Eino-Ville Talvala2012-10-161-1/+1
| | | | | | | | | | | | | | | Bug: 7357069 Change-Id: I9cd0cdcc23959bfecced5f47bb9e8c59c997dade
| * | am 522fa119: am d6cc4a62: Camera2: When focus is already locked in CAF mode, ↵Eino-Ville Talvala2012-10-163-4/+41
| |\ \ | | |/ | | | | | | | | | | | | | | | do not trigger HAL. * commit '522fa119fe2745cd950b6216ad6b49587372b7b3': Camera2: When focus is already locked in CAF mode, do not trigger HAL.
| | * Camera2: When focus is already locked in CAF mode, do not trigger HAL.Eino-Ville Talvala2012-10-163-4/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In HAL2 CAF modes, once focus is locked by an AF trigger, additional triggers will not cause AF notifications, since the state will not change again until a cancelAutofocus call. Since the old API still expects to see a notification, short-circuit this at the service and send an immediate success notification. Bug: 7318298 Change-Id: Ib209a24eaf2a35a247d06aea671efe80a33d751e