blob: 8ed1cf6e41d7ef9ea9e9a46fde2fe3b51579270c [file] [log] [blame]
Bharath756d7dd2021-08-07 23:53:55 +05301<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (c) 2014, The Linux Foundation. All rights reserved.
4
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are
7 met:
8 * Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above
11 copyright notice, this list of conditions and the following
12 disclaimer in the documentation and/or other materials provided
13 with the distribution.
14 * Neither the name of The Linux Foundation nor the names of its
15 contributors may be used to endorse or promote products derived
16 from this software without specific prior written permission.
17
18 THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
19 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
21 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
22 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
25 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
27 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
28 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
29-->
30
31<resources>
32
Bharath80ba1872021-08-21 11:53:57 +053033 <!-- Audio -->
34 <!-- Whether the Unprocessed audio source supports the required frequency range and level -->
35 <bool name="config_supportAudioSourceUnprocessed">true</bool>
36
37
38 <!-- Bluetooth -->
39 <!-- Boolean indicating if current platform supports HFP inband ringing -->
40 <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
41
42 <!-- Boolean indicating if current platform supports BLE peripheral mode -->
43 <bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
44
45
Bharath756d7dd2021-08-07 23:53:55 +053046 <!-- Camera Shutter -->
47 <!-- Whether camera shutter sound is forced or not (country specific). -->
48 <bool name="config_camera_sound_forced">false</bool>
49
50
51 <!-- Dialer -->
52 <!-- The name of the package that will hold the dialer role by default. -->
53 <string name="config_defaultDialer" translatable="false">com.android.dialer</string>
54
55
56 <!-- Doze -->
57 <!-- Enable doze mode -->
58 <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
59 <bool name="config_dozeAfterScreenOff">true</bool>
60 <!-- Screen brightness when dozing. -->
61 <integer name="config_screenBrightnessDoze">17</integer>
62 <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
63 <bool name="config_setColorTransformAccelerated">true</bool>
64
65
Bharath80ba1872021-08-21 11:53:57 +053066 <!-- Multi User -->
67 <!-- Maximum number of supported users -->
68 <integer name="config_multiuserMaximumUsers">4</integer>
69 <!-- Whether Multiuser UI should be shown -->
70 <bool name="config_enableMultiUserUI">true</bool>
71
72
Bharath756d7dd2021-08-07 23:53:55 +053073 <!-- NTP Server -->
74
75 <!-- Remote server that can provide NTP responses. -->
76 <string translatable="false" name="config_ntpServer">europe.pool.ntp.org</string>
77
78
79 <!-- Screen and Display -->
80
81 <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
82 Software implementation will be used if config_hardware_auto_brightness_available is not set -->
83 <bool name="config_automatic_brightness_available">true</bool>
84
Bharatha60665d2021-08-19 09:37:22 +053085 <!-- The maximum range of gamma adjustment possible using the screen
86 auto-brightness adjustment setting. -->
87 <fraction name="config_autoBrightnessAdjustmentMaxGamma">300%</fraction>
88
89 <!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
90 for debouncing the light sensor. Different constants are used to debounce the light sensor
91 when adapting to brighter or darker environments. This parameter controls how quickly
92 brightness changes occur in response to an observed change in light level that exceeds the
93 hysteresis threshold. -->
94 <integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
95 <integer name="config_autoBrightnessDarkeningLightDebounce">8000</integer>
96
97 <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
98 The N entries of this array define N + 1 control points as follows:
99 (1-based arrays)
100
101 Point 1: (0, value[1]): lux <= 0
102 Point 2: (level[1], value[2]): 0 < lux <= level[1]
103 Point 3: (level[2], value[3]): level[2] < lux <= level[3]
104 ...
105 Point N+1: (level[N], value[N+1]): level[N] < lux
106
107 The control points must be strictly increasing. Each control point
108 corresponds to an entry in the brightness backlight values arrays.
109 For example, if LUX == level[1] (first element of the levels array)
110 then the brightness will be determined by value[2] (second element
111 of the brightness values array).
112
113 Spline interpolation is used to determine the auto-brightness
114 backlight values for LUX levels between these control points.
115
116 Must be overridden in platform specific overlays -->
117 <integer-array name="config_autoBrightnessLevels">
118 <item>10</item>
119 <item>30</item>
120 <item>60</item>
121 <item>100</item>
122 <item>150</item>
123 <item>210</item>
124 <item>255</item>
125 </integer-array>
126
127 <!-- Array of output values for LCD backlight corresponding to the LUX values
128 in the config_autoBrightnessLevels array. This array should have size one greater
129 than the size of the config_autoBrightnessLevels array.
130 The brightness values must be between 0 and 255 and be non-decreasing.
131 This must be overridden in platform specific overlays -->
132 <integer-array name="config_autoBrightnessLcdBacklightValues">
133 <item>10</item>
134 <item>20</item>
135 <item>40</item>
136 <item>70</item>
137 <item>110</item>
138 <item>160</item>
139 <item>200</item>
140 <item>255</item>
141 </integer-array>
142
143 <!-- Screen brightness used to dim the screen when the user activity
144 timeout expires. May be less than the minimum allowed brightness setting
145 that can be set by the user. -->
146 <integer name="config_screenBrightnessDim">1</integer>
147
148 <!-- Default screen brightness setting.
149 Must be in the range specified by minimum and maximum. -->
150 <integer name="config_screenBrightnessSettingDefault">71</integer>
151
Bharath756d7dd2021-08-07 23:53:55 +0530152 <!-- Indicate whether to allow the device to suspend when the screen is off
153 due to the proximity sensor. This resource should only be set to true
154 if the sensor HAL correctly handles the proximity sensor as a wake-up source.
155 Otherwise, the device may fail to wake out of suspend reliably.
156 The default is false. -->
157 <bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
158
159 <!-- If this is true, the screen will come on when you plug/unplug usb/power/whatever. -->
160 <bool name="config_unplugTurnsOnScreen">true</bool>
161
162
163 <!-- Navigation bar -->
164
165 <!-- Enable system navigation keys. -->
166 <bool name="config_supportSystemNavigationKeys">true</bool>
167
168 <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
169 autodetected from the Configuration. -->
170 <bool name="config_showNavigationBar">true</bool>
171
172
173 <!-- Round Icons -->
174
175 <!-- Set icon mask to circle -->
176 <string name="config_icon_mask" translatable="false">"M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0"</string>
177
178 <!-- Flag indicating whether round icons should be parsed from the application manifest. -->
179 <bool name="config_useRoundIcon">true</bool>
180
181
182 <!-- Biometics -->
183
184 <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
185 when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
186 where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
187 and Strength as defined in Authenticators.java -->
188 <string-array name="config_biometric_sensors" translatable="false" >
189 <item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
190 </string-array>
191
192
Bharath36b3b802021-08-21 15:09:23 +0530193 <!-- NOTE: All Telephony/IMS/Operator Requirement configs to be added below this line. -->
194
195
196 <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
197 <bool name="config_cellBroadcastAppLinks">true</bool>
198
199 <!-- This string array should be overridden by the device to present a list of network
200 attributes. This is used by the connectivity manager to decide which networks can coexist
201 based on the hardware -->
202 <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
203 [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
204 <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
205 before automatically restore the default connection. Set -1 if the connection
206 does not require auto-restore. -->
207 <!-- the 6th element indicates boot-time dependency-met value. -->
208 <string-array translatable="false" name="networkAttributes">
209 <item>"wifi,1,1,1,-1,true"</item>
210 <item>"mobile,0,0,0,-1,true"</item>
211 <item>"mobile_mms,2,0,4,60000,true"</item>
212 <item>"mobile_supl,3,0,2,60000,true"</item>
213 <item>"mobile_dun,4,0,2,60000,true"</item>
214 <item>"mobile_hipri,5,0,3,60000,true"</item>
215 <item>"mobile_fota,10,0,2,60000,true"</item>
216 <item>"mobile_ims,11,0,2,60000,true"</item>
217 <item>"mobile_cbs,12,0,2,60000,true"</item>
218 <item>"bluetooth,7,7,2,-1,true"</item>
219 <item>"mobile_emergency,15,0,5,-1,true"</item>
220 </string-array>
221
222 <!-- This string array should be overridden by the device to present a list of radio
223 attributes. This is used by the connectivity manager to decide which networks can coexist
224 based on the hardware -->
225 <!-- An Array of "[ConnectivityManager connectionType],
226 [# simultaneous connection types]" -->
227 <string-array translatable="false" name="radioAttributes">
228 <item>"1,1"</item>
229 <item>"0,1"</item>
230 <item>"7,1"</item>
231 </string-array>
232
233 <!-- Boolean indicating if restoring network selection should be skipped -->
234 <!-- The restoring is handled by modem if it is true-->
235 <bool translatable="false" name="skip_restoring_network_selection">true</bool>
236
237 <!-- Is the device capable of hot swapping an ICC Card -->
238 <bool name="config_hotswapCapable">true</bool>
239
240 <!-- MMS user agent string -->
241 <string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
242
243 <!-- MMS user agent prolfile url -->
244 <string name="config_mms_user_agent_profile_url" translatable="false"
245 >http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
246
247 <!-- Configuration to restart radio upon PDP_DEACTIVATE with
248 error cause as Regular deactivation(36). -->
249 <!--
250 <bool name="config_radio_reset_on_regular_deactivation">false</bool>
251 -->
252 <!-- Flag indicating if the speed up audio on mt call code should be executed -->
253 <bool name="config_speed_up_audio_on_mt_calls">true</bool>
254
255 <!-- Flag specifying whether VoLTE, VT and WFC is available on device -->
256 <bool name="config_device_volte_available">true</bool>
257 <bool name="config_device_vt_available">true</bool>
258 <bool name="config_device_wfc_ims_available">true</bool>
259
260 <!-- Flag specifying whether VoLTE & VT should be available for carrier: independent of
261 carrier provisioning. If false: hard disabled. If true: then depends on carrier
262 provisioning, availability etc -->
263 <bool name="config_carrier_volte_available">true</bool>
264
265 <!-- Configure mobile tcp buffer sizes in the form:
266 rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
267 If no value is found for the rat-name in use, the system default will be applied.
268 -->
269 <string-array name="config_mobile_tcp_buffers">
270 <item>"5gnr:2097152,6291456,16777216,512000,2097152,8388608"</item>
271 <item>"lte:2097152,4194304,8388608,262144,524288,1048576"</item>
272 <item>"lte_ca:4096,6291456,12582912,4096,1048576,2097152"</item>
273 <item>"umts:4094,87380,1220608,4096,16384,1220608"</item>
274 <item>"hspa:4094,87380,1220608,4096,16384,1220608"</item>
275 <item>"hsupa:4094,87380,1220608,4096,16384,1220608"</item>
276 <item>"hsdpa:4094,87380,1220608,4096,16384,1220608"</item>
277 <item>"hspap:4094,87380,1220608,4096,16384,1220608"</item>
278 <item>"edge:4093,26280,35040,4096,16384,35040"</item>
279 <item>"gprs:4092,8760,11680,4096,8760,11680"</item>
280 <item>"evdo:4094,87380,524288,4096,16384,262144"</item>
281 </string-array>
282
Bharath756d7dd2021-08-07 23:53:55 +0530283</resources>