2018-07-01 07:20:03 -04:00
|
|
|
<?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">
|
2022-05-23 00:20:32 -04:00
|
|
|
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
|
|
|
|
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
|
|
|
<bool name="config_automatic_brightness_available">true</bool>
|
|
|
|
|
|
|
|
<!-- 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_ambientThresholdLevels. The brightening threshold is calculated as
|
|
|
|
lux * (1.0f + CONSTRAINT_VALUE). When the current lux is higher than this threshold,
|
|
|
|
the screen brightness is recalculated. See the config_ambientThresholdLevels
|
|
|
|
description for how the constraint value is chosen. -->
|
|
|
|
<integer-array name="config_ambientBrighteningThresholds">
|
|
|
|
<item>600</item>
|
|
|
|
<item>300</item>
|
|
|
|
</integer-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_ambientThresholdLevels. The darkening threshold is calculated as
|
|
|
|
lux * (1.0f - CONSTRAINT_VALUE). When the current lux is lower than this threshold,
|
|
|
|
the screen brightness is recalculated. See the config_ambientThresholdLevels
|
|
|
|
description for how the constraint value is chosen. -->
|
|
|
|
<integer-array name="config_ambientDarkeningThresholds">
|
|
|
|
<item>600</item>
|
|
|
|
<item>300</item>
|
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
<!-- Array of screen brightness 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_screenBrighteningThresholds, and the new
|
|
|
|
darkening hysteresis constraint value is the n-th element of
|
|
|
|
config_screenDarkeningThresholds.
|
|
|
|
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 -->
|
|
|
|
<integer-array name="config_ambientThresholdLevels">
|
|
|
|
<item>10</item>
|
|
|
|
</integer-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. -->
|
|
|
|
<integer-array name="config_screenBrighteningThresholds">
|
|
|
|
<item>0</item>
|
|
|
|
</integer-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>0</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 -->
|
|
|
|
<integer-array name="config_autoBrightnessLevels">
|
|
|
|
<item>1</item>
|
|
|
|
<item>4</item>
|
|
|
|
<item>12</item>
|
|
|
|
<item>20</item>
|
|
|
|
<item>28</item>
|
|
|
|
<item>47</item>
|
|
|
|
<item>63</item>
|
|
|
|
<item>86</item>
|
|
|
|
<item>150</item>
|
|
|
|
<item>160</item>
|
|
|
|
<item>220</item>
|
|
|
|
<item>270</item>
|
|
|
|
<item>360</item>
|
|
|
|
<item>420</item>
|
|
|
|
<item>510</item>
|
|
|
|
<item>620</item>
|
|
|
|
<item>1000</item>
|
|
|
|
<item>2000</item>
|
|
|
|
<item>3100</item>
|
|
|
|
<item>5000</item>
|
|
|
|
<item>8000</item>
|
|
|
|
<item>12000</item>
|
|
|
|
<item>16000</item>
|
|
|
|
<item>20000</item>
|
|
|
|
</integer-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>0.8487</item>
|
|
|
|
<item>3.0394</item>
|
|
|
|
<item>15.2619</item>
|
|
|
|
<item>30.2619</item>
|
|
|
|
<item>46.671</item>
|
|
|
|
<item>65.95</item>
|
|
|
|
<item>80.46</item>
|
|
|
|
<item>84.38</item>
|
|
|
|
<item>89.51</item>
|
|
|
|
<item>100.34</item>
|
|
|
|
<item>102.21</item>
|
|
|
|
<item>109.48</item>
|
|
|
|
<item>114.19</item>
|
|
|
|
<item>123.86</item>
|
|
|
|
<item>129.18</item>
|
|
|
|
<item>138.07</item>
|
|
|
|
<item>145.62</item>
|
|
|
|
<item>168.84</item>
|
|
|
|
<item>234.9</item>
|
|
|
|
<item>280</item>
|
|
|
|
<item>320</item>
|
|
|
|
<item>360</item>
|
|
|
|
<item>405</item>
|
|
|
|
<item>450</item>
|
|
|
|
<item>500</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>0.0307</item>
|
|
|
|
<item>7.037</item>
|
|
|
|
<item>15.379</item>
|
|
|
|
<item>23.5493</item>
|
|
|
|
<item>31.7799</item>
|
|
|
|
<item>39.8811</item>
|
|
|
|
<item>48.2243</item>
|
|
|
|
<item>56.2296</item>
|
|
|
|
<item>64.2022</item>
|
|
|
|
<item>71.9943</item>
|
|
|
|
<item>80.5941</item>
|
|
|
|
<item>88.7333</item>
|
|
|
|
<item>96.9831</item>
|
|
|
|
<item>105.0798</item>
|
|
|
|
<item>113.1635</item>
|
|
|
|
<item>121.1973</item>
|
|
|
|
<item>129.2246</item>
|
|
|
|
<item>137.3341</item>
|
|
|
|
<item>145.32</item>
|
|
|
|
<item>153.267</item>
|
|
|
|
<item>161.1661</item>
|
|
|
|
<item>169.0299</item>
|
|
|
|
<item>177.0172</item>
|
|
|
|
<item>184.8931</item>
|
|
|
|
<item>192.6803</item>
|
|
|
|
<item>200.4254</item>
|
|
|
|
<item>208.2067</item>
|
|
|
|
<item>216.0382</item>
|
|
|
|
<item>223.7154</item>
|
|
|
|
<item>231.3969</item>
|
|
|
|
<item>239.0252</item>
|
|
|
|
<item>244.7239</item>
|
|
|
|
<item>252.3076</item>
|
|
|
|
<item>260.0522</item>
|
|
|
|
<item>267.6324</item>
|
|
|
|
<item>275.1667</item>
|
|
|
|
<item>282.6581</item>
|
|
|
|
<item>290.3193</item>
|
|
|
|
<item>297.9373</item>
|
|
|
|
<item>305.571</item>
|
|
|
|
<item>313.0667</item>
|
|
|
|
<item>320.6049</item>
|
|
|
|
<item>328.6051</item>
|
|
|
|
<item>335.7412</item>
|
|
|
|
<item>343.1922</item>
|
|
|
|
<item>350.6566</item>
|
|
|
|
<item>358.1323</item>
|
|
|
|
<item>365.529</item>
|
|
|
|
<item>373.0114</item>
|
|
|
|
<item>380.4509</item>
|
|
|
|
<item>387.8658</item>
|
|
|
|
<item>395.3285</item>
|
|
|
|
<item>402.6951</item>
|
|
|
|
<item>410.0712</item>
|
|
|
|
<item>417.4442</item>
|
|
|
|
<item>424.8042</item>
|
|
|
|
<item>432.0771</item>
|
|
|
|
<item>439.3496</item>
|
|
|
|
<item>446.6545</item>
|
|
|
|
<item>454.0463</item>
|
|
|
|
<item>461.4097</item>
|
|
|
|
<item>468.5552</item>
|
|
|
|
<item>473.9042</item>
|
|
|
|
<item>482.879</item>
|
|
|
|
<item>490.2271</item>
|
|
|
|
</array>
|
|
|
|
|
|
|
|
<!-- An array describing the screen's backlight values corresponding to the brightness
|
|
|
|
values in the config_screenBrightnessNits array.
|
|
|
|
This array should be equal in size to config_screenBrightnessBacklight. -->
|
|
|
|
<integer-array name="config_screenBrightnessBacklight">
|
|
|
|
<item>@null</item>
|
|
|
|
<item>4</item>
|
|
|
|
<item>8</item>
|
|
|
|
<item>12</item>
|
|
|
|
<item>16</item>
|
|
|
|
<item>20</item>
|
|
|
|
<item>24</item>
|
|
|
|
<item>28</item>
|
|
|
|
<item>32</item>
|
|
|
|
<item>36</item>
|
|
|
|
<item>40</item>
|
|
|
|
<item>44</item>
|
|
|
|
<item>48</item>
|
|
|
|
<item>52</item>
|
|
|
|
<item>56</item>
|
|
|
|
<item>60</item>
|
|
|
|
<item>64</item>
|
|
|
|
<item>68</item>
|
|
|
|
<item>72</item>
|
|
|
|
<item>76</item>
|
|
|
|
<item>80</item>
|
|
|
|
<item>84</item>
|
|
|
|
<item>88</item>
|
|
|
|
<item>92</item>
|
|
|
|
<item>96</item>
|
|
|
|
<item>100</item>
|
|
|
|
<item>104</item>
|
|
|
|
<item>108</item>
|
|
|
|
<item>112</item>
|
|
|
|
<item>116</item>
|
|
|
|
<item>120</item>
|
|
|
|
<item>123</item>
|
|
|
|
<item>127</item>
|
|
|
|
<item>131</item>
|
|
|
|
<item>135</item>
|
|
|
|
<item>139</item>
|
|
|
|
<item>143</item>
|
|
|
|
<item>147</item>
|
|
|
|
<item>151</item>
|
|
|
|
<item>155</item>
|
|
|
|
<item>159</item>
|
|
|
|
<item>163</item>
|
|
|
|
<item>167</item>
|
|
|
|
<item>171</item>
|
|
|
|
<item>175</item>
|
|
|
|
<item>179</item>
|
|
|
|
<item>183</item>
|
|
|
|
<item>187</item>
|
|
|
|
<item>191</item>
|
|
|
|
<item>195</item>
|
|
|
|
<item>199</item>
|
|
|
|
<item>203</item>
|
|
|
|
<item>207</item>
|
|
|
|
<item>211</item>
|
|
|
|
<item>215</item>
|
|
|
|
<item>219</item>
|
|
|
|
<item>223</item>
|
|
|
|
<item>227</item>
|
|
|
|
<item>231</item>
|
|
|
|
<item>235</item>
|
|
|
|
<item>239</item>
|
|
|
|
<item>243</item>
|
|
|
|
<item>246</item>
|
|
|
|
<item>251</item>
|
|
|
|
<item>255</item>
|
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
<!-- 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">6</integer>
|
|
|
|
|
|
|
|
<!-- Default screen brightness setting set.
|
|
|
|
-2 is invalid so setting will resort to int value specified above.
|
|
|
|
Must be in the range specified by minimum and maximum. -->
|
|
|
|
<item type="dimen" name="config_screenBrightnessSettingDefaultFloat">0.45882353</item>
|
|
|
|
|
|
|
|
<!-- Maximum screen brightness allowed by the power manager.
|
|
|
|
-2 is invalid so setting will resort to int value specified above.
|
|
|
|
Set this to 1.0 for maximum brightness range.
|
|
|
|
The user is forbidden from setting the brightness above this level. -->
|
|
|
|
<item type="dimen" name="config_screenBrightnessSettingMaximumFloat">1.0</item>
|
|
|
|
|
|
|
|
<!-- Minimum screen brightness setting allowed by power manager.
|
|
|
|
-2 is invalid so setting will resort to int value specified above.
|
|
|
|
Set this to 0.0 to allow screen to go to minimal brightness.
|
|
|
|
The user is forbidden from setting the brightness below this level. -->
|
|
|
|
<item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.001954079</item>
|
|
|
|
|
|
|
|
<!-- 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">1500</integer>
|
|
|
|
<integer name="config_autoBrightnessDarkeningLightDebounce">1500</integer>
|
|
|
|
|
|
|
|
<!-- Light sensor event rate in milliseconds for automatic brightness control. -->
|
|
|
|
<integer name="config_autoBrightnessLightSensorRate">200</integer>
|
|
|
|
|
|
|
|
<!-- The bounding path of the cutout region of the main built-in display.
|
|
|
|
Must either be empty if there is no cutout region, or a string that is parsable by
|
|
|
|
{@link android.util.PathParser}.
|
|
|
|
The path is assumed to be specified in display coordinates with pixel units and in
|
|
|
|
the display's native orientation, with the origin of the coordinate system at the
|
|
|
|
center top of the display.
|
|
|
|
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
|
|
|
|
appended after the path string to interpret coordinates in dp instead of px units.
|
|
|
|
Note that a physical cutout should be configured in pixels for the best results.
|
|
|
|
-->
|
|
|
|
<string translatable="false" name="config_mainBuiltInDisplayCutout">
|
|
|
|
M 99,68.5
|
|
|
|
M 65,68.5
|
|
|
|
A 34,34 0 1,0 133,68.5
|
|
|
|
A 34,34 0 1,0 65,68.5
|
|
|
|
Z
|
|
|
|
@left
|
|
|
|
</string>
|
|
|
|
|
|
|
|
<!-- Like config_mainBuiltInDisplayCutout, but this path is used to report the
|
|
|
|
one single bounding rect per device edge to the app via
|
|
|
|
{@link DisplayCutout#getBoundingRect}. Note that this path should try to match the visual
|
|
|
|
appearance of the cutout as much as possible, and may be smaller than
|
|
|
|
config_mainBuiltInDisplayCutout
|
|
|
|
-->
|
|
|
|
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
|
|
|
|
M 0,0
|
|
|
|
H 164
|
|
|
|
V 102.5
|
|
|
|
H 0
|
|
|
|
Z
|
|
|
|
@left
|
|
|
|
</string>
|
|
|
|
|
|
|
|
<!-- Whether the display cutout region of the main built-in display should be forced to
|
|
|
|
black in software (to avoid aliasing or emulate a cutout that is not physically existent).
|
|
|
|
-->
|
|
|
|
<bool name="config_fillMainBuiltInDisplayCutout">true</bool>
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
|
|
|
|
<bool name="config_unplugTurnsOnScreen">true</bool>
|
|
|
|
|
|
|
|
<!-- Boolean indicating if restoring network selection should be skipped -->
|
|
|
|
<!-- The restoring is handled by modem if it is true-->
|
|
|
|
<bool translatable="false" name="skip_restoring_network_selection">true</bool>
|
|
|
|
|
|
|
|
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
|
|
|
|
<bool name="config_cellBroadcastAppLinks">true</bool>
|
|
|
|
|
|
|
|
<!-- MMS user agent string -->
|
|
|
|
<string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
|
|
|
|
|
|
|
|
<!-- MMS user agent prolfile url -->
|
|
|
|
<string name="config_mms_user_agent_profile_url" translatable="false"
|
|
|
|
>http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
|
|
|
|
|
|
|
|
<!-- This string array should be overridden by the device to present a list of network
|
|
|
|
attributes. This is used by the connectivity manager to decide which networks can coexist
|
|
|
|
based on the hardware -->
|
|
|
|
<!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
|
|
|
|
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
|
|
|
|
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
|
|
|
|
before automatically restore the default connection. Set -1 if the connection
|
|
|
|
does not require auto-restore. -->
|
|
|
|
<!-- the 6th element indicates boot-time dependency-met value. -->
|
|
|
|
<string-array translatable="false" 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>
|
2019-09-20 08:07:50 -04:00
|
|
|
<item>ethernet,9,9,9,-1,true</item>
|
2018-07-01 07:20:03 -04:00
|
|
|
</string-array>
|
|
|
|
|
|
|
|
<!-- This string array should be overridden by the device to present a list of radio
|
|
|
|
attributes. This is used by the connectivity manager to decide which networks can coexist
|
|
|
|
based on the hardware -->
|
|
|
|
<!-- An Array of "[ConnectivityManager connectionType],
|
|
|
|
[# simultaneous connection types]" -->
|
|
|
|
<string-array translatable="false" name="radioAttributes">
|
|
|
|
<item>"1,1"</item>
|
|
|
|
<item>"0,1"</item>
|
|
|
|
<item>"7,1"</item>
|
|
|
|
</string-array>
|
|
|
|
|
|
|
|
<!-- Whether WiFi display is supported by this device.
|
|
|
|
There are many prerequisites for this feature to work correctly.
|
|
|
|
Here are a few of them:
|
|
|
|
* The WiFi radio must support WiFi P2P.
|
|
|
|
* The WiFi radio must support concurrent connections to the WiFi display and
|
|
|
|
to an access point.
|
|
|
|
* The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
|
|
|
|
remote submix module. This module is used to record and stream system
|
|
|
|
audio output to the WiFi display encoder in the media server.
|
|
|
|
* The remote submix module "audio.r_submix.default" must be installed on the device.
|
|
|
|
* The device must be provisioned with HDCP keys (for protected content).
|
|
|
|
-->
|
|
|
|
<bool name="config_enableWifiDisplay">true</bool>
|
|
|
|
|
|
|
|
<!-- Set to true if the wifi display supports compositing content stored
|
|
|
|
in gralloc protected buffers. For this to be true, there must exist
|
|
|
|
a protected hardware path for surface flinger to composite and send
|
|
|
|
protected buffers to the wifi display video encoder.
|
|
|
|
If this flag is false, we advise applications not to use protected
|
|
|
|
buffers (if possible) when presenting content to a wifi display because
|
|
|
|
the content may be blanked.
|
|
|
|
This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
|
|
|
|
flag is set for wifi displays.
|
|
|
|
-->
|
|
|
|
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
|
|
|
|
|
|
|
|
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
|
|
|
|
it causes the device to wake up.
|
|
|
|
The default is false. -->
|
|
|
|
<bool name="config_lidControlsSleep">true</bool>
|
|
|
|
|
|
|
|
<!-- Indicate whether to allow the device to suspend when the screen is off
|
|
|
|
due to the proximity sensor. This resource should only be set to true
|
|
|
|
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
|
|
|
|
Otherwise, the device may fail to wake out of suspend reliably.
|
|
|
|
The default is false. -->
|
|
|
|
<bool name="config_suspendWhenScreenOffDueToProximity">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">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
|
|
|
|
|
|
|
<!-- If true, the doze component is not started until after the screen has been
|
|
|
|
turned off and the screen off animation has been performed. -->
|
2018-03-20 19:20:07 -04:00
|
|
|
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
2018-07-01 07:20:03 -04:00
|
|
|
|
2019-01-05 15:44:39 -05:00
|
|
|
<!-- Whether the always on display mode is available. -->
|
|
|
|
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
|
|
|
|
|
|
|
<!-- Control whether the always on display mode is enabled by default. This value will be used
|
|
|
|
during initialization when the setting is still null. -->
|
|
|
|
<bool name="config_dozeAlwaysOnEnabled">false</bool>
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
|
|
|
device from the display on/off state.
|
|
|
|
|
|
|
|
When false, autosuspend_disable() will be called before the display is turned on
|
|
|
|
and autosuspend_enable() will be called after the display is turned off.
|
|
|
|
This mode provides best compatibility for devices using legacy power management
|
|
|
|
features such as early suspend / late resume.
|
|
|
|
|
|
|
|
When true, autosuspend_display() and autosuspend_enable() will be called
|
|
|
|
independently of whether the display is being turned on or off. This mode
|
|
|
|
enables the power manager to suspend the application processor while the
|
|
|
|
display is on.
|
|
|
|
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
|
|
to maximize power savings but not all devices support it.
|
|
|
|
|
|
|
|
Refer to autosuspend.h for details.
|
|
|
|
-->
|
|
|
|
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
|
|
|
|
2021-06-27 04:07:13 -04:00
|
|
|
<!-- Power Management: Specifies whether to decouple the interactive state of the
|
|
|
|
device from the display on/off state.
|
|
|
|
When false, setInteractive(..., true) will be called before the display is turned on
|
|
|
|
and setInteractive(..., false) will be called after the display is turned off.
|
|
|
|
This mode provides best compatibility for devices that expect the interactive
|
|
|
|
state to be tied to the display state.
|
|
|
|
When true, setInteractive(...) will be called independently of whether the display
|
|
|
|
is being turned on or off. This mode enables the power manager to reduce
|
|
|
|
clocks and disable the touch controller while the display is on.
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
|
|
to maximize power savings but not all devices support it.
|
|
|
|
Refer to power.h for details.
|
|
|
|
-->
|
|
|
|
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
|
|
|
May be less than the minimum allowed brightness setting
|
|
|
|
that can be set by the user. -->
|
|
|
|
<integer name="config_screenBrightnessDoze">17</integer>
|
|
|
|
|
|
|
|
<!-- Configure mobile tcp buffer sizes in the form:
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
<string-array name="config_mobile_tcp_buffers">
|
2018-06-07 19:17:10 -04:00
|
|
|
<item>5gnr:2097152,6291456,16777216,512000,2097152,8388608</item>
|
2018-07-01 07:20:03 -04:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<!-- Flag specifying whether VoLTE is available on device -->
|
|
|
|
<bool name="config_device_volte_available">true</bool>
|
|
|
|
|
2016-03-28 13:30:21 -04:00
|
|
|
<!-- Flag specifying whether VT is available on device -->
|
|
|
|
<bool name="config_device_vt_available">true</bool>
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
<!-- Flag specifying whether WFC over IMS is available on device -->
|
|
|
|
<bool name="config_device_wfc_ims_available">true</bool>
|
|
|
|
|
2021-06-17 04:47:57 -04:00
|
|
|
<!-- IWLAN data service package name to bind to by default. If none is specified in an overlay, an
|
|
|
|
empty string is passed in -->
|
|
|
|
<string name="config_wlan_data_service_package">vendor.qti.iwlan</string>
|
|
|
|
|
2019-11-03 14:30:24 -05:00
|
|
|
<!-- IWLAN network service package name to bind to by default. If none is specified in an overlay, an
|
|
|
|
empty string is passed in -->
|
|
|
|
<string name="config_wlan_network_service_package">vendor.qti.iwlan</string>
|
|
|
|
|
|
|
|
<!-- Telephony qualified networks service package name to bind to by default. -->
|
|
|
|
<string name="config_qualified_networks_service_package">vendor.qti.iwlan</string>
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
<!-- Flag specifying whether or not IMS will use the ImsResolver dynamically -->
|
|
|
|
<bool name="config_dynamic_bind_ims">true</bool>
|
|
|
|
|
|
|
|
<!-- Config determines whether to update phone object when voice registration
|
|
|
|
state changes. Voice radio tech change will always trigger an update of
|
|
|
|
phone object irrespective of this config -->
|
|
|
|
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
|
|
|
|
|
|
|
|
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
|
|
|
|
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
|
|
|
|
|
2019-02-22 02:05:26 -05:00
|
|
|
<!-- Boolean indicating if current platform supports HFP inband ringing -->
|
|
|
|
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
<!-- 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>
|
|
|
|
|
|
|
|
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
|
|
|
|
<integer name="config_shutdownBatteryTemperature">680</integer>
|
|
|
|
|
2021-06-17 04:54:40 -04:00
|
|
|
<!-- Average Current for bluetooth controller when idle. 0 by default-->
|
|
|
|
<integer translatable="false" name="config_bluetooth_idle_cur_ma">6</integer>
|
|
|
|
|
|
|
|
<!-- Average Current for bluetooth controller when receiving. 0 by default-->
|
|
|
|
<integer translatable="false" name="config_bluetooth_rx_cur_ma">28</integer>
|
|
|
|
|
|
|
|
<!-- Average Current for bluetooth controller when transmitting. 0 by default-->
|
|
|
|
<integer translatable="false" name="config_bluetooth_tx_cur_ma">36</integer>
|
|
|
|
|
2018-07-01 07:20:03 -04:00
|
|
|
<!-- Operating volatage for bluetooth controller. 0 by default-->
|
2021-06-17 04:54:40 -04:00
|
|
|
<integer translatable="false" name="config_bluetooth_operating_voltage_mv">3700</integer>
|
2018-07-01 07:20:03 -04:00
|
|
|
|
|
|
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
|
|
|
<integer-array name="config_longPressVibePattern">
|
|
|
|
<item>0</item>
|
2022-05-23 00:20:32 -04:00
|
|
|
<item>80</item>
|
2018-07-01 07:20:03 -04:00
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
|
|
|
<integer-array name="config_virtualKeyVibePattern">
|
|
|
|
<item>0</item>
|
2022-05-23 00:20:32 -04:00
|
|
|
<item>80</item>
|
2018-07-01 07:20:03 -04:00
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
|
|
|
<integer-array name="config_keyboardTapVibePattern">
|
2022-05-23 00:20:32 -04:00
|
|
|
<item>80</item>
|
2018-07-01 07:20:03 -04:00
|
|
|
</integer-array>
|
|
|
|
|
|
|
|
<!-- Default list of files pinned by the Pinner Service -->
|
|
|
|
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
|
2019-09-12 18:13:28 -04:00
|
|
|
<item>"/system/framework/framework.jar"</item>
|
|
|
|
<item>"/system/framework/services.jar"</item>
|
|
|
|
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
|
|
|
|
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
|
|
|
|
<item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
|
2020-09-11 16:13:16 -04:00
|
|
|
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
|
2021-01-19 17:52:54 -05:00
|
|
|
<item>"/system/bin/surfaceflinger"</item>
|
2018-07-01 07:20:03 -04:00
|
|
|
</string-array>
|
|
|
|
|
|
|
|
<!-- Should the pinner service pin the Camera application? -->
|
|
|
|
<bool name="config_pinnerCameraApp">true</bool>
|
2018-07-10 08:46:08 -04:00
|
|
|
|
|
|
|
<!-- Should the pinner service pin the Home application? -->
|
|
|
|
<bool name="config_pinnerHomeApp">true</bool>
|
2018-07-01 07:20:03 -04:00
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
|
|
|
|
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
|
|
|
|
on the headphone/microphone jack. When false use the older uevent framework. -->
|
|
|
|
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
|
|
|
|
|
|
|
<!-- Is the device capable of hot swapping an ICC Card -->
|
|
|
|
<bool name="config_hotswapCapable">true</bool>
|
2018-07-15 08:13:01 -04:00
|
|
|
|
2017-10-16 13:31:16 -04:00
|
|
|
<!-- Whether the Unprocessed audio source supports the required frequency range and level -->
|
|
|
|
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
|
|
|
|
2018-07-15 08:13:01 -04:00
|
|
|
<!-- True if the device supports Sustained Performance Mode-->
|
|
|
|
<bool name="config_sustainedPerformanceModeSupported">true</bool>
|
2018-07-15 03:42:44 -04:00
|
|
|
|
|
|
|
<!-- Whether device supports double tap to wake -->
|
|
|
|
<bool name="config_supportDoubleTapWake">true</bool>
|
2018-07-19 10:01:52 -04:00
|
|
|
|
|
|
|
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
|
|
|
|
in hardware. -->
|
|
|
|
<bool name="config_setColorTransformAccelerated">true</bool>
|
2020-01-23 17:19:19 -05:00
|
|
|
|
|
|
|
<!-- 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> <!-- ID0:Fingerprint:Strong -->
|
|
|
|
</string-array>
|
2021-04-26 20:58:16 -04:00
|
|
|
|
|
|
|
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
|
|
|
<integer-array name="config_availableColorModes">
|
|
|
|
<item>0</item>
|
|
|
|
<item>256</item>
|
|
|
|
<item>257</item>
|
|
|
|
<item>258</item>
|
|
|
|
<item>259</item>
|
|
|
|
</integer-array>
|
2022-02-02 12:43:25 -05:00
|
|
|
|
|
|
|
<!-- The default refresh rate for a given device. Change this value to set a higher default
|
|
|
|
refresh rate. If the hardware composer on the device supports display modes with a higher
|
|
|
|
refresh rate than the default value specified here, the framework may use those higher
|
|
|
|
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
|
|
|
|
setFrameRate().
|
|
|
|
If a non-zero value is set for config_defaultPeakRefreshRate, then
|
|
|
|
config_defaultRefreshRate may be set to 0, in which case the value set for
|
|
|
|
config_defaultPeakRefreshRate will act as the default frame rate. -->
|
|
|
|
<integer name="config_defaultRefreshRate">0</integer>
|
|
|
|
|
|
|
|
<!-- The default peak refresh rate for a given device. Change this value if you want to prevent
|
|
|
|
the framework from using higher refresh rates, even if display modes with higher refresh
|
|
|
|
rates are available from hardware composer. Only has an effect if the value is
|
|
|
|
non-zero. -->
|
2022-05-23 10:46:59 -04:00
|
|
|
<integer name="config_defaultPeakRefreshRate">90</integer>
|
2018-07-01 07:20:03 -04:00
|
|
|
</resources>
|