s5neolte: Cleanup device overlays
[GitHub/LineageOS/android_device_samsung_s5neolte.git] / overlay / frameworks / base / core / res / res / values / config.xml
CommitLineData
fac5d78c
S
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2017, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<!-- These resources are around just to allow their values to be customized
21 for different hardware and product builds. -->
22<resources>
23 <!-- This string array should be overridden by the device to present a list of radio
24 attributes. This is used by the connectivity manager to decide which networks can coexist
25 based on the hardware -->
26 <!-- An Array of "[ConnectivityManager connectionType],
27 [# simultaneous connection types]" -->
28 <string-array translatable="false" name="radioAttributes">
29 <!-- DEFAULT -->
30 <item>"1,1"</item>
31 <!-- MOBILE -->
32 <item>"0,1"</item>
33 <!-- BLUETOOTH -->
34 <item>"7,1"</item>
35 </string-array>
36
fac5d78c
S
37 <!-- Screen brightness used to dim the screen while dozing in a very low power state.
38 May be less than the minimum allowed brightness setting
39 that can be set by the user. -->
40 <integer name="config_screenBrightnessDoze">10</integer>
41
42 <!-- If true, the doze component is not started until after the screen has been
43 turned off and the screen off animation has been performed. -->
ee1017dc 44 <bool name="config_dozeAfterScreenOffByDefault">true</bool>
fac5d78c
S
45
46 <!-- ComponentName of a dream to show whenever the system would otherwise have
47 gone to sleep. When the PowerManager is asked to go to sleep, it will instead
48 try to start this dream if possible. The dream should typically call startDozing()
49 to put the display into a low power state and allow the application processor
50 to be suspended. When the dream ends, the system will go to sleep as usual.
51 Specify the component name or an empty string if none.
52 Note that doze dreams are not subject to the same start conditions as ordinary dreams.
53 Doze dreams will run whenever the power manager is in a dozing state. -->
54 <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
55
6f345945 56 <!-- Boolean indicating if restoring network selection should be skipped -->
fac5d78c
S
57 <!-- The restoring is handled by modem if it is true -->
58 <bool name="skip_restoring_network_selection">true</bool>
59
60 <!-- Indicate whether closing the lid causes the device to go to sleep and opening
61 it causes the device to wake up.
62 The default is false. -->
63 <bool name="config_lidControlsSleep">true</bool>
64
6f345945
DW
65 <!-- Configure mobile tcp buffer sizes in the form:
66 rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
67 If no value is found for the rat-name in use, the system default will be applied.
68 -->
fac5d78c 69 <string-array name="config_mobile_tcp_buffers">
6f345945
DW
70 <item>lte:1048576,3145728,4194304,1048576,3145728,4194304</item>
71 <item>umts:4094,87380,1220608,4096,16384,1220608</item>
72 <item>hspa:4094,87380,1220608,4096,16384,1220608</item>
73 <item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
74 <item>hsdpa:4094,87380,1220608,4096,16384,1220608</item>
75 <item>hspap:4094,87380,1220608,4096,16384,1220608</item>
fac5d78c
S
76 </string-array>
77
78 <!-- Configure wifi tcp buffersizes in the form:
79 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
80 <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,4525824,524288,1048576,4525824</string>
81
82 <!-- Operating volatage for bluetooth controller. -->
83 <integer name="config_bluetooth_operating_voltage_mv">4</integer>
84
85 <!-- Flag indicating which package name can access the persistent data partition -->
86 <string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
87
88 <!-- This string array should be overridden by the device to present a list of network
89 attributes. This is used by the connectivity manager to decide which networks can coexist
90 based on the hardware -->
91 <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
92 [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
93 <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
94 before automatically restore the default connection. Set -1 if the connection
95 does not require auto-restore. -->
96 <!-- the 6th element indicates boot-time dependency-met value. -->
6f345945
DW
97 <!-- NOTE: The telephony module is no longer reading the configuration below for available
98 APN types. The set of APN types and relevant settings are specified within the telephony
99 module and are non-configurable. Whether or not data connectivity over a cellular network
100 is available at all is controlled by the flag: config_moble_data_capable. -->
fac5d78c
S
101 <string-array translatable="false" name="networkAttributes">
102 <item>wifi,1,1,1,-1,true</item>
103 <item>mobile,0,0,0,-1,true</item>
104 <item>mobile_mms,2,0,2,240000,true</item>
105 <item>mobile_supl,3,0,2,60000,true</item>
106 <item>mobile_dun,4,0,2,60000,true</item>
107 <item>mobile_hipri,5,0,3,60000,true</item>
108 <item>bluetooth,7,7,0,-1,true</item>
109 <item>ethernet,9,9,2,-1,true</item>
110 <item>mobile_fota,10,0,2,60000,true</item>
111 <item>mobile_ims,11,0,1,-1,true</item>
112 <item>mobile_cbs,12,0,2,60000,true</item>
113 <item>wifi_p2p,13,1,0,-1,true</item>
114 <item>mobile_ia,14,0,2,-1,true</item>
115 <item>mobile_emergency,15,0,2,-1,true</item>
fac5d78c
S
116 </string-array>
117
fac5d78c 118 <!-- Flag indicating whether we should enable the automatic brightness in Settings.
6f345945 119 Software implementation will be used if config_hardware_auto_brightness_available is not set -->
fac5d78c
S
120 <bool name="config_automatic_brightness_available">true</bool>
121
fac5d78c
S
122 <!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
123 for debouncing the light sensor. Different constants are used to debounce the light sensor
124 when adapting to brighter or darker environments. This parameter controls how quickly
125 brightness changes occur in response to an observed change in light level that exceeds the
126 hysteresis threshold. -->
127 <integer name="config_autoBrightnessBrighteningLightDebounce">0</integer>
128 <integer name="config_autoBrightnessDarkeningLightDebounce">0</integer>
129
6f345945
DW
130 <!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
131 The N entries of this array define N + 1 control points as follows:
132 (1-based arrays)
133
134 Point 1: (0, value[1]): lux <= 0
135 Point 2: (level[1], value[2]): 0 < lux <= level[1]
136 Point 3: (level[2], value[3]): level[2] < lux <= level[3]
fac5d78c 137 ...
6f345945
DW
138 Point N+1: (level[N], value[N+1]): level[N] < lux
139
140 The control points must be strictly increasing. Each control point
141 corresponds to an entry in the brightness backlight values arrays.
142 For example, if lux == level[1] (first element of the levels array)
143 then the brightness will be determined by value[2] (second element
144 of the brightness values array).
145
146 Spline interpolation is used to determine the auto-brightness
147 backlight values for lux levels between these control points.
148
fac5d78c
S
149 Must be overridden in platform specific overlays -->
150 <integer-array name="config_autoBrightnessLevels">
151 <item>9</item>
152 <item>30</item>
153 <item>100</item>
154 <item>325</item>
155 <item>1250</item>
156 <item>3500</item>
157 <item>10000</item>
158 <item>20000</item>
159 </integer-array>
160
161 <!-- Array of output values for LCD backlight corresponding to the LUX values
162 in the config_autoBrightnessLevels array. This array should have size one greater
163 than the size of the config_autoBrightnessLevels array.
164 This must be overridden in platform specific overlays -->
165 <integer-array name="config_autoBrightnessLcdBacklightValues">
166 <!-- 9 --> <item>18</item>
167 <!-- 30 --> <item>30</item>
168 <!-- 100 --> <item>59</item>
169 <!-- 325 --> <item>74</item>
170 <!-- 1250 --> <item>92</item>
171 <!-- 3500 --> <item>118</item>
172 <!-- 10000 --> <item>155</item>
173 <!-- 20000 --> <item>222</item>
174 <item>255</item>
175 </integer-array>
176
177 <!-- Minimum screen brightness setting allowed by the power manager.
178 The user is forbidden from setting the brightness below this level. -->
179 <integer name="config_screenBrightnessSettingMinimum">10</integer>
180
181 <!-- Default screen brightness setting.
182 Must be in the range specified by minimum and maximum. -->
183 <integer name="config_screenBrightnessSettingDefault">134</integer>
184
185 <!-- Screen brightness used to dim the screen when the user activity
186 timeout expires. May be less than the minimum allowed brightness setting
187 that can be set by the user. -->
188 <integer name="config_screenBrightnessDim">10</integer>
189
190 <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
191 <bool name="config_intrusiveNotificationLed">true</bool>
192
193 <!-- Control the behavior when the user long presses the home button.
194 0 - Nothing
195 1 - Menu key
196 2 - Recent apps view in SystemUI
197 3 - Launch assist intent
198 4 - Voice Search
199 5 - In-app Search
200 This needs to match the constants in
201 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
202 -->
203 <integer name="config_longPressOnHomeBehavior">3</integer>
204
205 <!-- Control the behavior when the user double-taps the home button.
206 0 - Nothing
207 1 - Menu
208 2 - Recent apps view in SystemUI
209 3 - Launch assist intent
210 4 - Voice Search
211 5 - In-app Search
212 This needs to match the constants in
213 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
214 -->
215 <integer name="config_doubleTapOnHomeBehavior">2</integer>
216
217 <!-- These resources are around just to allow their values to be customized
218 for different hardware and product builds. -->
219 <string name="config_radio_access_family">GSM | WCDMA | LTE | CDMA | EVDO</string>
220
6f345945 221 <!-- Enable OLED burn-in protection -->
b87e649d 222 <bool name="config_enableBurnInProtection">true</bool>
fac5d78c 223</resources>