From 22ba924404d8b52ce858ede88e76ef709f8abde9 Mon Sep 17 00:00:00 2001 From: Emilian Peev Date: Thu, 28 Mar 2019 09:13:20 -0700 Subject: [PATCH] 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 --- camera/device/3.5/types.hal | 8 ++++++++ current.txt | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/camera/device/3.5/types.hal b/camera/device/3.5/types.hal index f98c60355e..6d861e2e72 100644 --- a/camera/device/3.5/types.hal +++ b/camera/device/3.5/types.hal @@ -20,6 +20,14 @@ import @3.2::StreamBuffer; 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: * diff --git a/current.txt b/current.txt index 3801d0baa8..d163bebfdf 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