diff options
author | dianlujitao <dianlujitao@lineageos.org> | 2020-01-30 11:11:11 +0800 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:48:54 +0300 |
commit | c972dfe14dc5d90026022b7d334ccc211fbfb62b (patch) | |
tree | 372d635412287159f972a3bc3e113aad8bc5bf35 /overlay/frameworks | |
parent | 52d69ca0dcb5dc5d170dcc20bfdd3fe811f545db (diff) |
sdm660-common: overlay: Decommonize and clean up
Change-Id: I285a5a5455cef87d01375e73823e657d7379ed63
Diffstat (limited to 'overlay/frameworks')
9 files changed, 7 insertions, 316 deletions
diff --git a/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml b/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml deleted file mode 100644 index 3bdaa06..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc313-mnc100/config.xml +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright (c) 2018, 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. ---> -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <!-- Do not translate. Defines the slots is Two Digit Number for dialing normally not USSD --> - <string-array name="config_twoDigitNumberPattern"> - <item>"0"</item> - <item>"00"</item> - <item>"*0"</item> - <item>"*1"</item> - <item>"*2"</item> - <item>"*3"</item> - <item>"*4"</item> - <item>"*5"</item> - <item>"*6"</item> - <item>"*7"</item> - <item>"*8"</item> - <item>"*9"</item> - <item>"#0"</item> - <item>"#1"</item> - <item>"#2"</item> - <item>"#3"</item> - <item>"#4"</item> - <item>"#5"</item> - <item>"#6"</item> - <item>"#7"</item> - <item>"#8"</item> - <item>"#9"</item> - </string-array> -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc454-mnc03/config.xml b/overlay/frameworks/base/core/res/res/values-mcc454-mnc03/config.xml deleted file mode 100644 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc454-mnc03/config.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!--Copyright (c) 2015,2017, 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. ---> - -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <!-- show dual bar if CT card --> - <bool name="config_dual_bar">true</bool> -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc454-mnc04/config.xml b/overlay/frameworks/base/core/res/res/values-mcc454-mnc04/config.xml deleted file mode 100644 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc454-mnc04/config.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!--Copyright (c) 2015,2017, 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. ---> - -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <!-- show dual bar if CT card --> - <bool name="config_dual_bar">true</bool> -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc455-mnc02/config.xml b/overlay/frameworks/base/core/res/res/values-mcc455-mnc02/config.xml deleted file mode 100644 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc455-mnc02/config.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!--Copyright (c) 2015,2017, 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. ---> - -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <!-- show dual bar if CT card --> - <bool name="config_dual_bar">true</bool> -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc455-mnc07/config.xml b/overlay/frameworks/base/core/res/res/values-mcc455-mnc07/config.xml deleted file mode 100644 index 8c0a045..0000000 --- a/overlay/frameworks/base/core/res/res/values-mcc455-mnc07/config.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!--Copyright (c) 2015,2017, 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. ---> - -<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - - <!-- show dual bar if CT card --> - <bool name="config_dual_bar">true</bool> -</resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml b/overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml index 4632f47..8af74e4 100644 --- a/overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml +++ b/overlay/frameworks/base/core/res/res/values-mcc460-mnc03/config.xml @@ -33,5 +33,4 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. that should be used instead. A value of RIL_RADIO_TECHNOLOGY_UNKNOWN:0 means there is no replacement value and VoLTE is assumed to be supported --> <integer name="config_volte_replacement_rat">6</integer> - <bool name="config_dual_bar">true</bool> </resources> diff --git a/overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml b/overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml index 4632f47..8af74e4 100644 --- a/overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml +++ b/overlay/frameworks/base/core/res/res/values-mcc460-mnc11/config.xml @@ -33,5 +33,4 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. that should be used instead. A value of RIL_RADIO_TECHNOLOGY_UNKNOWN:0 means there is no replacement value and VoLTE is assumed to be supported --> <integer name="config_volte_replacement_rat">6</integer> - <bool name="config_dual_bar">true</bool> </resources> diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 9e32602..be7bd71 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -179,7 +179,7 @@ Spline interpolation is used to determine the auto-brightness backlight values for LUX levels between these control points. - Must be overridden in platform specific overlays --> + Must be overridden in platform specific overlays <integer-array name="config_autoBrightnessLevels"> <item>10</item> <item>30</item> @@ -188,13 +188,13 @@ <item>150</item> <item>210</item> <item>255</item> - </integer-array> + </integer-array> --> <!-- Array of output values for LCD backlight corresponding to the LUX values in the config_autoBrightnessLevels array. This array should have size one greater than the size of the config_autoBrightnessLevels array. The brightness values must be between 0 and 255 and be non-decreasing. - This must be overridden in platform specific overlays --> + This must be overridden in platform specific overlays <integer-array name="config_autoBrightnessLcdBacklightValues"> <item>10</item> <item>20</item> @@ -204,7 +204,7 @@ <item>160</item> <item>200</item> <item>255</item> - </integer-array> + </integer-array> --> <!-- MMS user agent string --> <string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string> @@ -270,14 +270,14 @@ <string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string> <!-- Define optional package verifier name --> - <string name="config_optionalPackageVerifierName" translatable="false">seemp.service</string> + <!-- <string name="config_optionalPackageVerifierName" translatable="false">seemp.service</string> --> <!-- Whether the Unprocessed audio source supports the required frequency range and level --> <bool name="config_supportAudioSourceUnprocessed">true</bool> <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be autodetected from the Configuration. --> - <bool name="config_showNavigationBar">true</bool> + <!-- <bool name="config_showNavigationBar">true</bool> --> <!-- Boolean indicating if current platform supports HFP inband ringing --> <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool> @@ -301,7 +301,7 @@ <bool name="config_dynamic_bind_ims">true</bool> <!-- The name of the package that will hold the dialer role by default. --> - <string name="config_defaultDialer" translatable="false">org.codeaurora.dialer</string> + <!-- <string name="config_defaultDialer" translatable="false">org.codeaurora.dialer</string> --> <!-- Operating volatage for bluetooth controller. 0 by default--> <integer translatable="false" name="config_bluetooth_operating_voltage_mv">3300</integer> diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml deleted file mode 100644 index 39c08d7..0000000 --- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml +++ /dev/null @@ -1,115 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright (c) 2016, 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 ---> - - -<device name="Android"> - <!-- Most values are the incremental current used by a feature, - in mA (measured at nominal voltage). - The default values are deliberately incorrect dummy values. - OEM's must measure and provide actual values before - shipping a device. - Example real-world values are given in comments, but they - are totally dependent on the platform and can vary - significantly, so should be measured on the shipping platform - with a power meter. --> - <item name="none">0</item> - <item name="screen.on">63</item> <!-- ~200mA --> - <item name="screen.full">261</item> <!-- ~300mA --> - - <!-- A list of heterogeneous CPU clusters, where the value for each cluster represents the - number of CPU cores for that cluster. - - Ex: - <array name="cpu.clusters.cores"> - <value>4</value> // cluster 0 has cpu0, cpu1, cpu2, cpu3 - <value>2</value> // cluster 1 has cpu4, cpu5 - </array> --> - <array name="cpu.clusters.cores"> - <value>4</value> <!-- cluster 0 has cpu0, cpu1, cpu2, cpu3 --> - <value>4</value> <!-- cluster 1 has cpu4, cpu5, cpu6, cpu7 --> - </array> - - <!-- Different CPU speeds for cluster 0 as reported in - /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state. - - There must be one of these for each cluster, labeled: - cpu.speeds.cluster0, cpu.speeds.cluster1, etc... --> - <array name="cpu.speeds.cluster0"> - <value>633000</value> <!-- 633 MHz CPU speed --> - <value>902000</value> <!-- 902 MHz CPU speed --> - <value>1113000</value> <!-- 1113 MHz CPU speed --> - <value>1401000</value> <!-- 1401 MHz CPU speed --> - <value>1536000</value> <!-- 1536 MHz CPU speed --> - <value>1747000</value> <!-- 1747 MHz CPU speed --> - <value>1843000</value> <!-- 1843 MHz CPU speed --> - </array> - - <!-- Current at each CPU speed for cluster 0, as per 'cpu.speeds.cluster0'. - Like cpu.speeds.cluster0, there must be one of these present for - each heterogeneous CPU cluster. --> - <array name="cpu.active.cluster0"> - <value>34</value> <!-- ~34mA --> - <value>60</value> <!-- ~60mA --> - <value>85</value> <!-- ~85mA --> - <value>128</value> <!-- ~128mA --> - <value>163</value> <!-- ~163mA --> - <value>202</value> <!-- ~202mA --> - <value>253</value> <!-- ~253mA --> - </array> - - <array name="cpu.speeds.cluster1"> - <value>1113000</value> <!-- 1113 MHz CPU speed --> - <value>1401000</value> <!-- 1401 MHz CPU speed --> - <value>1747000</value> <!-- 1747 MHz CPU speed --> - <value>1958000</value> <!-- 1958 MHz CPU speed --> - <value>2150000</value> <!-- 2150 MHz CPU speed --> - </array> - - <!-- Current at each CPU speed for cluster 1, as per 'cpu.speeds.cluster1'. - Like cpu.speeds.cluster1, there must be one of these present for - each heterogeneous CPU cluster. --> - <array name="cpu.active.cluster1"> - <value>226</value> <!-- ~226mA --> - <value>331</value> <!-- ~331mA --> - <value>497</value> <!-- ~497mA --> - <value>614</value> <!-- ~614mA --> - <value>777</value> <!-- ~777mA --> - - </array> - - <!-- Current when CPU is awake --> - <item name="cpu.awake">1.6</item> - <!-- Current when CPU is idle --> - <item name="cpu.idle">0.1</item> - - <!-- This is the battery capacity in mAh (measured at nominal voltage) --> - <item name="battery.capacity">1000</item> - -</device> |