mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
Currently, whether the HAL buffer manager is used or not is decided based on the presence of a static camera characteristics key - ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION. This behavior cannot be toggled depending on stream configuration / session parameters. The HAL buffer manager does reduce memory consumption at the cost of extra IPC calls, which may not be always desirable. Therefore, a new API - 'configureStreamsV2()' is introduced to give the camera HAL the ability to inform the camera framework whether it must use the HAL buffer manager for the particular session configured. Bug: 311263114 Test: VtsAidlHalCameraProvider_TargetTest on cuttlefish Test: builds Change-Id: Ibce6d64c3c9cc8e0ebc40522369291d03053cce2 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
aidl_interface {
|
|
name: "android.hardware.camera.device",
|
|
vendor_available: true,
|
|
srcs: ["android/hardware/camera/device/*.aidl"],
|
|
frozen: false,
|
|
stability: "vintf",
|
|
imports: [
|
|
"android.hardware.common-V2",
|
|
"android.hardware.common.fmq-V1",
|
|
"android.hardware.camera.common-V1",
|
|
"android.hardware.camera.metadata-V2",
|
|
"android.hardware.graphics.common-V5",
|
|
],
|
|
backend: {
|
|
cpp: {
|
|
enabled: false,
|
|
},
|
|
java: {
|
|
sdk_version: "module_current",
|
|
enabled: false,
|
|
},
|
|
},
|
|
versions_with_info: [
|
|
{
|
|
version: "1",
|
|
imports: [
|
|
"android.hardware.common-V2",
|
|
"android.hardware.common.fmq-V1",
|
|
"android.hardware.camera.common-V1",
|
|
"android.hardware.camera.metadata-V1",
|
|
"android.hardware.graphics.common-V5",
|
|
],
|
|
},
|
|
{
|
|
version: "2",
|
|
imports: [
|
|
"android.hardware.common-V2",
|
|
"android.hardware.common.fmq-V1",
|
|
"android.hardware.camera.common-V1",
|
|
"android.hardware.camera.metadata-V2",
|
|
"android.hardware.graphics.common-V5",
|
|
],
|
|
},
|
|
|
|
],
|
|
|
|
}
|