diff --git a/aidl/postproc/Android.bp b/aidl/postproc/Android.bp new file mode 100644 index 00000000..9fe59967 --- /dev/null +++ b/aidl/postproc/Android.bp @@ -0,0 +1,25 @@ +aidl_interface { + name: "vendor.qti.hardware.display.postproc", + vendor_available: true, + owner: "qti", + srcs: ["vendor/qti/hardware/display/postproc/*.aidl"], + stability: "vintf", + backend: { + cpp: { + enabled: false, + }, + java: { + enabled: true, + sdk_version: "module_current", + }, + ndk: { + enabled: true, + }, + }, + versions_with_info: [ + { + version: "1", + imports: [], + }, + ], +} diff --git a/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/1/.hash b/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/1/.hash new file mode 100644 index 00000000..f549ecab --- /dev/null +++ b/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/1/.hash @@ -0,0 +1 @@ +717b637207e7b53e81228f9ebc0b2418cf873f2b diff --git a/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/1/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl b/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/1/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl new file mode 100644 index 00000000..235806ba --- /dev/null +++ b/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/1/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause-Clear + */ +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file built +// with the aidl_interface module type with versions property set. The module +// type is used to build AIDL files in a way that they can be used across +// independently updatable components of the system. If a device is shipped +// with such a backward incompatible change, it has a high risk of breaking +// later when a module using the interface is updated, e.g., Mainline modules. + +package vendor.qti.hardware.display.postproc; +@VintfStability +interface IDisplayPostproc { + String sendDPPSCommand(in String cmd); +} diff --git a/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/current/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl b/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/current/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl new file mode 100644 index 00000000..235806ba --- /dev/null +++ b/aidl/postproc/aidl_api/vendor.qti.hardware.display.postproc/current/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause-Clear + */ +/////////////////////////////////////////////////////////////////////////////// +// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. // +/////////////////////////////////////////////////////////////////////////////// + +// This file is a snapshot of an AIDL file. Do not edit it manually. There are +// two cases: +// 1). this is a frozen version file - do not edit this in any case. +// 2). this is a 'current' file. If you make a backwards compatible change to +// the interface (from the latest frozen version), the build system will +// prompt you to update this file with `m -update-api`. +// +// You must not make a backward incompatible change to any AIDL file built +// with the aidl_interface module type with versions property set. The module +// type is used to build AIDL files in a way that they can be used across +// independently updatable components of the system. If a device is shipped +// with such a backward incompatible change, it has a high risk of breaking +// later when a module using the interface is updated, e.g., Mainline modules. + +package vendor.qti.hardware.display.postproc; +@VintfStability +interface IDisplayPostproc { + String sendDPPSCommand(in String cmd); +} diff --git a/aidl/postproc/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl b/aidl/postproc/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl new file mode 100644 index 00000000..c3268616 --- /dev/null +++ b/aidl/postproc/vendor/qti/hardware/display/postproc/IDisplayPostproc.aidl @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause-Clear + */ + +package vendor.qti.hardware.display.postproc; + +@VintfStability +interface IDisplayPostproc { + /** + * Send command to DPPS. + * @param cmd string command to control post processing features. + * @return response string response for the input dpps command. + */ + String sendDPPSCommand(in String cmd); +}