| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| ** Copyright 2018, 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. |
| */ |
| --> |
| |
| <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> |
| |
| <!-- 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> |
| |
| <!-- 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> |
| |
| <!-- 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">2000</integer> |
| <integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer> |
| |
| <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> |
| <bool name="config_unplugTurnsOnScreen">true</bool> |
| |
| <!-- Enable Night display, which requires HWC 2.0. --> |
| <bool name="config_nightDisplayAvailable">true</bool> |
| |
| <!-- Boolean indicating whether display white balance is supported. --> |
| <bool name="config_displayWhiteBalanceAvailable">false</bool> |
| |
| <!-- List supported color modes. --> |
| <integer-array name="config_availableColorModes"> |
| <item>0</item> <!-- COLOR_MODE_NATURAL --> |
| <item>1</item> <!-- COLOR_MODE_BOOSTED --> |
| </integer-array> |
| |
| <!-- Color mode to use when accessibility transforms are enabled. This color mode must be |
| supported by the device, but not necessarily appear in config_availableColorModes. The |
| regularly selected color mode will be used if this value is negative. --> |
| <integer name="config_accessibilityColorMode">2</integer> |
| |
| <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently |
| in hardware. --> |
| <bool name="config_setColorTransformAccelerated">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> |
| |
| <!-- If device has a sensor that can wake-up the lock screen --> |
| <bool name="config_dozeWakeLockScreenSensorAvailable">true</bool> |
| |
| <!-- If device supports pickup/lift gesture --> |
| <bool name="config_dozePulsePickup">true</bool> |
| |
| <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. --> |
| <bool name="config_cellBroadcastAppLinks">true</bool> |
| |
| <!-- reference volume index for music stream to limit headphone volume and display warning --> |
| <integer name="config_safe_media_volume_index">7</integer> |
| |
| <!-- Whether Multiuser UI should be shown --> |
| <bool name="config_enableMultiUserUI">true</bool> |
| |
| <!-- Maximum number of supported users --> |
| <integer name="config_multiuserMaximumUsers">4</integer> |
| |
| <!-- Whether Hearing Aid profile is supported --> |
| <bool name="config_hearing_aid_profile_supported">true</bool> |
| |
| <!-- List of regexpressions describing the interface (if any) that represent tetherable |
| USB interfaces. If the device doesn't want to support tething over USB this should |
| be empty. An example would be "usb.*" --> |
| <string-array translatable="false" name="config_tether_usb_regexs"> |
| <item>"usb\\d"</item> |
| <item>"rndis\\d"</item> |
| </string-array> |
| |
| <!-- List of regexpressions describing the interface (if any) that represent tetherable |
| Wifi interfaces. If the device doesn't want to support tethering over Wifi this |
| should be empty. An example would be "softap.*" --> |
| <string-array translatable="false" name="config_tether_wifi_regexs"> |
| <item>"wlan\\d"</item> |
| </string-array> |
| |
| <!-- List of regexpressions describing the interface (if any) that represent tetherable |
| Wifi P2P interfaces. If the device doesn't want to support tethering over Wifi P2p this |
| should be empty. An example would be "p2p-p2p.*" --> |
| <string-array translatable="false" name="config_tether_wifi_p2p_regexs"> |
| <item>"p2p-p2p\\d-.*"</item> |
| </string-array> |
| |
| <!-- List of regexpressions describing the interface (if any) that represent tetherable |
| bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this |
| should be empty. --> |
| <string-array translatable="false" name="config_tether_bluetooth_regexs"> |
| <item>"bt-pan"</item> |
| </string-array> |
| |
| <!-- Boolean indicating if current platform supports HFP inband ringing --> |
| <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool> |
| |
| <bool translatable="false" name="config_tether_upstream_automatic">true</bool> |
| |
| <!-- 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,2,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>"mobile_ia,14,0,2,-1,true"</item> |
| <item>"bluetooth,7,7,2,-1,true"</item> |
| <item>"ethernet,9,9,9,-1,true"</item> |
| <item>"mobile_emergency,15,0,2,-1,true</item> |
| </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> |
| <item>"9,1"</item> |
| </string-array> |
| |
| <!-- If the hardware supports specially marking packets that caused a wakeup of the |
| main CPU, set this value to the mark used. --> |
| <integer name="config_networkWakeupPacketMark">0x80000000</integer> |
| |
| <!-- Mask to use when checking skb mark defined in config_networkWakeupPacketMark above. --> |
| <integer name="config_networkWakeupPacketMask">0x80000000</integer> |
| |
| <!-- Specifies whether to decouple the auto-suspend state of the device from the display on/off state. --> |
| <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool> |
| |
| <!-- Specifies whether to decouple the interactive state of the device from the display on/off state. --> |
| <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool> |
| |
| <!-- Is the device capable of hot swapping an UICC Card --> |
| <bool name="config_hotswapCapable">true</bool> |
| |
| <!-- Flag specifying whether VoLTE is availasble on device --> |
| <bool name="config_device_volte_available">true</bool> |
| |
| <!-- Flag specifying whether VoLTE is available on device --> |
| <bool name="config_device_vt_available">true</bool> |
| |
| <!-- Enable video pause workaround when enabling/disabling the camera. --> |
| <bool name="config_useVideoPauseWorkaround">true</bool> |
| |
| <!-- Flag specifying whether WFC over IMS is availasble on device --> |
| <bool name="config_device_wfc_ims_available">true</bool> |
| |
| <!-- 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"> |
| <item>umts:131072,262144,1452032,4096,16384,399360</item> |
| <item>hspa:131072,262144,2441216,4096,16384,399360</item> |
| <item>hsupa:131072,262144,2441216,4096,16384,399360</item> |
| <item>hsdpa:131072,262144,2441216,4096,16384,399360</item> |
| <item>hspap:131072,262144,2441216,4096,16384,399360</item> |
| <item>edge:16384,32768,131072,4096,16384,65536</item> |
| <item>gprs:4096,8192,24576,4096,8192,24576</item> |
| <item>1xrtt:16384,32768,131070,4096,16384,102400</item> |
| <item>evdo:131072,262144,1048576,4096,16384,524288</item> |
| <item>lte:524288,1048576,8388608,262144,524288,4194304</item> |
| </string-array> |
| |
| <!-- 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> |
| |
| <!-- Number of physical SIM slots on the device. This includes both eSIM and pSIM slots, and |
| is not necessarily the same as the number of phones/logical modems supported by the device. |
| For example, a multi-sim device can have 2 phones/logical modems, but 3 physical slots, |
| or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM |
| and one pSIM) --> |
| <integer name="config_num_physical_slots">2</integer> |
| |
| <!-- Disables compatibility WAL mode. |
| In this mode, only database journal mode will be changed, connection pool |
| size will still be limited to a single connection. --> |
| <bool name="db_compatibility_wal_supported">false</bool> |
| |
| <!-- Use ERI text for network name on CDMA LTE --> |
| <bool name="config_LTE_eri_for_network_name">false</bool> |
| |
| <!-- True if Unprocessed audio source supports the required frequency range and level --> |
| <bool name="config_supportAudioSourceUnprocessed">true</bool> |
| |
| <!-- An array of device capabilities defined by GSMA SGP.22 v2.0, and their corresponding major |
| version. --> |
| <string-array translatable="false" name="config_telephonyEuiccDeviceCapabilities"> |
| <item>"gsm,11"</item> |
| <item>"utran,11"</item> |
| <item>"cdma1x,1"</item> |
| <item>"hrpd,3"</item> |
| <item>"ehrpd,12"</item> |
| <item>"eutran,11"</item> |
| </string-array> |
| |
| <!-- Whether the new Auto Selection Network UI should be shown --> |
| <bool name="config_enableNewAutoSelectNetworkUI">true</bool> |
| |
| <string name="config_wlan_data_service_package">vendor.qti.iwlan</string> |
| <string name="config_wlan_network_service_package">vendor.qti.iwlan</string> |
| <string name="config_qualified_networks_service_package">vendor.qti.iwlan</string> |
| |
| <!-- Enables or disables haptic effect when the text insertion/selection handle is moved |
| manually by the user. Off by default, since the expected haptic feedback may not be |
| available on some devices. --> |
| <bool name="config_enableHapticTextHandle">true</bool> |
| <!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. --> |
| <bool name="config_zramWriteback">true</bool> |
| </resources> |