sm8450-common: overlay: Checkout Frameworks overlay to LA.VENDOR.1.0.r1-13100-WAIPIO.0

Change-Id: Ib65e04f44abb39c807410b5208320578faff1705
This commit is contained in:
Arian 2022-06-17 18:02:06 +02:00
parent dd1a2fe030
commit e97facd2db
4 changed files with 94 additions and 260 deletions

View file

@ -115,29 +115,6 @@
<item>263</item> <item>263</item>
<item>264</item> <item>264</item>
<item>265</item> <item>265</item>
<item>266</item>
<item>267</item>
<item>268</item>
<item>269</item>
<item>270</item>
<item>271</item>
<item>272</item>
<item>273</item>
<item>274</item>
<item>275</item>
<item>276</item>
<item>277</item>
<item>278</item>
<item>279</item>
<item>280</item>
<item>281</item>
<item>282</item>
<item>283</item>
<item>284</item>
<item>285</item>
<item>286</item>
<item>287</item>
<item>288</item>
</integer-array> </integer-array>
<!-- Is the device capable of hot swapping an UICC Card --> <!-- Is the device capable of hot swapping an UICC Card -->
@ -207,6 +184,17 @@
autodetected from the Configuration. --> autodetected from the Configuration. -->
<bool name="config_showNavigationBar">true</bool> <bool name="config_showNavigationBar">true</bool>
<!-- ComponentName of a dream to show whenever the system would otherwise have
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
try to start this dream if possible. The dream should typically call startDozing()
to put the display into a low power state and allow the application processor
to be suspended. When the dream ends, the system will go to sleep as usual.
Specify the component name or an empty string if none.
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
Doze dreams will run whenever the power manager is in a dozing state. -->
<string name="config_dozeComponent" translatable="false">com.android.systemui/com.android.systemui.doze.DozeService</string>
<!-- Power Management: Specifies whether to decouple the interactive state of the <!-- Power Management: Specifies whether to decouple the interactive state of the
device from the display on/off state. device from the display on/off state.
@ -230,16 +218,11 @@
<bool name="config_cellBroadcastAppLinks">true</bool> <bool name="config_cellBroadcastAppLinks">true</bool>
<!-- Maximum number of supported users --> <!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer> <integer name="config_multiuserMaximumUsers">4</integer>
<!-- Whether UI for multi user should be shown --> <!-- Whether UI for multi user should be shown -->
<bool name="config_enableMultiUserUI">true</bool> <bool name="config_enableMultiUserUI">true</bool>
<!-- Safe headphone volume index. When music stream volume is below this index
the SPL on headphone output is compliant to EN 60950 requirements for portable music
players. -->
<integer name="config_safe_media_volume_index">100</integer>
<!-- Configure mobile tcp buffer sizes in the form: <!-- Configure mobile tcp buffer sizes in the form:
rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
If no value is found for the rat-name in use, the system default will be applied. If no value is found for the rat-name in use, the system default will be applied.
@ -276,7 +259,7 @@
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool> <bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<!-- Whether camera shutter sound is forced or not (country specific). --> <!-- Whether camera shutter sound is forced or not (country specific). -->
<bool name="config_camera_sound_forced">true</bool> <bool name="config_camera_sound_forced">false</bool>
<!-- Flag indicating if the speed up audio on mt call code should be executed --> <!-- Flag indicating if the speed up audio on mt call code should be executed -->
<bool name="config_speed_up_audio_on_mt_calls">true</bool> <bool name="config_speed_up_audio_on_mt_calls">true</bool>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<bool name="config_wifi_wap3_sap_mode_enabled">true</bool>
</resources>

View file

