summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Camera2: Don't error out of startPreview when already recording.Eino-Ville Talvala2012-10-101-4/+7
| | | | | | | | | | | | | | | Bug: 7327474 Change-Id: I603da5b8bd58e5a700d7ae0b3d34bd89bbcb1d53
| * | am f5230955: am 907e5651: Camera2: Don\'t let unlocks happen during recording.Eino-Ville Talvala2012-10-101-2/+6
| |\ \ | | |/ | | | | | | | | | * commit 'f52309555013e9909b248374f96d22dae29f6454': Camera2: Don't let unlocks happen during recording.
| | * Camera2: Don't let unlocks happen during recording.Eino-Ville Talvala2012-10-101-2/+6
| | | | | | | | | | | | | | | Bug: 7309020 Change-Id: I6e66809b868d2e8f47f71e6f8752b44ec06dfb17
| * | am 6f846139: am 55f6c9df: Camera2: Do not set auto-white-balance regions ↵Eino-Ville Talvala2012-10-101-3/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | from metering regions. * commit '6f846139d97ad6cccdd2f243ccf3a19036ad12c7': Camera2: Do not set auto-white-balance regions from metering regions.
| | * Camera2: Do not set auto-white-balance regions from metering regions.Eino-Ville Talvala2012-10-101-3/+0
| | | | | | | | | | | | | | | | | | | | | Per API documentation, metering regions are only for AE, not also for AWB. Bug: 7312720 Change-Id: I39bcf33e4c81e80022f45e8fca77ea6cf9ba115e
| * | am e44d7f83: am c0379204: Camera: Limit valid caller PIDs for camera clients.Eino-Ville Talvala2012-10-102-20/+11
| |\ \ | | |/ | | | | | | | | | * commit 'e44d7f83a4d04b90417684d74f18ad8c703b981a': Camera: Limit valid caller PIDs for camera clients.
| | * Camera: Limit valid caller PIDs for camera clients.Eino-Ville Talvala2012-10-102-20/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Narrow down on PID checks to avoid cases where service can access the camera even though it shouldn't be able to, per API semantics. Bug: 6970469 Change-Id: Ic468a31949c28ef978b6ed48a70e4601c7ced684
| * | am 4c7b3129: am 2b0db6ae: Merge "Camera: Clear Hardware device pointer when ↵Eino-Ville Talvala2012-10-101-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | initialization fails" into jb-mr1-dev * commit '4c7b312964b2430ccc1f99e99092cc870be2a293': Camera: Clear Hardware device pointer when initialization fails
| | * Merge "Camera: Clear Hardware device pointer when initialization fails" into ↵Eino-Ville Talvala2012-10-091-0/+1
| | |\ | | | | | | | | | | | | jb-mr1-dev
| | | * Camera: Clear Hardware device pointer when initialization failsIgor Murashkin2012-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When disconnecting, don't try to call device functions if the initialization fails since this can lead to internal HAL segfaults. Bug: 7317107 Change-Id: Ib65db7eb6556ee10d844959934b1bfd7bb08d0ff
| * | | am 754cbdd2: am dca0ac21: Merge "Camera2: Fix uninitialized parameters." ↵Eino-Ville Talvala2012-10-091-0/+8
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | into jb-mr1-dev * commit '754cbdd2dd3376bb2b55d762c2909f816bd768cc': Camera2: Fix uninitialized parameters.
| | * | Merge "Camera2: Fix uninitialized parameters." into jb-mr1-devEino-Ville Talvala2012-10-091-0/+8
| | |\ \ | | | |/ | | |/|
| | | * Camera2: Fix uninitialized parameters.Eino-Ville Talvala2012-10-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some parameters were not being set to default values, causing strange flakiness in any app that wasn't calling setParameters. This includes many CTS tests. Bug: 6970468 Change-Id: If91635afc000e23862e7b039292a55349274c5ee
| * | | am e4664bb0: am 3d84d38e: Merge "Camera2: Call onAutoFocus immediately for ↵Igor Murashkin2012-10-091-0/+15
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | fixed-focus cameras" into jb-mr1-dev * commit 'e4664bb098a9b7d6ae1a93486456eff71eaae1bf': Camera2: Call onAutoFocus immediately for fixed-focus cameras
| | * | Merge "Camera2: Call onAutoFocus immediately for fixed-focus cameras" into ↵Igor Murashkin2012-10-091-0/+15
| | |\ \ | | | | | | | | | | | | | | | jb-mr1-dev
| | | * | Camera2: Call onAutoFocus immediately for fixed-focus camerasIgor Murashkin2012-10-091-0/+15
| | | |/ | | | | | | | | | | | | | | | | Bug: 7311578 Change-Id: Ib8a8ea1f5fc269abdd24ed1e0370dc9b87b284ee
| * | | am 240a538b: am d016cf5b: Merge "Camera2: Move non-ZSL shutter sound firing ↵Eino-Ville Talvala2012-10-092-5/+12
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | to be later." into jb-mr1-dev * commit '240a538b59b905b68d46e39d79c8d48d1662161c': Camera2: Move non-ZSL shutter sound firing to be later.
| | * | Merge "Camera2: Move non-ZSL shutter sound firing to be later." into jb-mr1-devEino-Ville Talvala2012-10-092-5/+12
| | |\ \ | | | |/ | | |/|
| | | * Camera2: Move non-ZSL shutter sound firing to be later.Eino-Ville Talvala2012-10-082-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of firing shutter sound when capture request is submitted for non-ZSL captures, fire it when the metadata frame is received. This guarantees that the shutter sound fires after picture capture is completed by the sensor. Bug: 7259900 Change-Id: I4a1eeed89ed0400bf80b0f0cc2d5799c3d9bb9e3
| * | | am 843aba43: am 2458d482: Merge "Camera2: Always disconnect in the client ↵Eino-Ville Talvala2012-10-081-0/+4
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | destructor" into jb-mr1-dev * commit '843aba43ef85f5a40db03e0f384ed096b03592d0': Camera2: Always disconnect in the client destructor
| | * | Merge "Camera2: Always disconnect in the client destructor" into jb-mr1-devEino-Ville Talvala2012-10-081-0/+4
| | |\ \ | | | |/ | | |/|
| | | * Camera2: Always disconnect in the client destructorIgor Murashkin2012-10-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If Camera2Client failed to initialize, it would skip disconnect step, and thus the camera would be forever marked as busy. By always calling disconnect it will always call free. It also adds a new guarantee that Client::disconnect is idempotent Bug: 7298182 Change-Id: Ic9876f1665b7d9b3c0da692880f63f165e3f4fa5
| * | | am 4a4253b9: am 82edd543: Camera2: isSmoothZoomSupported should return FALSEIgor Murashkin2012-10-081-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '4a4253b979586c9de21425f5e3cb34da9f1e57de': Camera2: isSmoothZoomSupported should return FALSE
| | * | Camera2: isSmoothZoomSupported should return FALSEIgor Murashkin2012-10-081-1/+1
| | |/ | | | | | | | | | | | | Bug: 7308024 Change-Id: Ib757bef8f6dc203f8dfa6ea6d11191e3c7cfcc6d
| * | am 9ea63b3b: am 6f854608: Camera2: Set default flash mode to FLASH_OFFAlex Ray2012-10-081-2/+2
| |\ \ | | |/ | | | | | | | | | * commit '9ea63b3bfd696bcce9cb28e86218a3449dd699d8': Camera2: Set default flash mode to FLASH_OFF
| | * Camera2: Set default flash mode to FLASH_OFFAlex Ray2012-10-081-2/+2
| | | | | | | | | | | | | | | Bug: 6970090 Change-Id: I904b1be2ee0710e82e8e647753a705184c10b46c
| * | am a761686d: am 4c9aeb21: Merge "Camera2: Fix Parameters#setZoom off by 1 ↵Igor Murashkin2012-10-081-1/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | validation error" into jb-mr1-dev * commit 'a761686d14ff8abd704a4802ca6ea0b801a9a32d': Camera2: Fix Parameters#setZoom off by 1 validation error
| | * Merge "Camera2: Fix Parameters#setZoom off by 1 validation error" into ↵Igor Murashkin2012-10-081-1/+2
| | |\ | | | | | | | | | | | | jb-mr1-dev
| | | * Camera2: Fix Parameters#setZoom off by 1 validation errorIgor Murashkin2012-10-081-1/+2
| | | | | | | | | | | | | | | | | | | | Bug: 7298683 Change-Id: If79ac6396379593eb852f041ca7d5a20ad2f9e6d
| * | | am c7ee4fda: am b8f0090a: Merge "Camera2: On stopping preview, wait until ↵Eino-Ville Talvala2012-10-084-44/+57
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | captures are completed." into jb-mr1-dev * commit 'c7ee4fda96539815e877cf035c9984f6009c4875': Camera2: On stopping preview, wait until captures are completed.
| | * | Merge "Camera2: On stopping preview, wait until captures are completed." ↵Eino-Ville Talvala2012-10-084-44/+57
| | |\ \ | | | |/ | | |/| | | | | into jb-mr1-dev
| | | * Camera2: On stopping preview, wait until captures are completed.Eino-Ville Talvala2012-10-074-44/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If preview is stopped while a still capture or a video snapshot is underway, wait until the capture completes before stopping preview. Also use the same behavior for disconnect - do not shut down the camera device until captures are complete. This works around HAL implementations which report to be done (get_in_progress_count returns 0) even when a capture is still outstanding. Bug: 7276954 Change-Id: I66290acf1740cc330eadecbcded0c59fa9c5d2fd
| * | | am 97f00a6b: am e18c1cce: Merge "Camera2: Report getMaxNumFocusAreas 0 for ↵Igor Murashkin2012-10-082-7/+25
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | fixed focus cameras" into jb-mr1-dev * commit '97f00a6b6cde4837e0ab3751d7cfd2921c11f9b4': Camera2: Report getMaxNumFocusAreas 0 for fixed focus cameras
| | * | Merge "Camera2: Report getMaxNumFocusAreas 0 for fixed focus cameras" into ↵Igor Murashkin2012-10-082-7/+25
| | |\ \ | | | |/ | | |/| | | | | jb-mr1-dev
| | | * Camera2: Report getMaxNumFocusAreas 0 for fixed focus camerasIgor Murashkin2012-10-052-7/+25
| | | | | | | | | | | | | | | | | | | | Bug: 7298805 Change-Id: I7499b80a9416bf454c8ea80c31ea4fdd3c4ee2d7
| * | | am 3576742a: am 4d410ede: Camera2: Fix off-by-one error in ZSL selection.Eino-Ville Talvala2012-10-071-3/+6
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '3576742a2bb3dc10bf8256579d600d85f17c3835': Camera2: Fix off-by-one error in ZSL selection.
| | * | Camera2: Fix off-by-one error in ZSL selection.Eino-Ville Talvala2012-10-061-3/+6
| | | | | | | | | | | | | | | | | | | | Bug: 7258126 Change-Id: Ie6da4645c46a7bb0dbd11d7c6183e904f41f74fd
| * | | am 4d85afad: am f6e09d20: Camera2: Unconditionally shut down streams on ↵Eino-Ville Talvala2012-10-051-1/+10
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | disconnect. * commit '4d85afad335ded1019ec7697b9f37241a839efa1': Camera2: Unconditionally shut down streams on disconnect.
| | * | Camera2: Unconditionally shut down streams on disconnect.Eino-Ville Talvala2012-10-051-1/+10
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | stopPreviewL may do nothing in certain states. Stop streams directly to avoid those failures, so that we always maintain the HAL interface invariant that streams referenced by in-flight requests are never deleted. Bug: 7276954 Change-Id: Ic4cffc43036f4944684d941981a43d6dd1dce7af
| * | am de434d89: am 7373cbe8: Camera2: Fix metering regions to take into account ↵Igor Murashkin2012-10-053-10/+150
| |\ \ | | |/ | | | | | | | | | | | | | | | the current zoom/crop region * commit 'de434d8969bd02ffd7cdfdd39577dd59f6a71e9d': Camera2: Fix metering regions to take into account the current zoom/crop region
| | * Camera2: Fix metering regions to take into account the current zoom/crop regionIgor Murashkin2012-10-053-10/+150
| | | | | | | | | | | | | | | | | | | | | Also adds a quirk to disable this fix to work around for incompliant HALs Bug: 7246065 Change-Id: I80bad25e56ba59149270238e5639bb33cae495ae
| * | am 9be4d65d: am af3d2887: Camera2: Change policy for calculating ↵Igor Murashkin2012-10-052-15/+105
| |\ \ | | |/ | | | | | | | | | | | | | | | previewFpsRange from previewFps * commit '9be4d65d73bb8db98bf1f53e8c47ff3e3546a144': Camera2: Change policy for calculating previewFpsRange from previewFps
| | * Camera2: Change policy for calculating previewFpsRange from previewFpsIgor Murashkin2012-10-052-15/+105
| | | | | | | | | | | | | | | Bug: 7259959 Change-Id: I759a559d7115201264f88db1f23edc2d6aef6c43
| * | am 7ca6460d: am becb0bc4: Merge "Camera2: Don\'t promote weak IBinder ptrs ↵Igor Murashkin2012-10-052-12/+14
| |\ \ | | |/ | | | | | | | | | | | | | | | to strong ones" into jb-mr1-dev * commit '7ca6460d06144d76460c8d43128bd338839d9501': Camera2: Don't promote weak IBinder ptrs to strong ones
| | * Merge "Camera2: Don't promote weak IBinder ptrs to strong ones" into jb-mr1-devIgor Murashkin2012-10-052-12/+14
| | |\
| | | * Camera2: Don't promote weak IBinder ptrs to strong onesIgor Murashkin2012-10-052-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Binder driver does not support promoting weak pointers into strong pointers. Occassionally the system would lock up when trying to do this (when closing the camera app). Bug: 7289040 Change-Id: I8bc0b5c48616bf0b7f4eed1878ad4994ee635871
| * | | am e5f4024b: am 95069fef: Camera2: Use the triggerAfWithAuto quirkEino-Ville Talvala2012-10-053-0/+26
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'e5f4024bad9875e96cefbe3fe81172d166d52154': Camera2: Use the triggerAfWithAuto quirk
| | * | Camera2: Use the triggerAfWithAuto quirkEino-Ville Talvala2012-10-043-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this quirk is set, and a scene mode is enabled, do AF calls with AF mode AUTO instead of whatever the scene more override AF mode is. Bug: 7159577 Change-Id: I3ea6b8386abc0968047fc9bba3a35c5db5bdcfd3
| * | | am 577ac8a7: am 4865c526: Camera2: Synchronize mode changes and triggersEino-Ville Talvala2012-10-0512-66/+259
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '577ac8a74e8af7fcc7bc714874b8da21f57989b5': Camera2: Synchronize mode changes and triggers
| | * | Camera2: Synchronize mode changes and triggersEino-Ville Talvala2012-10-0412-66/+259
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Make sure that changes to various parameters have reached the HAL before triggering asynchronous events like autofocus or precapture metering. Bug: 7107220 Change-Id: I3c50038de1671968eb32004ce538435121934e7e