History log of /frameworks/base/core/java/android/hardware/camera2/legacy/LegacyExceptionUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
36ceaca325e5fbe202df1a0868a6daf5470aeacd 16-Mar-2018 Yin-Chia Yeh <yinchiayeh@google.com> Camera: fix errorFlag logic

Use BAD_VALUE for both
- Surface is not backed by a native object
- The native object has been disconnected

Test: new CTS tests
Bug: 67564265
Change-Id: Iffa404789a30f2fd09472822dbeaf9f6a7472a96
/frameworks/base/core/java/android/hardware/camera2/legacy/LegacyExceptionUtils.java
5d2d7788f1759b0f3d2c057af0b3ea61b0354fee 18-Dec-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Switch to auto-gen C++ binder interfaces

- Move camera AIDL files to frameworks/av
- Update makefiles to point to new AIDL locations
- Adjust camera2 implementation to match modifications to AIDL needed
for native AIDL auto-generation
- Move Surface.aidl to frameworks/native to allow use in
native AIDL. Use android::view::Surface in Surface JNI to
serialize Surface objects to ensure parceling compatibility.
- Adjust service binder tests to new interface

Bug: 25091611
Change-Id: I85b817374b34a4540fa145328dbe4bbf7f746baf
/frameworks/base/core/java/android/hardware/camera2/legacy/LegacyExceptionUtils.java
8ea56f68517ffa42bd5f43ab67f4ebfcfcb0cd23 07-Jul-2015 Lazar Trsic <Lazar.Trsic@imgtec.com> Replace hard-coded errno values with OsConstants

Errno values have been hard-coded inside java code. On the native side
however, bionic's errno.h is used (through utils/Errors.h). Some of
the numbers are architecture dependent (EOPNOTSUPP, ETIMEDOUT...).

This causes Camera app to crash on MIPS devices. There is a check for
expected errors, in CameraBinderDecorator.throwOnError, but the error
(EOPNOTSUPP) is not recognized and an exception is thrown.

Change-Id: I8bcac8f1ced50c76614f566a6e624967a18a25e1
/frameworks/base/core/java/android/hardware/camera2/legacy/LegacyExceptionUtils.java
443ab2c7dbe2a3a482892f3171882572f10eab9a 13-Mar-2015 Ruben Brunk <rubenbrunk@google.com> camera2: Release surface in ImageReader#close and fix legacy cleanup

Bug: 19694090
Change-Id: I344ad707dbd414db023e4770769b5237bd3bbb4e
/frameworks/base/core/java/android/hardware/camera2/legacy/LegacyExceptionUtils.java
ef14da32804b06bac872c9e0e14ce0e52120a0bd 25-Jun-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Fix handling for abandoned bufferqueues.

Bug: 15116722

- Adds exception handling utility for legacy device.
- Skip/ignore abandoned surfaces in legacy camera.

Change-Id: Id4de587779d3bc2415e22b10bcc841cc46ac5f1d
/frameworks/base/core/java/android/hardware/camera2/legacy/LegacyExceptionUtils.java