@ -4,136 +4,6 @@
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
--> -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Fast brightness animation ramp rate in brightness units per second-->
<integer name="config_brightness_ramp_rate_fast" translatable="false">180</integer>
<!-- Slow brightness animation ramp rate in brightness units per second-->
<integer name="config_brightness_ramp_rate_slow" translatable="false">60</integer>
<!-- Note: This setting is deprecated, please use
config_screenBrightnessSettingMinimumFloat instead -->
<integer name="config_screenBrightnessSettingMinimum">12</integer>
<!-- Note: This setting is deprecated, please use
config_screenBrightnessSettingMaximumFloat instead -->
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<!-- Note: This setting is deprecated, please use
config_screenBrightnessSettingDefaultFloat instead -->
<integer name="config_screenBrightnessSettingDefault">67</integer>
<!-- Note: This setting is deprecated, please use
config_screenBrightnessSettingForVrDefaultFloat instead -->
<integer name="config_screenBrightnessForVrSettingDefault">86</integer>
<!-- Note: This setting is deprecated, please use
config_screenBrightnessSettingForVrMinimumFloat instead -->
<integer name="config_screenBrightnessForVrSettingMinimum">79</integer>
<!-- Note: This setting is deprecated, please use
config_screenBrightnessSettingForVrMaximumFloat instead -->
<integer name="config_screenBrightnessForVrSettingMaximum">255</integer>
<!-- The maximum range of gamma adjustment possible using the screen
auto-brightness adjustment setting. -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">300.0%</fraction>
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDim">12</integer>
<!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 control points as follows:
(1-based arrays)
Point 1: (0, value[1]): lux <= 0
Point 2: (level[1], value[2]): 0 < lux <= level[1]
Point 3: (level[2], value[3]): level[2] < lux <= level[3]
...
Point N+1: (level[N], value[N+1]): level[N] < lux
The control points must be strictly increasing. Each control point
corresponds to an entry in the brightness backlight values arrays.
For example, if lux == level[1] (first element of the levels array)
then the brightness will be determined by value[2] (second element
of the brightness values array).
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 -->
<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>2</item>
<item>5</item>
<item>9</item>
<item>13</item>
<item>17</item>
<item>21</item>
<item>26</item>
<item>30</item>
<item>40</item>
<item>83</item>
<item>104</item>
<item>200</item>
<item>400</item>
<item>500</item>
<item>600</item>
<item>700</item>
<item>800</item>
<item>1000</item>
<item>1200</item>
<item>1500</item>
<item>1800</item>
<item>2000</item>
<item>2165</item>
<item>2680</item>
<item>3000</item>
<item>3540</item>
<item>4000</item>
</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 -->
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>4</item>
<item>4</item>
<item>4</item>
<item>8</item>
<item>15</item>
<item>20</item>
<item>26</item>
<item>35</item>
<item>45</item>
<item>46</item>
<item>46</item>
<item>46</item>
<item>60</item>
<item>60</item>
<item>60</item>
<item>64</item>
<item>66</item>
<item>70</item>
<item>73</item>
<item>80</item>
<item>88</item>
<item>110</item>
<item>130</item>
<item>135</item>
<item>145</item>
<item>180</item>
<item>200</item>
<item>240</item>
<item>255</item>
</integer-array>
<!-- Boolean indicating if placing the phone face down will result in a screen off. -->
<bool name="config_flipToScreenOffEnabled">false</bool>
<!-- Note: This config is deprecated, use BluetoothProperties instead. <!-- Note: This config is deprecated, use BluetoothProperties instead.
Idle current for bluetooth controller. 0 by default Idle current for bluetooth controller. 0 by default
--> -->
@ -181,15 +51,6 @@
<item>/system/framework/services.jar</item> <item>/system/framework/services.jar</item>
<item>/apex/com.android.media/javalib/updatable-media.jar</item> <item>/apex/com.android.media/javalib/updatable-media.jar</item>
<item>/system/lib64/libsurfaceflinger.so</item> <item>/system/lib64/libsurfaceflinger.so</item>
<item>/system/fonts/MiSansVF.ttf</item>
</string-array>
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
and Strength as defined in Authenticators.java -->
<string-array name="config_biometric_sensors" translatable="false">
<item>0:2:15</item>
</string-array> </string-array>
<!-- Whether the device enable the standalone (SA) mode of 5G NR.--> <!-- Whether the device enable the standalone (SA) mode of 5G NR.-->

View file

