summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2020-02-14 06:22:52 +0000
committerDan Stoza <stoza@google.com>2020-02-14 06:22:52 +0000
commit623a3013da99c7aa22ae9ab5b6216f094173b1c0 (patch)
tree8f35e3c12195a7a50d31ba232cc460a0ec6641f3
parenta37f8fedd311312b90bf17818f083119e996dad4 (diff)
parent3f237dcb88aa60e3fdf5206a80a54599aedc1782 (diff)
downloadlibsysprop-623a3013da99c7aa22ae9ab5b6216f094173b1c0.tar.gz
Add ro.power.fixed_performance_scale_factor am: 246f6991fa am: fbe87915b7 am: 3f237dcb88
Change-Id: Ic755b34bce3c1e4611597e69f99a806ab0c2fa73
-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 238b0d1..74cd410 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -164,6 +164,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"