afc87c1353
* extracted settings from V12.0.4.0.RJWMIXM * import 255 brithness from caf for fix brithness issue *fix headset issue *fix wifi issue *fix notch issue *fix color mod in display settings
424 lines
17 KiB
XML
424 lines
17 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/**
|
|
* Copyright (c) 2009, 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.
|
|
*/
|
|
-->
|
|
|
|
<!-- These resources are around just to allow their values to be customized
|
|
for different hardware and product builds. Do not translate. -->
|
|
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
|
|
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
|
|
<bool name="config_carrier_volte_available">true</bool>
|
|
<bool name="config_device_volte_available">true</bool>
|
|
<bool name="config_device_vt_available">true</bool>
|
|
<bool name="config_device_wfc_ims_available">true</bool>
|
|
<bool name="config_hotswapCapable">true</bool>
|
|
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
|
|
<bool name="config_setColorTransformAccelerated">true</bool>
|
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
|
<bool name="config_showNavigationBar">true</bool>
|
|
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
|
|
<bool name="config_wifi_background_scan_support">true</bool>
|
|
<bool name="config_wifi_batched_scan_supported">true</bool>
|
|
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
|
<bool name="config_wifi_dual_band_support">true</bool>
|
|
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
|
|
|
|
<!-- Array of ambient lux threshold values. This is used for determining hysteresis constraint
|
|
values by calculating the index to use for lookup and then setting the constraint value
|
|
to the corresponding value of the array. The new brightening hysteresis constraint value
|
|
is the n-th element of config_ambientBrighteningThresholds, and the new darkening
|
|
hysteresis constraint value is the n-th element of config_ambientDarkeningThresholds.
|
|
The (zero-based) index is calculated as follows: (MAX is the largest index of the array)
|
|
condition calculated index
|
|
value < level[0] 0
|
|
level[n] <= value < level[n+1] n+1
|
|
level[MAX] <= value MAX+1 -->
|
|
<array name="config_ambientThresholdLevels">
|
|
<item>2</item>
|
|
<item>10</item>
|
|
<item>30</item>
|
|
<item>100</item>
|
|
<item>800</item>
|
|
<item>2000</item>
|
|
<item>4000</item>
|
|
</array>
|
|
|
|
<!-- Array of desired screen brightness in nits corresponding to the lux values
|
|
in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
|
|
config_screenBrightnessMaximumNits, the display brightness is defined as the measured
|
|
brightness of an all-white image.
|
|
If this is defined then:
|
|
- config_autoBrightnessLcdBacklightValues should not be defined
|
|
- config_screenBrightnessNits must be defined
|
|
- config_screenBrightnessBacklight must be defined
|
|
This array should have size one greater than the size of the config_autoBrightnessLevels
|
|
array. The brightness values must be non-negative and non-decreasing. This must be
|
|
overridden in platform specific overlays -->
|
|
<array name="config_autoBrightnessDisplayValuesNits">
|
|
<item>5</item>
|
|
<item>5</item>
|
|
<item>5</item>
|
|
<item>5</item>
|
|
<item>15</item>
|
|
<item>24</item>
|
|
<item>37</item>
|
|
<item>47</item>
|
|
<item>61</item>
|
|
<item>76</item>
|
|
<item>83</item>
|
|
<item>83</item>
|
|
<item>83</item>
|
|
<item>87</item>
|
|
<item>93</item>
|
|
<item>107</item>
|
|
<item>117</item>
|
|
<item>124</item>
|
|
<item>133</item>
|
|
<item>166</item>
|
|
<item>182</item>
|
|
<item>270</item>
|
|
<item>315</item>
|
|
<item>373</item>
|
|
<item>442</item>
|
|
<item>455</item>
|
|
</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 -->
|
|
<array name="config_autoBrightnessLcdBacklightValues">
|
|
<item>3</item>
|
|
<item>3</item>
|
|
<item>3</item>
|
|
<item>3</item>
|
|
<item>8</item>
|
|
<item>13</item>
|
|
<item>20</item>
|
|
<item>25</item>
|
|
<item>33</item>
|
|
<item>41</item>
|
|
<item>45</item>
|
|
<item>45</item>
|
|
<item>45</item>
|
|
<item>47</item>
|
|
<item>50</item>
|
|
<item>58</item>
|
|
<item>63</item>
|
|
<item>67</item>
|
|
<item>72</item>
|
|
<item>90</item>
|
|
<item>99</item>
|
|
<item>150</item>
|
|
<item>175</item>
|
|
<item>208</item>
|
|
<item>248</item>
|
|
<item>255</item>
|
|
</array>
|
|
|
|
<!-- 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 -->
|
|
<array name="config_autoBrightnessLevels">
|
|
<item>1</item>
|
|
<item>2</item>
|
|
<item>4</item>
|
|
<item>5</item>
|
|
<item>8</item>
|
|
<item>13</item>
|
|
<item>17</item>
|
|
<item>21</item>
|
|
<item>26</item>
|
|
<item>30</item>
|
|
<item>34</item>
|
|
<item>39</item>
|
|
<item>60</item>
|
|
<item>140</item>
|
|
<item>310</item>
|
|
<item>400</item>
|
|
<item>500</item>
|
|
<item>600</item>
|
|
<item>1000</item>
|
|
<item>1200</item>
|
|
<item>1500</item>
|
|
<item>2100</item>
|
|
<item>3000</item>
|
|
<item>3500</item>
|
|
<item>4000</item>
|
|
</array>
|
|
|
|
<!-- An array describing the screen's backlight values corresponding to the brightness
|
|
values in the config_screenBrightnessNits array. -->
|
|
<array name="config_screenBrightnessBacklight">
|
|
<item>@null</item>
|
|
<item>1</item>
|
|
<item>10</item>
|
|
<item>15</item>
|
|
<item>30</item>
|
|
<item>45</item>
|
|
<item>60</item>
|
|
<item>75</item>
|
|
<item>90</item>
|
|
<item>105</item>
|
|
<item>120</item>
|
|
<item>135</item>
|
|
<item>150</item>
|
|
<item>165</item>
|
|
<item>180</item>
|
|
<item>195</item>
|
|
<item>210</item>
|
|
<item>225</item>
|
|
<item>240</item>
|
|
<item>255</item>
|
|
</array>
|
|
|
|
<!-- An array of floats describing the screen brightness in nits corresponding to the backlight
|
|
values in the config_screenBrightnessBacklight array. On OLED displays these values
|
|
should be measured with an all white image while the display is in the fully on state.
|
|
Note that this value should *not* reflect the maximum brightness value for any high
|
|
brightness modes but only the maximum brightness value obtainable in a sustainable manner.
|
|
This array should be equal in size to config_screenBrightnessBacklight -->
|
|
<array name="config_screenBrightnessNits">
|
|
<item>@null</item>
|
|
<item>4</item>
|
|
<item>22</item>
|
|
<item>30</item>
|
|
<item>68</item>
|
|
<item>95</item>
|
|
<item>133</item>
|
|
<item>165</item>
|
|
<item>192</item>
|
|
<item>218</item>
|
|
<item>255</item>
|
|
<item>290</item>
|
|
<item>326</item>
|
|
<item>352</item>
|
|
<item>384</item>
|
|
<item>399</item>
|
|
<item>422</item>
|
|
<item>432</item>
|
|
<item>442</item>
|
|
<item>455</item>
|
|
</array>
|
|
|
|
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
|
|
percent. The length of this array is assumed to be one greater than
|
|
config_screenThresholdLevels. The brightening threshold is calculated as
|
|
screenBrightness * (1.0f + CONSTRAINT_VALUE). When the new screen brightness is higher
|
|
than this threshold, it is applied. See the config_screenThresholdLevels description for
|
|
how the constraint value is chosen. -->
|
|
<array name="config_screenBrighteningThresholds">
|
|
<item>@null</item>
|
|
</array>
|
|
|
|
<!-- Array of hysteresis constraint values for darkening, represented as tenths of a
|
|
percent. The length of this array is assumed to be one greater than
|
|
config_screenThresholdLevels. The darkening threshold is calculated as
|
|
screenBrightness * (1.0f - CONSTRAINT_VALUE). When the new screen brightness is lower than
|
|
this threshold, it is applied. See the config_screenThresholdLevels description for how
|
|
the constraint value is chosen. -->
|
|
<array name="config_screenDarkeningThresholds">
|
|
<item>@null</item>
|
|
</array>
|
|
|
|
<!-- The maximum range of gamma adjustment possible using the screen
|
|
auto-brightness adjustment setting. -->
|
|
<fraction name="config_autoBrightnessAdjustmentMaxGamma">100%</fraction>
|
|
|
|
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
|
|
for debouncing the light sensor. Different constants are used to debounce the light sensor
|
|
when adapting to brighter or darker environments. This parameter controls how quickly
|
|
brightness changes occur in response to an observed change in light level that exceeds the
|
|
hysteresis threshold. -->
|
|
<integer name="config_autoBrightnessBrighteningLightDebounce">1000</integer>
|
|
<integer name="config_autoBrightnessDarkeningLightDebounce">1000</integer>
|
|
|
|
<!-- Fast brightness animation ramp rate in brightness units per second-->
|
|
<integer name="config_brightness_ramp_rate_fast">308</integer>
|
|
|
|
<!-- Slow brightness animation ramp rate in brightness units per second-->
|
|
<integer name="config_brightness_ramp_rate_slow">246</integer>
|
|
|
|
<!-- 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">2</integer>
|
|
|
|
<!-- Default screen brightness setting.
|
|
Must be in the range specified by minimum and maximum. -->
|
|
<integer name="config_screenBrightnessSettingDefault">67</integer>
|
|
|
|
<!-- Minimum screen brightness setting allowed by the power manager.
|
|
The user is forbidden from setting the brightness below this level. -->
|
|
<integer name="config_screenBrightnessSettingMinimum">2</integer>
|
|
|
|
<!-- Maximum screen brightness allowed by the power manager.
|
|
The user is forbidden from setting the brightness above this level. -->
|
|
<integer name="config_screenBrightnessSettingMaximum">255</integer>
|
|
|
|
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
|
|
<integer name="config_shutdownBatteryTemperature">600</integer>
|
|
|
|
<!-- Idle current for bluetooth controller. 0 by default-->
|
|
<integer name="config_bluetooth_idle_cur_ma">3</integer>
|
|
|
|
<!-- Rx current for bluetooth controller. 0 by default-->
|
|
<integer name="config_bluetooth_rx_cur_ma">20</integer>
|
|
|
|
<!-- Tx current for bluetooth controller. 0 by default-->
|
|
<integer name="config_bluetooth_tx_cur_ma">33</integer>
|
|
|
|
<!-- Operating voltage for bluetooth controller. 0 by default-->
|
|
<integer name="config_bluetooth_operating_voltage_mv">3700</integer>
|
|
|
|
|
|
<string-array name="config_defaultPinnerServiceFiles">
|
|
<item>/data/dalvik-cache/arm64/system@framework@boot.oat</item>
|
|
<item>/data/dalvik-cache/arm/system@framework@boot.oat</item>
|
|
<item>/data/dalvik-cache/arm64/system@framework@services.jar@classes.dex</item>
|
|
<item>/data/dalvik-cache/arm/system@framework@services.jar@classes.dex</item>
|
|
<item>/system/framework/arm64/boot.oat</item>
|
|
<item>/system/framework/arm/boot.oat</item>
|
|
<item>/system/framework/oat/arm64/services.odex</item>
|
|
<item>/system/framework/oat/arm/services.odex</item>
|
|
<item>/system/framework/arm64/boot-framework.oat</item>
|
|
<item>/system/framework/arm/boot-framework.oat</item>
|
|
<item>/system/framework/arm64/boot-core-libart.oat</item>
|
|
<item>/system/framework/arm/boot-core-libart.oat</item>
|
|
<item>/system/lib64/libRScpp.so</item>
|
|
<item>/system/lib64/libRS.so</item>
|
|
<item>/system/lib64/libRS_internal.so</item>
|
|
<item>/system/lib64/libbcinfo.so</item>
|
|
<item>/system/lib64/libRSDriver.so</item>
|
|
<item>/system/lib64/libRSCpuRef.so</item>
|
|
<item>/system/lib64/libblas.so</item>
|
|
</string-array>
|
|
|
|
<string-array name="config_gpsParameters">
|
|
<item>SUPL_HOST=supl.qxwz.com</item>
|
|
<item>SUPL_PORT=7275</item>
|
|
<item>SUPL_VER=0x20000</item>
|
|
<item>SUPL_MODE=3</item>
|
|
<item>SUPL_ES=0</item>
|
|
<item>LPP_PROFILE=2</item>
|
|
<item>USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0</item>
|
|
<item>A_GLONASS_POS_PROTOCOL_SELECT=0x7</item>
|
|
<item>GPS_LOCK=0x0</item>
|
|
</string-array>
|
|
|
|
<integer-array name="config_lteDbmThresholds">
|
|
<item>-140</item>
|
|
<item>-140</item>
|
|
<item>-125</item>
|
|
<item>-112</item>
|
|
<item>-102</item>
|
|
<item>-44</item>
|
|
</integer-array>
|
|
|
|
<integer-array name="config_availableColorModes">
|
|
<item>0</item>
|
|
<item>1</item>
|
|
<item>3</item>
|
|
<item>256</item>
|
|
<item>257</item>
|
|
<item>258</item>
|
|
<item>259</item>
|
|
<item>260</item>
|
|
<item>261</item>
|
|
<item>262</item>
|
|
<item>263</item>
|
|
<item>264</item>
|
|
<item>265</item>
|
|
</integer-array>
|
|
|
|
<string-array name="config_mobile_tcp_buffers">
|
|
<item>5gnr:2097152,6291456,16777216,512000,2097152,8388608</item>
|
|
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
|
|
<item>lte_ca:4096,6291456,12582912,4096,1048576,2097152</item>
|
|
<item>umts:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hspa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hsdpa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hspap:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>edge:4093,26280,35040,4096,16384,35040</item>
|
|
<item>gprs:4092,8760,11680,4096,8760,11680</item>
|
|
<item>evdo:4094,87380,524288,4096,16384,262144</item>
|
|
</string-array>
|
|
|
|
<string-array name="config_tether_bluetooth_regexs">
|
|
<item>bnep\\d</item>
|
|
<item>bt-pan</item>
|
|
</string-array>
|
|
|
|
<integer-array name="config_tether_upstream_types">
|
|
<item>0</item>
|
|
<item>1</item>
|
|
<item>5</item>
|
|
<item>7</item>
|
|
</integer-array>
|
|
|
|
<string-array name="config_tether_usb_regexs">
|
|
<item>usb\\d</item>
|
|
<item>rndis\\d</item>
|
|
</string-array>
|
|
|
|
<string-array name="config_tether_wifi_regexs">
|
|
<item>softap0</item>
|
|
<item>wlan0</item>
|
|
</string-array>
|
|
|
|
<string-array name="networkAttributes">
|
|
<item>wifi,1,1,1,-1,true</item>
|
|
<item>mobile,0,0,0,-1,true</item>
|
|
<item>mobile_mms,2,0,4,60000,true</item>
|
|
<item>mobile_supl,3,0,2,60000,true</item>
|
|
<item>mobile_dun,4,0,2,60000,true</item>
|
|
<item>mobile_hipri,5,0,3,60000,true</item>
|
|
<item>mobile_fota,10,0,2,60000,true</item>
|
|
<item>mobile_ims,11,0,2,60000,true</item>
|
|
<item>mobile_cbs,12,0,2,60000,true</item>
|
|
<item>bluetooth,7,7,2,-1,true</item>
|
|
<item>mobile_emergency,15,0,5,-1,true</item>
|
|
<item>ethernet,9,9,9,-1,true</item>
|
|
</string-array>
|
|
<!-- Boolean indicating if restoring network selection should be skipped -->
|
|
<!-- The restoring is handled by modem if it is true-->
|
|
<bool name="skip_restoring_network_selection">true</bool>
|
|
|
|
<string-array name="radioAttributes">
|
|
<item>1,1</item>
|
|
<item>0,1</item>
|
|
<item>7,1</item>
|
|
</string-array>
|
|
</resources>
|