@ -7,11 +7,11 @@
<item name="none">0</item> <item name="none">0</item>
<!-- Additional power used when screen is turned on at minimum brightness --> <!-- Additional power used when screen is turned on at minimum brightness -->
<item name="screen.on">77.24</item> <item name="screen.on">100</item>
<!-- Additional power used when screen is at maximum brightness, compared to <!-- Additional power used when screen is at maximum brightness, compared to
screen at minimum brightness --> screen at minimum brightness -->
<item name="screen.full">365.32</item> <item name="screen.full">580</item>
<array name="cpu.clusters.cores"> <array name="cpu.clusters.cores">
<value>4</value> <value>4</value>
<value>3</value> <value>3</value>
@ -21,9 +21,9 @@
<!-- Different CPU speeds as reported in <!-- Different CPU speeds as reported in
/sys/devices/system/cpu/cpu0/cpufreq/stats/scaling_available_frequencies --> /sys/devices/system/cpu/cpu0/cpufreq/stats/scaling_available_frequencies -->
<array name="cpu.core_speeds.cluster0"> <array name="cpu.core_speeds.cluster0">
<value>307200</value> <value>300000</value>
<value>403200</value> <value>403200</value>
<value>518400</value> <value>499200</value>
<value>614400</value> <value>614400</value>
<value>729600</value> <value>729600</value>
<value>844800</value> <value>844800</value>
@ -41,21 +41,21 @@
<!-- Additional power used by a CPU from cluster 0 when running at different <!-- Additional power used by a CPU from cluster 0 when running at different
speeds. Currently this measurement also includes cluster cost. --> speeds. Currently this measurement also includes cluster cost. -->
<array name="cpu.core_power.cluster0"> <array name="cpu.core_power.cluster0">
<value>66.24</value> <value>5</value>
<value>66.35</value> <value>7</value>
<value>67.79</value> <value>8</value>
<value>68.89</value> <value>12</value>
<value>71.11</value> <value>16</value>
<value>73.83</value> <value>21</value>
<value>77.19</value> <value>22</value>
<value>82.09</value> <value>26</value>
<value>85.53</value> <value>29</value>
<value>90.54</value> <value>34</value>
<value>93.59</value> <value>40</value>
<value>99.62</value> <value>41</value>
<value>145.61</value> <value>54</value>
<value>153.12</value> <value>58</value>
<value>159.28</value> <value>65</value>
</array> </array>
<!-- Different CPU speeds as reported in <!-- Different CPU speeds as reported in
@ -83,23 +83,23 @@
<!-- Additional power used by a CPU from cluster 1 when running at different <!-- Additional power used by a CPU from cluster 1 when running at different
speeds. Currently this measurement also includes cluster cost. --> speeds. Currently this measurement also includes cluster cost. -->
<array name="cpu.core_power.cluster1"> <array name="cpu.core_power.cluster1">
<value>90.6</value> <value>33</value>
<value>99.95</value> <value>42</value>
<value>108.69</value> <value>51</value>
<value>118.55</value> <value>59</value>
<value>128.94</value> <value>70</value>
<value>138.22</value> <value>75</value>
<value>150.24</value> <value>88</value>
<value>166.41</value> <value>101</value>
<value>185.44</value> <value>122</value>
<value>197.55</value> <value>130</value>
<value>220.12</value> <value>151</value>
<value>250.31</value> <value>181</value>
<value>301.33</value> <value>207</value>
<value>340.1</value> <value>233</value>
<value>380.41</value> <value>278</value>
<value>432.32</value> <value>314</value>
<value>479.55</value> <value>335</value>
</array> </array>
<array name="cpu.core_speeds.cluster2"> <array name="cpu.core_speeds.cluster2">
<value>806400</value> <value>806400</value>
@ -124,79 +124,77 @@
<value>2841600</value> <value>2841600</value>
</array> </array>
<array name="cpu.core_power.cluster2"> <array name="cpu.core_power.cluster2">
<value>136.66</value> <value>86</value>
<value>153.76</value> <value>96</value>
<value>162.38</value> <value>109</value>
<value>177.63</value> <value>127</value>
<value>191.21</value> <value>142</value>
<value>209.33</value> <value>158</value>
<value>228.41</value> <value>169</value>
<value>249.44</value> <value>190</value>
<value>274.14</value> <value>207</value>
<value>302.71</value> <value>231</value>
<value>303.64</value> <value>270</value>
<value>378.2</value> <value>290</value>
<value>430.63</value> <value>333</value>
<value>482.17</value> <value>386</value>
<value>541.19</value> <value>428</value>
<value>615.27</value> <value>487</value>
<value>705.64</value> <value>554</value>
<value>818.93</value> <value>616</value>
<value>930.17</value> <value>684</value>
<value>937.03</value> <value>686</value>
</array> </array>
<!-- Additional power consumption by CPU excluding cluster and core when <!-- Additional power consumption by CPU excluding cluster and core when
running --> running -->
<item name="cpu.active">23.50</item> <item name="cpu.active">8.5</item>
<!-- Current when CPU is idle --> <!-- Current when CPU is idle -->
<item name="cpu.idle">8.18</item> <item name="cpu.idle">0.1</item>
<!-- Power consumption when CPU is suspended --> <!-- Power consumption when CPU is suspended -->
<item name="cpu.suspend">0</item> <item name="cpu.suspend">0</item>
<!-- This is the battery capacity in mAh (measured at nominal voltage) --> <!-- This is the battery capacity in mAh (measured at nominal voltage) -->
<item name="battery.capacity">4500</item> <item name="battery.capacity">4040</item>
<item name="wifi.on">1.62</item> <item name="wifi.on">0.1</item>
<item name="wifi.active">267.74</item> <item name="wifi.active">173</item>
<item name="wifi.scan">72.58</item> <item name="wifi.scan">0.5</item>
<item name="dsp.audio">23.28</item> <item name="dsp.audio">25</item>
<item name="dsp.video">67.05</item> <item name="dsp.video">81</item>
<item name="camera.flashlight">143.35</item> <item name="camera.flashlight">550</item>
<item name="camera.avg">696.90</item> <item name="camera.avg">390</item>
<item name="gps.on">2.12</item> <item name="gps.on">13.5</item>
<item name="radio.active">485.02</item> <item name="radio.active">170</item>
<item name="radio.scanning">37.18</item> <item name="radio.scanning">5.8</item>
<array name="radio.on"> <array name="radio.on">
<value>86</value> <value>95</value>
<value>8</value> <value>8</value>
</array> </array>
<item name="modem.controller.idle">6</item> <item name="modem.controller.idle">6</item>
<item name="modem.controller.rx">180</item> <item name="modem.controller.rx">204</item>
<item name="modem.controller.tx">186</item> <item name="modem.controller.tx">220</item>
<item name="modem.controller.voltage">3700</item> <item name="modem.controller.voltage">4000</item>
<!-- Memory bandwidth power values in mA at the rail. There must be one value <!-- Memory bandwidth power values in mA at the rail. There must be one value
for each bucket defined in the device tree. --> for each bucket defined in the device tree. -->
<array name="memory.bandwidths"> <array name="memory.bandwidths">
<value>17</value> <value>21</value>
</array> </array>
<!-- Idle Receive current for wifi radio in mA. 0 by default--> <!-- Idle Receive current for wifi radio in mA. 0 by default-->
<item name="wifi.controller.idle">1</item> <item name="wifi.controller.idle">1</item>
<!-- Rx current for wifi radio in mA. 0 by default--> <!-- Rx current for wifi radio in mA. 0 by default-->
<item name="wifi.controller.rx">176</item> <item name="wifi.controller.rx">170</item>
<!-- Tx current for wifi radio in mA. 0 by default--> <!-- Tx current for wifi radio in mA. 0 by default-->
<item name="wifi.controller.tx">200</item> <item name="wifi.controller.tx">210</item>
<array name="wifi.controller.tx_levels"> <array name="wifi.controller.tx_levels">1 </array>
<value>1</value>
</array>
<!-- Operating volatage for wifi radio in mV. 0 by default--> <!-- Operating volatage for wifi radio in mV. 0 by default-->
<item name="wifi.controller.voltage">3700</item> <item name="wifi.controller.voltage">4000</item>
<array name="wifi.batchedscan"> <array name="wifi.batchedscan">
<value>.0001</value> <value>.0001</value>
<value>.001</value> <value>.001</value>
@ -204,7 +202,7 @@
<value>.1</value> <value>.1</value>
<value>1</value> <value>1</value>
</array> </array>
<item name="bluetooth.active">83.37</item> <item name="bluetooth.active">130</item>
<item name="bluetooth.on">0.62</item> <item name="bluetooth.on">0.8</item>
<item name="bluetooth.controller.voltage">3700</item> <item name="bluetooth.controller.voltage">4000</item>
</device> </device>