Display: Add display postproc AIDL

Initial AIDL interface for display postproc.

Change-Id: I266b3f2a1ed9c4aa30ac89efe515f0acbecc5506
This commit is contained in:
Xu Yang
2022-11-10 14:18:22 +08:00
committed by Renchao Liu
parent 2a4c372675
commit 299e434f82
5 changed files with 96 additions and 0 deletions

25
aidl/postproc/Android.bp Normal file
View File

@@ -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: [],
},
],
}

View File

@@ -0,0 +1 @@
717b637207e7b53e81228f9ebc0b2418cf873f2b

View File

@@ -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 <name>-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);
}

View File

@@ -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 <name>-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);
}

View File

@@ -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);
}