summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRajavenu Kyatham <rkyatham@codeaurora.org>2020-01-14 19:03:14 +0530
committerRajavenu Kyatham <rkyatham@codeaurora.org>2020-01-30 17:13:13 +0530
commitbb8c955988ddca39463acf6ccf00d56944092e3f (patch)
tree7e4c0300452f8a6a1e36897fdffc4d6af8e828b0
parentec41a00ac2977fd09b6dcbcca99787dd9ba97195 (diff)
downloadandroid_vendor_qcom_opensource_interfaces-bb8c955988ddca39463acf6ccf00d56944092e3f.tar.gz
android_vendor_qcom_opensource_interfaces-bb8c955988ddca39463acf6ccf00d56944092e3f.tar.bz2
android_vendor_qcom_opensource_interfaces-bb8c955988ddca39463acf6ccf00d56944092e3f.zip
IDisplayConfig: Add allowIdleFallback interface
- On successful compser client creation, set idle time CRs-Fixed: 2611470 Change-Id: Ifbf6187889d4d1d3ceb70013c511fc8fe426b0fb
-rw-r--r--display/config/1.16/IDisplayConfig.hal42
-rw-r--r--display/current.txt3
2 files changed, 44 insertions, 1 deletions
diff --git a/display/config/1.16/IDisplayConfig.hal b/display/config/1.16/IDisplayConfig.hal
new file mode 100644
index 0000000..d1b005b
--- /dev/null
+++ b/display/config/1.16/IDisplayConfig.hal
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2020 The Linux Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ * * Neither the name of The Linux Foundation. nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package vendor.display.config@1.16;
+
+import @1.15::IDisplayConfig;
+
+interface IDisplayConfig extends @1.15::IDisplayConfig {
+ /*
+ * allowIdleFallback on client(as of now SurfaceFlinger) start
+ *
+ * @return error is NONE upon success.
+ */
+ @callflow(next="*")
+ allowIdleFallback() generates (int32_t error);
+};
diff --git a/display/current.txt b/display/current.txt
index 9df322a..de8ba9b 100644
--- a/display/current.txt
+++ b/display/current.txt
@@ -1,4 +1,4 @@
-#Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
+#Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
#Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are
@@ -64,4 +64,5 @@ cc81da1cfc8f045fa4183a7ab2f5f34cb863b310b8d04bf7db661a58ec9ea5c3 vendor.display.
be4de6eea1098375e80d26bd86d0e239a3d739ec7dfa43b1b2fa5e6f75c86966 vendor.display.config@1.15::IDisplayQsyncCallback
5862c0c085c9e0b6d8b8a11e4a9765a6a9250874d7c1a9b0f6b566598da31593 vendor.display.config@2.0::IDisplayConfig
14fcf170f04a9878bf085b2aa4d75ef5e3d241926bef18e58d6d254e000ff689 vendor.display.config@2.0::IDisplayConfigCallback
+ada1c82f1ba85c9f403c4b91d24ebc6dfc2e796a7727bcca23f4e2ea68800f35 vendor.display.config@1.16::IDisplayConfig