1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17<resources> 18 <!-- This file defines Android telephony related resources --> 19 20 <!-- Configure tcp buffer sizes per network type in the form: 21 network-type:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max 22 23 The network-type must be a valid DataConfigNetworkType value. If no value is found for the 24 network-type in use, config_tcp_buffers will be used instead. 25 --> 26 <string-array name="config_network_type_tcp_buffers"> 27 </string-array> 28 <java-symbol type="array" name="config_network_type_tcp_buffers" /> 29 30 <!-- Configure tcp buffer sizes in the form: 31 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max 32 If this is configured as an empty string, the system default will be applied. 33 --> 34 <string name="config_tcp_buffers" translatable="false">2097152,6291456,16777216,512000,2097152,8388608</string> 35 <java-symbol type="string" name="config_tcp_buffers" /> 36 37 <!-- What source to use to estimate link upstream and downstream bandwidth capacities. 38 Default is bandwidth_estimator. 39 Values are bandwidth_estimator, carrier_config and modem. --> 40 <string name="config_bandwidthEstimateSource">bandwidth_estimator</string> 41 <java-symbol type="string" name="config_bandwidthEstimateSource" /> 42 43 <!-- Whether to adopt the predefined handover policies for IWLAN. 44 {@see CarrierConfigManager#KEY_IWLAN_HANDOVER_POLICY_STRING_ARRAY} 45 --> 46 <bool name="config_enable_iwlan_handover_policy">true</bool> 47 <java-symbol type="bool" name="config_enable_iwlan_handover_policy" /> 48 49 <!-- When a radio power off request is received, we will delay completing the request until 50 either IMS moves to the deregistered state or the timeout defined by this configuration 51 elapses. If 0, this feature is disabled and we do not delay radio power off requests.--> 52 <integer name="config_delay_for_ims_dereg_millis">0</integer> 53 <java-symbol type="integer" name="config_delay_for_ims_dereg_millis" /> 54 55 <!-- Define the bar of considering the availability of a subscription is stable in milliseconds, 56 where 0 means immediate switch, and negative milliseconds indicates the auto data switch 57 feature is disabled.--> 58 <integer name="auto_data_switch_availability_stability_time_threshold_millis">10000</integer> 59 <java-symbol type="integer" name="auto_data_switch_availability_stability_time_threshold_millis" /> 60 61 <!-- Define the maximum retry times when a validation for switching failed.--> 62 <integer name="auto_data_switch_validation_max_retry">7</integer> 63 <java-symbol type="integer" name="auto_data_switch_validation_max_retry" /> 64 65 <!-- Boolean indicating whether ping test is required to pass on the target data SIM before the 66 device automatically switch to it. --> 67 <bool name="auto_data_switch_ping_test_before_switch">true</bool> 68 <java-symbol type="bool" name="auto_data_switch_ping_test_before_switch" /> 69 70 <!-- Define the tolerated gap of score for auto data switch decision, larger than which the 71 device will switch to the SIM with higher score. The score is used in conjunction with the 72 score table defined in 73 CarrierConfigManager#KEY_AUTO_DATA_SWITCH_RAT_SIGNAL_SCORE_STRING_ARRAY. 74 If 0, the device always switch to the higher score SIM. 75 If < 0, the network type and signal strength based auto switch is disabled. --> 76 <integer name="auto_data_switch_score_tolerance">3000</integer> 77 <java-symbol type="integer" name="auto_data_switch_score_tolerance" /> 78 79 <!-- Boolean indicating whether the Iwlan data service supports persistence of iwlan ipsec 80 tunnels across service restart. If iwlan tunnels are not persisted across restart, 81 Framework will clean up dangling data connections when service restarts --> 82 <bool name="config_wlan_data_service_conn_persistence_on_restart">true</bool> 83 <java-symbol type="bool" name="config_wlan_data_service_conn_persistence_on_restart" /> 84 85 <!-- Indicating whether the retry timer from setup data call response for data throttling should 86 be honored for emergency network request. By default this is off, meaning for emergency 87 network requests, the data frameworks will ignore the previous retry timer passed in from 88 setup data call response. --> 89 <bool name="config_honor_data_retry_timer_for_emergency_network">false</bool> 90 <java-symbol type="bool" name="config_honor_data_retry_timer_for_emergency_network" /> 91 92 <!-- Cellular data service package name to bind to by default. If none is specified in an 93 overlay, an empty string is passed in --> 94 <string name="config_wwan_data_service_package" translatable="false">com.android.phone</string> 95 <java-symbol type="string" name="config_wwan_data_service_package" /> 96 97 <!-- IWLAN data service package name to bind to by default. If none is specified in an overlay, 98 an empty string is passed in --> 99 <string name="config_wlan_data_service_package" translatable="false"></string> 100 <java-symbol type="string" name="config_wlan_data_service_package" /> 101 102 <!-- Cellular data service class name to bind to by default. If none is specified in an overlay, 103 an empty string is passed in --> 104 <string name="config_wwan_data_service_class" translatable="false"></string> 105 <java-symbol type="string" name="config_wwan_data_service_class" /> 106 107 <!-- IWLAN data service class name to bind to by default. If none is specified in an overlay, an 108 empty string is passed in --> 109 <string name="config_wlan_data_service_class" translatable="false"></string> 110 <java-symbol type="string" name="config_wlan_data_service_class" /> 111 112 <!-- Cellular network service package name to bind to by default. --> 113 <string name="config_wwan_network_service_package" translatable="false"> 114 com.android.phone 115 </string> 116 <java-symbol type="string" name="config_wwan_network_service_package" /> 117 118 <!-- Cellular network service class name to bind to by default.--> 119 <string name="config_wwan_network_service_class" translatable="false"></string> 120 <java-symbol type="string" name="config_wwan_network_service_class" /> 121 122 <!-- IWLAN network service package name to bind to by default. If none is specified in an 123 overlay, an empty string is passed in --> 124 <string name="config_wlan_network_service_package" translatable="false"></string> 125 <java-symbol type="string" name="config_wlan_network_service_package" /> 126 127 <!-- IWLAN network service class name to bind to by default. If none is specified in an overlay, 128 an empty string is passed in --> 129 <string name="config_wlan_network_service_class" translatable="false"></string> 130 <java-symbol type="string" name="config_wlan_network_service_class" /> 131 132 <!-- Telephony qualified networks service package name to bind to by default. --> 133 <string name="config_qualified_networks_service_package" translatable="false"></string> 134 <java-symbol type="string" name="config_qualified_networks_service_package" /> 135 136 <!-- Telephony qualified networks service class name to bind to by default. --> 137 <string name="config_qualified_networks_service_class" translatable="false"></string> 138 <java-symbol type="string" name="config_qualified_networks_service_class" /> 139 140 <!-- Telephony satellite service package name to bind to by default. --> 141 <string name="config_satellite_service_package" translatable="false"></string> 142 <java-symbol type="string" name="config_satellite_service_package" /> 143 144 <!-- Telephony satellite gateway service package name to bind to by default. --> 145 <string name="config_satellite_gateway_service_package" translatable="false"></string> 146 <java-symbol type="string" name="config_satellite_gateway_service_package" /> 147 148 <!-- Telephony pointing UI package name to be launched. --> 149 <string name="config_pointing_ui_package" translatable="false"></string> 150 <java-symbol type="string" name="config_pointing_ui_package" /> 151 152 <!-- Telephony pointing UI class name to be launched. --> 153 <string name="config_pointing_ui_class" translatable="false"></string> 154 <java-symbol type="string" name="config_pointing_ui_class" /> 155 156 <!-- Telephony resends received satellite datagram to listener 157 if ack is not received within this timeout --> 158 <integer name="config_timeout_to_receive_delivered_ack_millis">300000</integer> 159 <java-symbol type="integer" name="config_timeout_to_receive_delivered_ack_millis" /> 160 161 <!-- Telephony config for services supported by satellite providers. The format of each config 162 string in the array is as follows: "PLMN_1:service_1,service_2,..." 163 where PLMN is the satellite PLMN of a provider and service is an integer with the 164 following value: 165 1 = {@link android.telephony.NetworkRegistrationInfo#SERVICE_TYPE_VOICE} 166 2 = {@link android.telephony.NetworkRegistrationInfo#SERVICE_TYPE_DATA} 167 3 = {@link android.telephony.NetworkRegistrationInfo#SERVICE_TYPE_SMS} 168 4 = {@link android.telephony.NetworkRegistrationInfo#SERVICE_TYPE_VIDEO} 169 5 = {@link android.telephony.NetworkRegistrationInfo#SERVICE_TYPE_EMERGENCY} 170 Example of a config string: "10011:2,3" 171 172 The PLMNs not configured in this array will be ignored and will not be used for satellite 173 scanning. --> 174 <string-array name="config_satellite_services_supported_by_providers" translatable="false"> 175 </string-array> 176 <java-symbol type="array" name="config_satellite_services_supported_by_providers" /> 177 178 <!-- Whether enhanced IWLAN handover check is enabled. If enabled, telephony frameworks 179 will not perform handover if the target transport is out of service, or VoPS not 180 supported. The network will be torn down on the source transport, and will be 181 re-established on the target transport when condition is allowed for bringing up a 182 new network. --> 183 <bool name="config_enhanced_iwlan_handover_check">true</bool> 184 <java-symbol type="bool" name="config_enhanced_iwlan_handover_check" /> 185 186 <!-- Whether asynchronously update the subscription database or not. Async mode increases 187 the performance, but sync mode reduces the chance of database/cache out-of-sync. --> 188 <bool name="config_subscription_database_async_update">true</bool> 189 <java-symbol type="bool" name="config_subscription_database_async_update" /> 190 191 <!-- Boolean indicating whether the emergency numbers for a country, sourced from modem/config, 192 should be ignored if that country is 'locked' (i.e. ignore_modem_config set to true) in 193 Android Emergency DB. If this value is true, emergency numbers for a country, sourced from 194 modem/config, will be ignored if that country is 'locked' in Android Emergency DB. --> 195 <bool name="ignore_modem_config_emergency_numbers">false</bool> 196 <java-symbol type="bool" name="ignore_modem_config_emergency_numbers" /> 197 198 <!-- Boolean indicating whether emergency numbers routing from the android emergency number 199 database should be ignored (i.e. routing will always be set to UNKNOWN). If this value is 200 true, routing from the android emergency number database will be ignored. --> 201 <bool name="ignore_emergency_number_routing_from_db">false</bool> 202 <java-symbol type="bool" name="ignore_emergency_number_routing_from_db" /> 203 204 <!-- Boolean indicating whether allow sending null to modem to clear the previous initial attach 205 data profile --> 206 <bool name="allow_clear_initial_attach_data_profile">false</bool> 207 <java-symbol type="bool" name="allow_clear_initial_attach_data_profile" /> 208 209</resources> 210