eecc904f13e7a105f5548c953e4caa306fe06f0d |
|
24-Sep-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2 legacy: Improve robustness to camera service crashes When the camera service dies, the getParameters call is often the first to fail, and on legacy mode, this frequently happens in a background thread. Catch the runtime exceptions and convert to device errors, instead of killing the process. Bug: 17587496 Change-Id: I6757961e7c0387defd368a13cb7c343950602400
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
3084c2f5191e560c10a0011f2f77e6d0e3396f92 |
|
23-Sep-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Update EACCES to throw correct exception in LEGACY. Bug: 17595068 Change-Id: I1a88568822237d3609c3342a21e2ca81ca935408
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
e663cb77281c4c76241b820f6126543f1c2d859f |
|
16-Sep-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: refactor LEGACY mode error handling. Bug: 17431462 Bug: 17407537 - Add Surface format/size validation during configure. - Update exception error codes used in binder calls. - Report dropped requests, frames, captures, and device errors in binder callback properly. - Fixes CameraDeviceTest errors for incorrect metering rectangle weight in template tests. - Fixes CameraDeviceTest errors for missing noiseReductionMode field in template tests. - Implement flush call. Change-Id: I0da803bccf2bfb9b4c0cf61208e160a86c577497
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
acc0095bc84914d3ce41ad8298f698c37935b8a8 |
|
06-Aug-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Correct error handling - Report capture failures from service to application - Only go to error state for device-level errors - Adjust binder interface method names to match the service side names - Reduce failed session creation logging - Don't fire CaptureSession.onActive for CameraDevice.onBusy - Check with session to determine capture failure reason Bug: 17160301 Bug: 15524101 Bug: 14448494 Bug: 11272459 Change-Id: I9dd606004fd7845910dc865738fbe17f1640f07d
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
6653362f6b5c5854bd88244bcecad72d11bf9404 |
|
19-Aug-2014 |
Igor Murashkin <iam@google.com> |
camera2: legacy: disable shutter sounds unconditionally via camera2 api Bug: 17109582 Change-Id: Ieb3fc61ff111d792cc657c018e278349c25472cf
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
2f75e7d7ef2ef29ac4b1287dc44cf62cfbaf50b3 |
|
15-Jul-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Fix callback operation - Remove CloseableLock use; looks to be incompatible with invocations during callbacks - Replace with basic interface lock to be thread-safe - Add intermediate callback thread to legacy mode to match cross-process one-way Binder semantics Change-Id: Iecd4ff6cf260c5a13bd11b850177ccea93e25933
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
df6242e374b81e802a38cb891477f05d3e4b3cbc |
|
02-Jul-2014 |
Igor Murashkin <iam@google.com> |
camera2: Add crop region support and some other AE tags to legacy Change-Id: If7a87b210a57ea13d6329bb363b1c7ecdadc52e8
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
a296fece2b974a11bc624fd67b275863f17df867 |
|
23-Jun-2014 |
Igor Murashkin <iam@google.com> |
camera2: Fix cts test StillCaptureTest#testTakePicture * Introduce 'fake' metadata for 3A+flash (hardcoded to support nothing) (will be removed in a later release) * Open the camera1 device in its own thread, so that the looper it captures is also our own (and not the main looper) * Set the picture size based on the size of the JPEG surface outputs Change-Id: Iaeb5031c6b352115b73d2261a39d65347d75fdc8
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
60679f6b7d45c45be5bd0a44026711890f6ff291 |
|
20-Jun-2014 |
Igor Murashkin <iam@google.com> |
Merge "camera: Get detailed error reporting from api1 Camera if open fails"
|
a1d662716b3da384dfe3a758f079e0cbd089784a |
|
20-Jun-2014 |
Igor Murashkin <iam@google.com> |
camera: Get detailed error reporting from api1 Camera if open fails * Also maps camera2 open errors the same for shim/nonshim paths Change-Id: I08d9d1e30e72025c41bd54b702d7ae95b32257be
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
5776aafc7e70c0b79c4bee2bc50f44121b37c962 |
|
19-Jun-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Add AE antibanding + fps range metadata. Bug: 15116722 Change-Id: I627748e162f26c42f6bbcfc21ee4b1081e1f25ad
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
3e4fed203fe7c945c53c6d6bb9f160932a1d15b3 |
|
19-Jun-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Add shim frame duration and stall characteristics. Bug: 15116722 Change-Id: Ief8b05d46fa12f63cf6a5d41e312c94d5a033553
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|
feb50af361e4305a25758966b6b5df2738c00259 |
|
10-May-2014 |
Ruben Brunk <rubenbrunk@google.com> |
camera2: Add HAL1 compatibility shim skeleton. This adds basic support for running the Camera2 API on a device running a camera HAL version lower than CAMERA_MODULE_API_VERSION_2_0. This CL includes support for: - N-way preview output streams - N-way jpeg output streams - CameraDevice emulation at the binder interface - Basic camera metadata querying in the CameraManager Bug: 15117269 Bug: 15116722 Change-Id: I8322955034c91f34bb348d4b28c2b774dbef38f6
/frameworks/base/core/java/android/hardware/camera2/legacy/CameraDeviceUserShim.java
|