summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2019-03-28 09:13:20 -0700
committerEmilian Peev <epeev@google.com>2019-03-28 10:04:31 -0700
commit22ba924404d8b52ce858ede88e76ef709f8abde9 (patch)
tree432d87b7bdde7c3a76ef7b4ddd0568dc46fc71da
parent0a94e285172d91334b7ac4a05e7acb2fd6d61107 (diff)
downloadandroid_hardware_interfaces-22ba924404d8b52ce858ede88e76ef709f8abde9.tar.gz
android_hardware_interfaces-22ba924404d8b52ce858ede88e76ef709f8abde9.tar.bz2
android_hardware_interfaces-22ba924404d8b52ce858ede88e76ef709f8abde9.zip
Camera: Update 'ERROR_RESULT' documentation
Extend "ERROR_RESULT" documentation and describe how Hal must notify about physical device result failures and logical device result failures. Bug: 128835627 Test: Successful build Change-Id: Iac5642f333634d9cc820eb727f8ff3534a47a583
-rw-r--r--camera/device/3.5/types.hal8
-rw-r--r--current.txt2
2 files changed, 9 insertions, 1 deletions
diff --git a/camera/device/3.5/types.hal b/camera/device/3.5/types.hal
index f98c60355..6d861e2e7 100644
--- a/camera/device/3.5/types.hal
+++ b/camera/device/3.5/types.hal
@@ -21,6 +21,14 @@ import @3.4::StreamConfiguration;
import @3.2::CameraBlobId;
/**
+ * If the result metadata cannot be produced for a physical camera device part of a logical
+ * multi-camera, then HAL must invoke the notification callback and pass a message with ERROR_RESULT
+ * code and errorStreamId that contains the stream id associated with that physical device.
+ * The behavior during absent result metadata remains unchanged for a logical or a non-logical
+ * camera device and the errorStreamId must be set to -1.
+ */
+
+/**
* StreamConfiguration:
*
* Identical to @3.4::StreamConfiguration, except that it contains streamConfigCounter
diff --git a/current.txt b/current.txt
index 3801d0baa..d163bebfd 100644
--- a/current.txt
+++ b/current.txt
@@ -446,7 +446,7 @@ f7431f3e3e4e3387fc6f27a6cf423eddcd824a395dc4349d302c995ab44a9895 android.hardwar
09ab9b24994429d9bb32a3fb420b6f6be3e47eb655139a2c08c4e80d3f33ff95 android.hardware.camera.device@3.5::ICameraDevice
06237de53c42890029e3f8fe7d1480d078469c0d07608e51c37b4d485d342992 android.hardware.camera.device@3.5::ICameraDeviceCallback
08c68b196e2fc4e5ba67ba0d0917bde828a87cbe2cffec19d04733972da9eb49 android.hardware.camera.device@3.5::ICameraDeviceSession
-a848f7cb3cb3d080cf175bf08412322bfddb535168253796cdf777afdbf05b38 android.hardware.camera.device@3.5::types
+f9b8b388c0c76669e4b9189e4943efd2982f9bda5c10e276f96cc91bc8e818d6 android.hardware.camera.device@3.5::types
f727d5f350f55a6d3354aad2feb64e43200de77c10d9d642465566bc260bb8ec android.hardware.camera.metadata@3.4::types
0fb39a7809ad1c52b3efbbed5ef4749b06c2a4f1f19cdc3efa2e3d9b28f1205c android.hardware.camera.provider@2.5::ICameraProvider
f5777403d65135a5407723671bc7a864cdca83aea13ee3ce2894b95e6588ca3a android.hardware.camera.provider@2.5::types