config.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2024 The LineageOS Project
  4. SPDX-License-Identifier: Apache-2.0
  5. -->
  6. <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
  7. <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
  8. <bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
  9. <!-- NOTE: The telephony module is no longer reading the configuration below for available
  10. APN types. The set of APN types and relevant settings are specified within the telephony
  11. module and are non-configurable. Whether or not data connectivity over a cellular network
  12. is available at all is controlled by the flag: config_moble_data_capable. -->
  13. <string-array name="networkAttributes" translatable="false">
  14. <item>wifi,1,1,1,-1,true</item>
  15. <item>mobile,0,0,0,-1,true</item>
  16. <item>mobile_mms,2,0,4,60000,true</item>
  17. <item>mobile_supl,3,0,2,60000,true</item>
  18. <item>mobile_dun,4,0,2,60000,true</item>
  19. <item>mobile_hipri,5,0,3,60000,true</item>
  20. <item>mobile_fota,10,0,2,60000,true</item>
  21. <item>mobile_ims,11,0,2,60000,true</item>
  22. <item>mobile_cbs,12,0,2,60000,true</item>
  23. <item>bluetooth,7,7,2,-1,true</item>
  24. <item>mobile_emergency,15,0,5,-1,true</item>
  25. <item>ethernet,9,9,9,-1,true</item>
  26. </string-array>
  27. <!-- An Array of "[ConnectivityManager connectionType],
  28. [# simultaneous connection types]" -->
  29. <string-array name="radioAttributes" translatable="false">
  30. <item>1,1</item>
  31. <item>0,1</item>
  32. <item>7,1</item>
  33. </string-array>
  34. <!-- This setting is deprecated, please use
  35. com.android.networkstack.tethering.R.array.config_tether_usb_regexs instead. -->
  36. <string-array name="config_tether_usb_regexs" translatable="false">
  37. <item>usb\\d</item>
  38. <item>rndis\\d</item>
  39. </string-array>
  40. <!-- This setting is deprecated, please use
  41. com.android.networkstack.tethering.R.array.config_tether_wifi_regexs instead. -->
  42. <string-array name="config_tether_wifi_regexs" translatable="false">
  43. <item>softap0</item>
  44. <item>wlan0</item>
  45. </string-array>
  46. <!-- This setting is deprecated, please use
  47. com.android.networkstack.tethering.R.array.config_tether_bluetooth_regexs instead. -->
  48. <string-array name="config_tether_bluetooth_regexs" translatable="false">
  49. <item>bnep\\d</item>
  50. <item>bt-pan</item>
  51. </string-array>
  52. <!-- This setting is deprecated, please use
  53. com.android.networkstack.tethering.R.array.config_dhcp_range instead. -->
  54. <string-array name="config_tether_dhcp_range" translatable="false">
  55. <item>192.168.42.2</item>
  56. <item>192.168.42.254</item>
  57. <item>192.168.43.2</item>
  58. <item>192.168.43.254</item>
  59. <item>192.168.44.2</item>
  60. <item>192.168.44.254</item>
  61. <item>192.168.45.2</item>
  62. <item>192.168.45.254</item>
  63. <item>192.168.46.2</item>
  64. <item>192.168.46.254</item>
  65. <item>192.168.47.2</item>
  66. <item>192.168.47.254</item>
  67. <item>192.168.48.2</item>
  68. <item>192.168.48.254</item>
  69. <item>192.168.49.2</item>
  70. <item>192.168.49.254</item>
  71. <item>192.168.50.2</item>
  72. <item>192.168.50.254</item>
  73. <item>192.168.51.2</item>
  74. <item>192.168.51.254</item>
  75. </string-array>
  76. <!-- This setting is deprecated, please use
  77. com.android.networkstack.tethering.R.array.config_tether_upstream_types. -->
  78. <integer-array name="config_tether_upstream_types" translatable="false">
  79. <item>0</item>
  80. <item>1</item>
  81. <item>5</item>
  82. <item>7</item>
  83. </integer-array>
  84. <!-- Flag indicating whether we should enable the automatic brightness.
  85. Software implementation will be used if config_hardware_auto_brightness_available is not set -->
  86. <bool name="config_automatic_brightness_available">true</bool>
  87. <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
  88. <bool name="config_unplugTurnsOnScreen">true</bool>
  89. <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
  90. in hardware. -->
  91. <bool name="config_setColorTransformAccelerated">true</bool>
  92. <!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
  93. <integer-array name="config_availableColorModes">
  94. <item>0</item>
  95. <item>1</item>
  96. <item>3</item>
  97. <item>256</item>
  98. <item>257</item>
  99. <item>258</item>
  100. <item>259</item>
  101. <item>260</item>
  102. <item>261</item>
  103. <item>262</item>
  104. <item>263</item>
  105. <item>264</item>
  106. <item>265</item>
  107. </integer-array>
  108. <!-- Is the device capable of hot swapping an UICC Card -->
  109. <bool name="config_hotswapCapable">true</bool>
  110. <!-- Screen brightness used to dim the screen while dozing in a very low power state.
  111. May be less than the minimum allowed brightness setting
  112. that can be set by the user. -->
  113. <integer name="config_screenBrightnessDoze">17</integer>
  114. <!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
  115. The N entries of this array define N + 1 control points as follows:
  116. (1-based arrays)
  117. Point 1: (0, value[1]): lux <= 0
  118. Point 2: (level[1], value[2]): 0 < lux <= level[1]
  119. Point 3: (level[2], value[3]): level[2] < lux <= level[3]
  120. ...
  121. Point N+1: (level[N], value[N+1]): level[N] < lux
  122. The control points must be strictly increasing. Each control point
  123. corresponds to an entry in the brightness backlight values arrays.
  124. For example, if lux == level[1] (first element of the levels array)
  125. then the brightness will be determined by value[2] (second element
  126. of the brightness values array).
  127. Spline interpolation is used to determine the auto-brightness
  128. backlight values for lux levels between these control points.
  129. Must be overridden in platform specific overlays -->
  130. <integer-array name="config_autoBrightnessLevels">
  131. <item>10</item>
  132. <item>30</item>
  133. <item>60</item>
  134. <item>100</item>
  135. <item>150</item>
  136. <item>210</item>
  137. <item>255</item>
  138. </integer-array>
  139. <!-- Array of output values for LCD backlight corresponding to the lux values
  140. in the config_autoBrightnessLevels array. This array should have size one greater
  141. than the size of the config_autoBrightnessLevels array.
  142. The brightness values must be between 0 and 255 and be non-decreasing.
  143. This must be overridden in platform specific overlays -->
  144. <integer-array name="config_autoBrightnessLcdBacklightValues">
  145. <item>10</item>
  146. <item>20</item>
  147. <item>40</item>
  148. <item>70</item>
  149. <item>110</item>
  150. <item>160</item>
  151. <item>200</item>
  152. <item>255</item>
  153. </integer-array>
  154. <!-- The restoring is handled by modem if it is true-->
  155. <bool name="skip_restoring_network_selection" translatable="false">true</bool>
  156. <!-- MMS user agent string -->
  157. <string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
  158. <!-- MMS user agent prolfile url -->
  159. <string name="config_mms_user_agent_profile_url" translatable="false">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
  160. <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
  161. autodetected from the Configuration. -->
  162. <bool name="config_showNavigationBar">true</bool>
  163. <!-- ComponentName of a dream to show whenever the system would otherwise have
  164. gone to sleep. When the PowerManager is asked to go to sleep, it will instead
  165. try to start this dream if possible. The dream should typically call startDozing()
  166. to put the display into a low power state and allow the application processor
  167. to be suspended. When the dream ends, the system will go to sleep as usual.
  168. Specify the component name or an empty string if none.
  169. Note that doze dreams are not subject to the same start conditions as ordinary dreams.
  170. Doze dreams will run whenever the power manager is in a dozing state. -->
  171. <string name="config_dozeComponent" translatable="false">com.android.systemui/com.android.systemui.doze.DozeService</string>
  172. <!-- Power Management: Specifies whether to decouple the interactive state of the
  173. device from the display on/off state.
  174. When false, setInteractive(..., true) will be called before the display is turned on
  175. and setInteractive(..., false) will be called after the display is turned off.
  176. This mode provides best compatibility for devices that expect the interactive
  177. state to be tied to the display state.
  178. When true, setInteractive(...) will be called independently of whether the display
  179. is being turned on or off. This mode enables the power manager to reduce
  180. clocks and disable the touch controller while the display is on.
  181. This resource should be set to "true" when a doze component has been specified
  182. to maximize power savings but not all devices support it.
  183. Refer to power.h for details.
  184. -->
  185. <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
  186. <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
  187. <bool name="config_cellBroadcastAppLinks">true</bool>
  188. <!-- Maximum number of supported users -->
  189. <integer name="config_multiuserMaximumUsers">4</integer>
  190. <!-- Whether UI for multi user should be shown -->
  191. <bool name="config_enableMultiUserUI">true</bool>
  192. <!-- Configure mobile tcp buffer sizes in the form:
  193. rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
  194. If no value is found for the rat-name in use, the system default will be applied.
  195. This is deprecated. Please use config_mobile_tcp_buffers for rat-based TCP buffers sizes or
  196. config_tcp_buffers for rat-independent TCP buffer sizes.
  197. -->
  198. <string-array name="config_mobile_tcp_buffers">
  199. <item>5gnr:2097152,6291456,16777216,512000,2097152,8388608</item>
  200. <item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
  201. <item>lte_ca:4096,6291456,12582912,4096,1048576,2097152</item>
  202. <item>umts:4094,87380,1220608,4096,16384,1220608</item>
  203. <item>hspa:4094,87380,1220608,4096,16384,1220608</item>
  204. <item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
  205. <item>hsdpa:4094,87380,1220608,4096,16384,1220608</item>
  206. <item>hspap:4094,87380,1220608,4096,16384,1220608</item>
  207. <item>edge:4093,26280,35040,4096,16384,35040</item>
  208. <item>gprs:4092,8760,11680,4096,8760,11680</item>
  209. <item>evdo:4094,87380,524288,4096,16384,262144</item>
  210. </string-array>
  211. <!-- Set to true if the wifi display supports compositing content stored
  212. in gralloc protected buffers. For this to be true, there must exist
  213. a protected hardware path for surface flinger to composite and send
  214. protected buffers to the wifi display video encoder.
  215. If this flag is false, we advise applications not to use protected
  216. buffers (if possible) when presenting content to a wifi display because
  217. the content may be blanked.
  218. This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
  219. flag is set for wifi displays.
  220. -->
  221. <bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
  222. <!-- Whether camera shutter sound is forced or not (country specific). -->
  223. <bool name="config_camera_sound_forced">false</bool>
  224. <!-- Flag indicating if the speed up audio on mt call code should be executed -->
  225. <bool name="config_speed_up_audio_on_mt_calls">true</bool>
  226. <!-- set to false if we need to show user confirmation
  227. when alpha identifier is not provided by the UICC -->
  228. <bool name="config_stkNoAlphaUsrCnf">false</bool>
  229. <!-- Flag indicating which package name can access the persistent data partition -->
  230. <string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
  231. <!-- Flag specifying whether VoLTE is available on device -->
  232. <bool name="config_device_volte_available">true</bool>
  233. <!-- Flag specifying whether VoLTE should be available for carrier: independent of
  234. carrier provisioning. If false: hard disabled. If true: then depends on carrier
  235. provisioning, availability etc -->
  236. <bool name="config_carrier_volte_available">true</bool>
  237. <!-- Flag specifying whether VT is available on device -->
  238. <bool name="config_device_vt_available">true</bool>
  239. <!-- Flag specifying whether WFC over IMS is available on device -->
  240. <bool name="config_device_wfc_ims_available">true</bool>
  241. <!-- Config determines whether to update phone object when voice registration
  242. state changes. Voice radio tech change will always trigger an update of
  243. phone object irrespective of this config -->
  244. <bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
  245. <!-- Whether the Unprocessed audio source supports the required frequency range and level -->
  246. <bool name="config_supportAudioSourceUnprocessed">true</bool>
  247. <!-- The default refresh rate for a given device. Change this value to set a higher default
  248. refresh rate. If the hardware composer on the device supports display modes with a higher
  249. refresh rate than the default value specified here, the framework may use those higher
  250. refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
  251. setFrameRate().
  252. If a non-zero value is set for config_defaultPeakRefreshRate, then
  253. config_defaultRefreshRate may be set to 0, in which case the value set for
  254. config_defaultPeakRefreshRate will act as the default frame rate. -->
  255. <integer name="config_defaultRefreshRate">0</integer>
  256. <!-- The default peak refresh rate for a given device. Change this value if you want to prevent
  257. the framework from using higher refresh rates, even if display modes with higher refresh
  258. rates are available from hardware composer. Only has an effect if the value is
  259. non-zero. -->
  260. <integer name="config_defaultPeakRefreshRate">240</integer>
  261. <!-- Whether to select voice/data/sms preference without user confirmation -->
  262. <bool name="config_voice_data_sms_auto_fallback">true</bool>
  263. </resources>