blob: ba8065633c11e73e54f81f007810cc80b6194ca1 [file] [log] [blame]
Vivekbalachandar M7af3d832020-02-12 15:56:09 +05301<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2013, 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<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
21 <!-- Hardware keys present on the device, stored as a bit field.
22 This integer should equal the sum of the corresponding value for each
23 of the following keys present:
24 1 - Home
25 2 - Back
26 4 - Menu
27 8 - Assistant (search)
28 16 - App switch
29 32 - Camera
30 64 - Volume rocker
31 For example, a device with Home, Back and Menu keys would set this
32 config to 7. -->
33<!-- <integer name="config_deviceHardwareKeys">96</integer> -->
34
35 <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
36 autodetected from the Configuration. -->
37 <bool name="config_showNavigationBar">true</bool>
38
39 <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
40 <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
41
42 <!-- Boolean indicating whether the wifi chipset has background scan support -->
43 <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
44
45 <!-- Wifi driver supports batched scan -->
46 <bool translatable="false" name="config_wifi_batched_scan_supported">true</bool>
47
48 <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
49 Software implementation will be used if config_hardware_auto_brightness_available is not set -->
50 <bool name="config_automatic_brightness_available">true</bool>
51
52 <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
53 The N entries of this array define N 1 zones as follows:
54
55 Zone 0: 0 <= LUX < array[0]
56 Zone 1: array[0] <= LUX < array[1]
57 ...
58 Zone N: array[N - 1] <= LUX < array[N]
59 Zone N + 1 array[N] <= LUX < infinity
60
61 Must be overridden in platform specific overlays -->
62 <integer-array name="config_autoBrightnessLevels">
63 <item>5</item>
64 <item>15</item>
65 <item>50</item>
66 <item>100</item>
67 <item>200</item>
68 <item>400</item>
69 <item>1000</item>
70 <item>2000</item>
71 <item>3000</item>
72 <item>5000</item>
73 <item>10000</item>
74 <item>30000</item>
75 </integer-array>
76
77 <!-- Array of output values for LCD backlight corresponding to the LUX values
78 in the config_autoBrightnessLevels array. This array should have size one greater
79 than the size of the config_autoBrightnessLevels array.
80 This must be overridden in platform specific overlays -->
81 <integer-array name="config_autoBrightnessLcdBacklightValues">
82 <item>11</item> <!-- 0-5 -->
83 <item>18</item> <!-- 5-15 -->
84 <item>27</item> <!-- 15-50 -->
85 <item>38</item> <!-- 50-100 -->
86 <item>48</item> <!-- 100-200 -->
87 <item>55</item> <!-- 200-400 -->
88 <item>64</item> <!-- 400-1000 -->
89 <item>74</item> <!-- 1000-2000 -->
90 <item>120</item> <!-- 2000-3000 -->
91 <item>164</item> <!-- 3000-5000 -->
chrmhoffmann53610a92019-04-14 12:09:33 +020092 <item>225</item> <!-- 5000-10000 -->
93 <item>255</item> <!-- 10000-30000 -->
Vivekbalachandar M7af3d832020-02-12 15:56:09 +053094 <item>255</item> <!-- 30000+ -->
95 </integer-array>
96
97 <!-- This string array should be overridden by the device to present a list of network
98 attributes. This is used by the connectivity manager to decide which networks can coexist
99 based on the hardware -->
100 <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
101 [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
102 <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
103 before automatically restore the default connection. Set -1 if the connection
104 does not require auto-restore. -->
105 <!-- the 6th element indicates boot-time dependency-met value. -->
106 <string-array translatable="false" name="networkAttributes">
107 <item>"wifi,1,1,1,-1,true"</item>
108 <item>"mobile,0,0,0,-1,true"</item>
109 <item>"mobile_mms,2,0,4,60000,true"</item>
110 <item>"mobile_supl,3,0,2,60000,true"</item>
111 <item>"mobile_dun,4,0,2,60000,true"</item>
112 <item>"mobile_hipri,5,0,3,60000,true"</item>
113 <item>"mobile_fota,10,0,2,60000,true"</item>
114 <item>"mobile_ims,11,0,2,60000,true"</item>
115 <item>"mobile_cbs,12,0,2,60000,true"</item>
116 <item>"mobile_ia,14,0,2,-1,true"</item>
117 <item>"bluetooth,7,7,2,-1,true"</item>
118 <item>"ethernet,9,9,9,-1,true"</item>
119 </string-array>
120
121 <!-- This string array should be overridden by the device to present a list of radio
122 attributes. This is used by the connectivity manager to decide which networks can coexist
123 based on the hardware -->
124 <!-- An Array of "[ConnectivityManager connectionType],
125 [# simultaneous connection types]" -->
126 <string-array translatable="false" name="radioAttributes">
127 <item>"1,1"</item>
128 <item>"0,1"</item>
129 <item>"7,1"</item>
130 </string-array>
131
132 <!-- List of regexpressions describing the interface (if any) that represent tetherable
133 USB interfaces. If the device doesn't want to support tething over USB this should
134 be empty. An example would be "usb.*" -->
135 <string-array translatable="false" name="config_tether_usb_regexs">
136 <item>"usb\\d"</item>
137 <item>"rndis\\d"</item>
138 </string-array>
139
140 <!-- List of regexpressions describing the interface (if any) that represent tetherable
141 Wifi interfaces. If the device doesn't want to support tethering over Wifi this
142 should be empty. An example would be "softap.*" -->
143 <string-array translatable="false" name="config_tether_wifi_regexs">
144 <item>"wlan0"</item>
145 </string-array>
146
147 <!-- List of regexpressions describing the interface (if any) that represent tetherable
148 bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
149 should be empty. -->
150 <string-array translatable="false" name="config_tether_bluetooth_regexs">
151 <item>"bnep\\d"</item>
152 <item>"bt-pan"</item>
153 </string-array>
154
155 <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
156 <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
157 <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
158 <integer-array translatable="false" name="config_tether_upstream_types">
159 <item>0</item>
160 <item>1</item>
161 <item>4</item>
162 <item>5</item>
163 <item>7</item>
164 </integer-array>
165
166 <!-- Boolean indicddating if restoring network selection should be skipped -->
167 <!-- The restoring is handled by modem if it is true -->
168 <bool translatable="false" name="skip_restoring_network_selection">true</bool>
169
170 <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
171 <bool name="config_unplugTurnsOnScreen">true</bool>
172
173 <bool name="config_enableWifiDisplay">true</bool>
174
175 <!-- Set to true if the wifi display supports compositing content stored
176 in gralloc protected buffers. For this to be true, there must exist
177 a protected hardware path for surface flinger to composite and send
178 protected buffers to the wifi display video encoder.
179
180 If this flag is false, we advise applications not to use protected
181 buffers (if possible) when presenting content to a wifi display because
182 the content may be blanked.
183
184 This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
185 flag is set for wifi displays.
186 -->
187 <bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
188
189 <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
190 <bool name="config_intrusiveNotificationLed">true</bool>
191
192 <!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
193<!-- <bool name="config_intrusiveBatteryLed">true</bool> -->
194
195 <!-- Setting this true forces the headset jack switches to use the/dev/input/event subsystem
196 rather than the uevent framework. -->
197 <bool name="config_useDevInputEventForAudioJack">true</bool>
198
199 <!-- Indicate whether to allow the device to suspend when the screen is off
200 due to the proximity sensor. This resource should only be set to true
201 if the sensor HAL correctly handles the proximity sensor as a wake-up source.
202 Otherwise, the device may fail to wake out of suspend reliably.
203 The default is false. -->
204 <bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
205
206 <!-- Maximum number of supported users -->
207 <integer name="config_multiuserMaximumUsers">4</integer>
208 <!-- Whether Multiuser UI should be shown -->
209 <bool name="config_enableMultiUserUI">true</bool>
210
211 <string-array name="config_mobile_tcp_buffers">
212 <item>"lte:2097152,4194304,8388608,262144,524288,1048576"</item>
213 <item>"lte_ca:2097152,4194304,8388608,262144,524288,1048576"</item>
214 <item>"umts:4094,87380,1220608,4096,16384,1220608"</item>
215 <item>"hspa:4094,87380,1220608,4096,16384,1220608"</item>
216 <item>"hsupa:4094,87380,1220608,4096,16384,1220608"</item>
217 <item>"hsdpa:4094,87380,2441216,4096,16384,2441216"</item>
218 <item>"hspap:4094,87380,1220608,4096,16384,1220608"</item>
219 <item>"edge:4093,26280,35040,4096,16384,35040"</item>
220 <item>"gprs:4092,8760,11680,4096,8760,11680"</item>
221 <item>"evdo:4094,87380,1048576,4096,16384,262144"</item>
222 <item>"ehrpd:4094,87380,1048576,4096,16384,262144"</item>
223 </string-array>
224
225 <!-- Doze mode -->
226 <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
227 <integer name="config_screenBrightnessDoze">5</integer>
228 <bool name="config_dozeAfterScreenOff">true</bool>
229 <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
230
231 <!-- Enable doze powersaving -->
232 <bool name="config_enableAutoPowerModes">true</bool>
233
234 <!-- Control whether Night display is available. This should only be enabled on devices
235 with HWC 2.0 or higher. -->
236 <bool name="config_nightDisplayAvailable">true</bool>
237
238 <!-- Configure wifi tcp buffersizes in the form:
239 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
240 <string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,4194304,262144,524288,1048576</string>
241
242 <!-- Operating voltage for bluetooth controller. 0 by default-->
243 <integer translatable="false" name="config_bluetooth_operating_voltage_mv">3700</integer>
244
245 <!-- Configuration to support SIM contact batch operation -->
246<!-- <bool name="config_sim_phonebook_batch_operation">false</bool> -->
247
248 <!-- The RadioAccessFamilies supported by the device.
249 Empty is viewed as "all". Only used on devices which
250 don't support RIL_REQUEST_GET_RADIO_CAPABILITY
251 format is UMTS|LTE|... -->
252 <string name="config_radio_access_family">GPRS|EDGE|UMTS|HSDPA|HSUPA|HSPA|LTE|HSPAP|GSM|TD_SCDMA|WCDMA|LTE_CA</string>
253
254 <!-- Defines the default set of global actions. Actions may still be disabled or hidden based
255 on the current state of the device.
256 Each item must be one of the following strings:
257 "power" = Power off
258 "settings" = An action to launch settings
259 "airplane" = Airplane mode toggle
260 "bugreport" = Take bug report, if available
261 "silent" = silent mode
262 "users" = list of users
263 "restart" = restart device
264 -->
265 <string-array translatable="false" name="config_globalActionsList">
266 <item>power</item>
267 <item>restart</item>
268 </string-array>
269</resources>