summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2020-02-14 00:58:07 +0000
committerDan Stoza <stoza@google.com>2020-02-14 00:58:07 +0000
commit3f237dcb88aa60e3fdf5206a80a54599aedc1782 (patch)
tree2786436459c1b201427fc87f7f39592dd250c121
parent48a73ecda262e928606ac6801c71458164761853 (diff)
parentfbe87915b723cbe02c373c6fa132de279b66afd1 (diff)
downloadlibsysprop-3f237dcb88aa60e3fdf5206a80a54599aedc1782.tar.gz
Add ro.power.fixed_performance_scale_factor am: 246f6991fa am: fbe87915b7
Change-Id: I03f356ca1e4aaea397c6beccb8ceef83c30a164a
-rw-r--r--srcs/android/sysprop/PowerProperties.sysprop26
-rw-r--r--srcs/api/PlatformProperties-current.txt8
2 files changed, 34 insertions, 0 deletions
diff --git a/srcs/android/sysprop/PowerProperties.sysprop b/srcs/android/sysprop/PowerProperties.sysprop
new file mode 100644
index 0000000..58d99f6
--- /dev/null
+++ b/srcs/android/sysprop/PowerProperties.sysprop
@@ -0,0 +1,26 @@
+# Copyright (C) 2020 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+module: "android.sysprop.PowerProperties"
+owner: Platform
+
+# Returns the scale factor to be used when verifying the FIXED_PERFORMANCE
+# power mode as described in the Power HAL AIDL description
+prop {
+ api_name: "fixed_performance_scale_factor"
+ type: Integer
+ scope: Public
+ access: Readonly
+ prop_name: "ro.power.fixed_performance_scale_factor"
+}
diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt
index 5ee7609..fb9b40d 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -138,6 +138,14 @@ props {
}
}
props {
+ module: "android.sysprop.PowerProperties"
+ prop {
+ api_name: "fixed_performance_scale_factor"
+ type: Integer
+ prop_name: "ro.power.fixed_performance_scale_factor"
+ }
+}
+props {
module: "android.sysprop.SetupWizardProperties"
prop {
api_name: "esim_cid_ignore"