1 /* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.telephony; 18 19 import android.Manifest; 20 import android.annotation.NonNull; 21 import android.annotation.Nullable; 22 import android.annotation.RequiresPermission; 23 import android.annotation.SuppressLint; 24 import android.annotation.SystemApi; 25 import android.annotation.SystemService; 26 import android.annotation.TestApi; 27 import android.compat.annotation.UnsupportedAppUsage; 28 import android.content.ComponentName; 29 import android.content.Context; 30 import android.os.PersistableBundle; 31 import android.os.RemoteException; 32 import android.service.carrier.CarrierService; 33 import android.telecom.TelecomManager; 34 import android.telephony.ims.ImsReasonInfo; 35 36 import com.android.internal.telephony.ICarrierConfigLoader; 37 import com.android.telephony.Rlog; 38 39 import java.util.concurrent.TimeUnit; 40 41 /** 42 * Provides access to telephony configuration values that are carrier-specific. 43 */ 44 @SystemService(Context.CARRIER_CONFIG_SERVICE) 45 public class CarrierConfigManager { 46 private final static String TAG = "CarrierConfigManager"; 47 48 /** 49 * Extra included in {@link #ACTION_CARRIER_CONFIG_CHANGED} to indicate the slot index that the 50 * broadcast is for. 51 */ 52 public static final String EXTRA_SLOT_INDEX = "android.telephony.extra.SLOT_INDEX"; 53 54 /** 55 * Extra included in {@link #ACTION_CARRIER_CONFIG_CHANGED} to indicate whether this is a 56 * rebroadcast on unlock. Defaults to {@code false} if not specified. 57 * @hide 58 */ 59 public static final String EXTRA_REBROADCAST_ON_UNLOCK = 60 "android.telephony.extra.REBROADCAST_ON_UNLOCK"; 61 62 /** 63 * Optional extra included in {@link #ACTION_CARRIER_CONFIG_CHANGED} to indicate the 64 * subscription index that the broadcast is for, if a valid one is available. 65 */ 66 public static final String EXTRA_SUBSCRIPTION_INDEX = 67 SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX; 68 69 private final Context mContext; 70 71 /** 72 * @hide 73 */ CarrierConfigManager(Context context)74 public CarrierConfigManager(Context context) { 75 mContext = context; 76 } 77 78 /** 79 * This intent is broadcast by the system when carrier config changes. An int is specified in 80 * {@link #EXTRA_SLOT_INDEX} to indicate the slot index that this is for. An optional int extra 81 * {@link #EXTRA_SUBSCRIPTION_INDEX} is included to indicate the subscription index if a valid 82 * one is available for the slot index. An optional int extra 83 * {@link TelephonyManager#EXTRA_CARRIER_ID} is included to indicate the carrier id for the 84 * changed carrier configuration. An optional int extra 85 * {@link TelephonyManager#EXTRA_SPECIFIC_CARRIER_ID} is included to indicate the precise 86 * carrier id for the changed carrier configuration. 87 * @see TelephonyManager#getSimCarrierId() 88 * @see TelephonyManager#getSimSpecificCarrierId() 89 */ 90 public static final String 91 ACTION_CARRIER_CONFIG_CHANGED = "android.telephony.action.CARRIER_CONFIG_CHANGED"; 92 93 // Below are the keys used in carrier config bundles. To add a new variable, define the key and 94 // give it a default value in sDefaults. If you need to ship a per-network override in the 95 // system image, that can be added in packages/apps/CarrierConfig. 96 97 /** 98 * Specifies a value that identifies the version of the carrier configuration that is 99 * currently in use. This string is displayed on the UI. 100 * The format of the string is not specified. 101 */ 102 public static final String KEY_CARRIER_CONFIG_VERSION_STRING = 103 "carrier_config_version_string"; 104 105 /** 106 * This flag specifies whether VoLTE availability is based on provisioning. By default this is 107 * false. 108 */ 109 public static final String 110 KEY_CARRIER_VOLTE_PROVISIONED_BOOL = "carrier_volte_provisioned_bool"; 111 112 /** 113 * Boolean indicating the Supplementary Services(SS) is disable when airplane mode on in the 114 * Call Settings menu. 115 * {@code true}: SS is disable when airplane mode on. 116 * {@code false}: SS is enable when airplane mode on. 117 * The default value for this key is {@code false} 118 */ 119 public static final String KEY_DISABLE_SUPPLEMENTARY_SERVICES_IN_AIRPLANE_MODE_BOOL = 120 "disable_supplementary_services_in_airplane_mode_bool"; 121 122 /** 123 * Boolean indicating if the "Call forwarding" item is visible in the Call Settings menu. 124 * true means visible. false means gone. 125 * @hide 126 */ 127 public static final String KEY_CALL_FORWARDING_VISIBILITY_BOOL = 128 "call_forwarding_visibility_bool"; 129 130 /** 131 * Boolean indicating if carrier supports call forwarding option "When unreachable". 132 * 133 * {@code true}: Call forwarding option "When unreachable" is supported. 134 * {@code false}: Call forwarding option "When unreachable" is not supported. Option will be 135 * removed in the UI. 136 * 137 * By default this value is true. 138 * @hide 139 */ 140 public static final String KEY_CALL_FORWARDING_WHEN_UNREACHABLE_SUPPORTED_BOOL = 141 "call_forwarding_when_unreachable_supported_bool"; 142 143 /** 144 * Boolean indicating if carrier supports call forwarding option "When unanswered". 145 * 146 * {@code true}: Call forwarding option "When unanswered" is supported. 147 * {@code false}: Call forwarding option "When unanswered" is not supported. Option will be 148 * removed in the UI. 149 * 150 * By default this value is true. 151 * @hide 152 */ 153 public static final String KEY_CALL_FORWARDING_WHEN_UNANSWERED_SUPPORTED_BOOL = 154 "call_forwarding_when_unanswered_supported_bool"; 155 156 /** 157 * Boolean indicating if carrier supports call forwarding option "When busy". 158 * 159 * {@code true}: Call forwarding option "When busy" is supported. 160 * {@code false}: Call forwarding option "When busy" is not supported. Option will be 161 * removed in the UI. 162 * 163 * By default this value is true. 164 * @hide 165 */ 166 public static final String KEY_CALL_FORWARDING_WHEN_BUSY_SUPPORTED_BOOL = 167 "call_forwarding_when_busy_supported_bool"; 168 169 /** 170 * Boolean indicating if the "Caller ID" item is visible in the Additional Settings menu. 171 * true means visible. false means gone. 172 * @hide 173 */ 174 public static final String KEY_ADDITIONAL_SETTINGS_CALLER_ID_VISIBILITY_BOOL = 175 "additional_settings_caller_id_visibility_bool"; 176 177 /** 178 * Boolean indicating if the "Call Waiting" item is visible in the Additional Settings menu. 179 * true means visible. false means gone. 180 * @hide 181 */ 182 public static final String KEY_ADDITIONAL_SETTINGS_CALL_WAITING_VISIBILITY_BOOL = 183 "additional_settings_call_waiting_visibility_bool"; 184 185 /** 186 * Boolean indicating if the "Call barring" item is visible in the Call Settings menu. 187 * If true, the "Call Barring" menu will be visible. If false, the menu will be gone. 188 * 189 * Disabled by default. 190 */ 191 public static final String KEY_CALL_BARRING_VISIBILITY_BOOL = 192 "call_barring_visibility_bool"; 193 194 /** 195 * Flag indicating whether or not changing the call barring password via the "Call Barring" 196 * settings menu is supported. If true, the option will be visible in the "Call 197 * Barring" settings menu. If false, the option will not be visible. 198 * 199 * Enabled by default. 200 */ 201 public static final String KEY_CALL_BARRING_SUPPORTS_PASSWORD_CHANGE_BOOL = 202 "call_barring_supports_password_change_bool"; 203 204 /** 205 * Flag indicating whether or not deactivating all call barring features via the "Call Barring" 206 * settings menu is supported. If true, the option will be visible in the "Call 207 * Barring" settings menu. If false, the option will not be visible. 208 * 209 * Enabled by default. 210 */ 211 public static final String KEY_CALL_BARRING_SUPPORTS_DEACTIVATE_ALL_BOOL = 212 "call_barring_supports_deactivate_all_bool"; 213 214 /** 215 * Flag indicating whether the Phone app should ignore EVENT_SIM_NETWORK_LOCKED 216 * events from the Sim. 217 * If true, this will prevent the IccNetworkDepersonalizationPanel from being shown, and 218 * effectively disable the "Sim network lock" feature. 219 */ 220 public static final String 221 KEY_IGNORE_SIM_NETWORK_LOCKED_EVENTS_BOOL = "ignore_sim_network_locked_events_bool"; 222 223 /** 224 * When checking if a given number is the voicemail number, if this flag is true 225 * then in addition to comparing the given number to the voicemail number, we also compare it 226 * to the mdn. If this flag is false, the given number is only compared to the voicemail number. 227 * By default this value is false. 228 */ 229 public static final String KEY_MDN_IS_ADDITIONAL_VOICEMAIL_NUMBER_BOOL = 230 "mdn_is_additional_voicemail_number_bool"; 231 232 /** 233 * Flag indicating whether the Phone app should provide a "Dismiss" button on the SIM network 234 * unlock screen. The default value is true. If set to false, there will be *no way* to dismiss 235 * the SIM network unlock screen if you don't enter the correct unlock code. (One important 236 * consequence: there will be no way to make an Emergency Call if your SIM is network-locked and 237 * you don't know the PIN.) 238 */ 239 public static final String 240 KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL = "sim_network_unlock_allow_dismiss_bool"; 241 242 /** 243 * Flag indicating whether or not sending emergency SMS messages over IMS 244 * is supported when in LTE/limited LTE (Emergency only) service mode.. 245 * 246 */ 247 public static final String 248 KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL = "support_emergency_sms_over_ims_bool"; 249 250 /** Flag indicating if the phone is a world phone */ 251 public static final String KEY_WORLD_PHONE_BOOL = "world_phone_bool"; 252 253 /** 254 * Flag to require or skip entitlement checks. 255 * If true, entitlement checks will be executed if device has been configured for it, 256 * If false, entitlement checks will be skipped. 257 */ 258 public static final String 259 KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL = "require_entitlement_checks_bool"; 260 261 /** 262 * Flag indicating whether radio is to be restarted on error PDP_FAIL_REGULAR_DEACTIVATION 263 * This is false by default. 264 * 265 * @deprecated Use {@link #KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY} instead 266 */ 267 @Deprecated 268 public static final String KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL = 269 "restart_radio_on_pdp_fail_regular_deactivation_bool"; 270 271 /** 272 * A list of failure cause codes that will trigger a modem restart when telephony receiving 273 * one of those during data setup. The cause codes are defined in 3GPP TS 24.008 Annex I and 274 * TS 24.301 Annex B. 275 */ 276 public static final String KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY = 277 "radio_restart_failure_causes_int_array"; 278 279 /** 280 * If true, enable vibration (haptic feedback) for key presses in the EmergencyDialer activity. 281 * The pattern is set on a per-platform basis using config_virtualKeyVibePattern. To be 282 * consistent with the regular Dialer, this value should agree with the corresponding values 283 * from config.xml under apps/Contacts. 284 */ 285 public static final String 286 KEY_ENABLE_DIALER_KEY_VIBRATION_BOOL = "enable_dialer_key_vibration_bool"; 287 288 /** Flag indicating if dtmf tone type is enabled */ 289 public static final String KEY_DTMF_TYPE_ENABLED_BOOL = "dtmf_type_enabled_bool"; 290 291 /** Flag indicating if auto retry is enabled */ 292 public static final String KEY_AUTO_RETRY_ENABLED_BOOL = "auto_retry_enabled_bool"; 293 294 /** 295 * Determine whether we want to play local DTMF tones in a call, or just let the radio/BP handle 296 * playing of the tones. 297 */ 298 public static final String KEY_ALLOW_LOCAL_DTMF_TONES_BOOL = "allow_local_dtmf_tones_bool"; 299 300 /** 301 * Determines if the carrier requires that a tone be played to the remote party when an app is 302 * recording audio during a call (e.g. using a call recording app). 303 * <p> 304 * Note: This requires the Telephony config_supports_telephony_audio_device overlay to be true 305 * in order to work. 306 * @hide 307 */ 308 public static final String KEY_PLAY_CALL_RECORDING_TONE_BOOL = "play_call_recording_tone_bool"; 309 /** 310 * Determines if the carrier requires converting the destination number before sending out an 311 * SMS. Certain networks and numbering plans require different formats. 312 */ 313 public static final String KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL= 314 "sms_requires_destination_number_conversion_bool"; 315 316 /** 317 * If true, show an onscreen "Dial" button in the dialer. In practice this is used on all 318 * platforms, even the ones with hard SEND/END keys, but for maximum flexibility it's controlled 319 * by a flag here (which can be overridden on a per-product basis.) 320 */ 321 public static final String KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL = "show_onscreen_dial_button_bool"; 322 323 /** Determines if device implements a noise suppression device for in call audio. */ 324 public static final String 325 KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL = "has_in_call_noise_suppression_bool"; 326 327 /** 328 * Determines if the current device should allow emergency numbers to be logged in the Call Log. 329 * (Some carriers require that emergency calls *not* be logged, presumably to avoid the risk of 330 * accidental redialing from the call log UI. This is a good idea, so the default here is 331 * false.) 332 */ 333 public static final String 334 KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL = "allow_emergency_numbers_in_call_log_bool"; 335 336 /** 337 * A string array containing numbers that shouldn't be included in the call log. 338 */ 339 public static final String KEY_UNLOGGABLE_NUMBERS_STRING_ARRAY = 340 "unloggable_numbers_string_array"; 341 342 /** If true, removes the Voice Privacy option from Call Settings */ 343 public static final String KEY_VOICE_PRIVACY_DISABLE_UI_BOOL = "voice_privacy_disable_ui_bool"; 344 345 /** Control whether users can reach the carrier portions of Cellular Network Settings. */ 346 public static final String 347 KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL = "hide_carrier_network_settings_bool"; 348 349 /** 350 * Only allow auto selection in Advanced Network Settings when in home network. 351 * Manual selection is allowed when in roaming network. 352 */ 353 public static final String KEY_ONLY_AUTO_SELECT_IN_HOME_NETWORK_BOOL = 354 "only_auto_select_in_home_network"; 355 356 /** 357 * Control whether users receive a simplified network settings UI and improved network 358 * selection. 359 */ 360 public static final String 361 KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL = "simplified_network_settings_bool"; 362 363 /** Control whether users can reach the SIM lock settings. */ 364 public static final String 365 KEY_HIDE_SIM_LOCK_SETTINGS_BOOL = "hide_sim_lock_settings_bool"; 366 367 /** Control whether users can edit APNs in Settings. */ 368 public static final String KEY_APN_EXPAND_BOOL = "apn_expand_bool"; 369 370 /** Control whether users can choose a network operator. */ 371 public static final String KEY_OPERATOR_SELECTION_EXPAND_BOOL = "operator_selection_expand_bool"; 372 373 /** Used in Cellular Network Settings for preferred network type. */ 374 public static final String KEY_PREFER_2G_BOOL = "prefer_2g_bool"; 375 376 /** Show cdma network mode choices 1x, 3G, global etc. */ 377 public static final String KEY_SHOW_CDMA_CHOICES_BOOL = "show_cdma_choices_bool"; 378 379 /** CDMA activation goes through HFA */ 380 public static final String KEY_USE_HFA_FOR_PROVISIONING_BOOL = "use_hfa_for_provisioning_bool"; 381 382 /** 383 * CDMA activation goes through OTASP. 384 * <p> 385 * TODO: This should be combined with config_use_hfa_for_provisioning and implemented as an enum 386 * (NONE, HFA, OTASP). 387 */ 388 public static final String KEY_USE_OTASP_FOR_PROVISIONING_BOOL = "use_otasp_for_provisioning_bool"; 389 390 /** Display carrier settings menu if true */ 391 public static final String KEY_CARRIER_SETTINGS_ENABLE_BOOL = "carrier_settings_enable_bool"; 392 393 /** Does not display additional call setting for IMS phone based on GSM Phone */ 394 public static final String KEY_ADDITIONAL_CALL_SETTING_BOOL = "additional_call_setting_bool"; 395 396 /** Show APN Settings for some CDMA carriers */ 397 public static final String KEY_SHOW_APN_SETTING_CDMA_BOOL = "show_apn_setting_cdma_bool"; 398 399 /** After a CDMA conference call is merged, the swap button should be displayed. */ 400 public static final String KEY_SUPPORT_SWAP_AFTER_MERGE_BOOL = "support_swap_after_merge_bool"; 401 402 /** 403 * Determine whether user can edit voicemail number in Settings. 404 */ 405 public static final String KEY_EDITABLE_VOICEMAIL_NUMBER_SETTING_BOOL = 406 "editable_voicemail_number_setting_bool"; 407 408 /** 409 * Since the default voicemail number is empty, if a SIM card does not have a voicemail number 410 * available the user cannot use voicemail. This flag allows the user to edit the voicemail 411 * number in such cases, and is false by default. 412 */ 413 public static final String KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL= "editable_voicemail_number_bool"; 414 415 /** 416 * Determine whether the voicemail notification is persistent in the notification bar. If true, 417 * the voicemail notifications cannot be dismissed from the notification bar. 418 */ 419 public static final String 420 KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL = "voicemail_notification_persistent_bool"; 421 422 /** For IMS video over LTE calls, determines whether video pause signalling is supported. */ 423 public static final String 424 KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL = "support_pause_ims_video_calls_bool"; 425 426 /** 427 * Disables dialing "*228" (OTASP provisioning) on CDMA carriers where it is not supported or is 428 * potentially harmful by locking the SIM to 3G. 429 */ 430 public static final String 431 KEY_DISABLE_CDMA_ACTIVATION_CODE_BOOL = "disable_cdma_activation_code_bool"; 432 433 /** 434 * List of RIL radio technologies (See {@link ServiceState} {@code RIL_RADIO_TECHNOLOGY_*} 435 * constants) which support only a single data connection at a time. Some carriers do not 436 * support multiple pdp on UMTS. 437 */ 438 public static final String 439 KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY = "only_single_dc_allowed_int_array"; 440 441 /** 442 * Override the platform's notion of a network operator being considered roaming. 443 * Value is string array of MCCMNCs to be considered roaming for 3GPP RATs. 444 */ 445 public static final String 446 KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY = "gsm_roaming_networks_string_array"; 447 448 /** 449 * Override the platform's notion of a network operator being considered not roaming. 450 * Value is string array of MCCMNCs to be considered not roaming for 3GPP RATs. 451 */ 452 public static final String 453 KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY = "gsm_nonroaming_networks_string_array"; 454 455 /** 456 * The package name containing the ImsService that will be bound to the telephony framework to 457 * support both IMS MMTEL and RCS feature functionality instead of the device default 458 * ImsService for this subscription. 459 * @deprecated Use {@link #KEY_CONFIG_IMS_MMTEL_PACKAGE_OVERRIDE_STRING} and 460 * {@link #KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRING} instead to configure these values 461 * separately. If any of those values are not empty, they will override this value. 462 */ 463 public static final String KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING = 464 "config_ims_package_override_string"; 465 466 /** 467 * The package name containing the ImsService that will be bound to the telephony framework to 468 * support IMS MMTEL feature functionality instead of the device default ImsService for this 469 * subscription. 470 */ 471 public static final String KEY_CONFIG_IMS_MMTEL_PACKAGE_OVERRIDE_STRING = 472 "config_ims_mmtel_package_override_string"; 473 474 /** 475 * The package name containing the ImsService that will be bound to the telephony framework to 476 * support IMS RCS feature functionality instead of the device default ImsService for this 477 * subscription. 478 */ 479 public static final String KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRING = 480 "config_ims_rcs_package_override_string"; 481 482 /** 483 * Override the package that will manage {@link SubscriptionPlan} 484 * information instead of the {@link CarrierService} that defines this 485 * value. 486 * 487 * @see SubscriptionManager#getSubscriptionPlans(int) 488 * @see SubscriptionManager#setSubscriptionPlans(int, java.util.List) 489 */ 490 public static final String KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING = 491 "config_plans_package_override_string"; 492 493 /** 494 * Override the platform's notion of a network operator being considered roaming. 495 * Value is string array of SIDs to be considered roaming for 3GPP2 RATs. 496 */ 497 public static final String 498 KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY = "cdma_roaming_networks_string_array"; 499 500 /** 501 * Override the platform's notion of a network operator being considered non roaming. 502 * Value is string array of SIDs to be considered not roaming for 3GPP2 RATs. 503 */ 504 public static final String 505 KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY = "cdma_nonroaming_networks_string_array"; 506 507 /** 508 * Override the platform's notion of a network operator being considered non roaming. 509 * If true all networks are considered as home network a.k.a non-roaming. When false, 510 * the 2 pairs of CMDA and GSM roaming/non-roaming arrays are consulted. 511 * 512 * @see #KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY 513 * @see #KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY 514 * @see #KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY 515 * @see #KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY 516 */ 517 public static final String 518 KEY_FORCE_HOME_NETWORK_BOOL = "force_home_network_bool"; 519 520 /** 521 * Flag specifying whether VoLTE should be available for carrier, independent of carrier 522 * provisioning. If false: hard disabled. If true: then depends on carrier provisioning, 523 * availability, etc. 524 */ 525 public static final String KEY_CARRIER_VOLTE_AVAILABLE_BOOL = "carrier_volte_available_bool"; 526 527 /** 528 * Flag specifying whether video telephony is available for carrier. If false: hard disabled. 529 * If true: then depends on carrier provisioning, availability, etc. 530 */ 531 public static final String KEY_CARRIER_VT_AVAILABLE_BOOL = "carrier_vt_available_bool"; 532 533 /** 534 * Flag specifying whether to show an alert dialog for 5G disable when the user disables VoLTE. 535 * By default this value is {@code false}. 536 * 537 * @hide 538 */ 539 public static final String KEY_VOLTE_5G_LIMITED_ALERT_DIALOG_BOOL = 540 "volte_5g_limited_alert_dialog_bool"; 541 542 /** 543 * Flag specifying whether the carrier wants to notify the user when a VT call has been handed 544 * over from WIFI to LTE. 545 * <p> 546 * The handover notification is sent as a 547 * {@link TelephonyManager#EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE} 548 * {@link android.telecom.Connection} event, which an {@link android.telecom.InCallService} 549 * should use to trigger the display of a user-facing message. 550 * <p> 551 * The Connection event is sent to the InCallService only once, the first time it occurs. 552 * @hide 553 */ 554 public static final String KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL = 555 "notify_handover_video_from_wifi_to_lte_bool"; 556 557 /** 558 * Flag specifying whether the carrier supports merging a RTT call with a voice call, 559 * downgrading the call in the process. 560 * @hide 561 */ 562 public static final String KEY_ALLOW_MERGING_RTT_CALLS_BOOL = 563 "allow_merging_rtt_calls_bool"; 564 565 /** 566 * Flag specifying whether the carrier wants to notify the user when a VT call has been handed 567 * over from LTE to WIFI. 568 * <p> 569 * The handover notification is sent as a 570 * {@link TelephonyManager#EVENT_HANDOVER_VIDEO_FROM_LTE_TO_WIFI} 571 * {@link android.telecom.Connection} event, which an {@link android.telecom.InCallService} 572 * should use to trigger the display of a user-facing message. 573 * @hide 574 */ 575 public static final String KEY_NOTIFY_HANDOVER_VIDEO_FROM_LTE_TO_WIFI_BOOL = 576 "notify_handover_video_from_lte_to_wifi_bool"; 577 578 /** 579 * Flag specifying whether the carrier supports downgrading a video call (tx, rx or tx/rx) 580 * directly to an audio call. 581 * @hide 582 */ 583 public static final String KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL = 584 "support_downgrade_vt_to_audio_bool"; 585 586 /** 587 * Where there is no preloaded voicemail number on a SIM card, specifies the carrier's default 588 * voicemail number. 589 * When empty string, no default voicemail number is specified. 590 */ 591 public static final String KEY_DEFAULT_VM_NUMBER_STRING = "default_vm_number_string"; 592 593 /** 594 * Where there is no preloaded voicemail number on a SIM card, specifies the carrier's default 595 * voicemail number for roaming network. 596 * When empty string, no default voicemail number is specified for roaming network. 597 * @hide 598 */ 599 public static final String KEY_DEFAULT_VM_NUMBER_ROAMING_STRING = 600 "default_vm_number_roaming_string"; 601 602 /** 603 * Where there is no preloaded voicemail number on a SIM card, specifies the carrier's default 604 * voicemail number while the device is both roaming and not registered for IMS. 605 * When empty string, no default voicemail number is specified for roaming network and 606 * unregistered state in IMS. 607 */ 608 public static final String KEY_DEFAULT_VM_NUMBER_ROAMING_AND_IMS_UNREGISTERED_STRING = 609 "default_vm_number_roaming_and_ims_unregistered_string"; 610 611 /** 612 * Flag that specifies to use the user's own phone number as the voicemail number when there is 613 * no pre-loaded voicemail number on the SIM card. 614 * <p> 615 * {@link #KEY_DEFAULT_VM_NUMBER_STRING} takes precedence over this flag. 616 * <p> 617 * If false, the system default (*86) will be used instead. 618 */ 619 public static final String KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL = 620 "config_telephony_use_own_number_for_voicemail_bool"; 621 622 /** 623 * When {@code true}, changes to the mobile data enabled switch will not cause the VT 624 * registration state to change. That is, turning on or off mobile data will not cause VT to be 625 * enabled or disabled. 626 * When {@code false}, disabling mobile data will cause VT to be de-registered. 627 */ 628 public static final String KEY_IGNORE_DATA_ENABLED_CHANGED_FOR_VIDEO_CALLS = 629 "ignore_data_enabled_changed_for_video_calls"; 630 631 /** 632 * Flag indicating whether data used for a video call over LTE is metered or not. 633 * <p> 634 * When {@code true}, if the device hits the data limit or data is disabled during a ViLTE call, 635 * the call will be downgraded to audio-only (or paused if 636 * {@link #KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL} is {@code true}). 637 * 638 * @hide 639 */ 640 public static final String KEY_VILTE_DATA_IS_METERED_BOOL = "vilte_data_is_metered_bool"; 641 642 /** 643 * Flag specifying whether WFC over IMS should be available for carrier: independent of 644 * carrier provisioning. If false: hard disabled. If true: then depends on carrier 645 * provisioning, availability etc. 646 */ 647 public static final String KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL = "carrier_wfc_ims_available_bool"; 648 649 /** 650 * Specifies a map from dialstrings to replacements for roaming network service numbers which 651 * cannot be replaced on the carrier side. 652 * <p> 653 * Individual entries have the format: 654 * [dialstring to replace]:[replacement] 655 */ 656 public static final String KEY_DIAL_STRING_REPLACE_STRING_ARRAY = 657 "dial_string_replace_string_array"; 658 659 /** 660 * Flag specifying whether WFC over IMS supports the "wifi only" option. If false, the wifi 661 * calling settings will not include an option for "wifi only". If true, the wifi calling 662 * settings will include an option for "wifi only" 663 * <p> 664 * By default, it is assumed that WFC supports "wifi only". 665 */ 666 public static final String KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL = 667 "carrier_wfc_supports_wifi_only_bool"; 668 669 /** 670 * Default mode for WFC over IMS on home network: 671 * <ul> 672 * <li>0: Wi-Fi only 673 * <li>1: prefer mobile network 674 * <li>2: prefer Wi-Fi 675 * </ul> 676 */ 677 public static final String KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT = 678 "carrier_default_wfc_ims_mode_int"; 679 680 /** 681 * Default mode for WFC over IMS on roaming network. 682 * See {@link #KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT} for meaning of values. 683 */ 684 public static final String KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT = 685 "carrier_default_wfc_ims_roaming_mode_int"; 686 687 /** 688 * Default WFC_IMS_enabled: true VoWiFi by default is on 689 * false VoWiFi by default is off 690 */ 691 public static final String KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL = 692 "carrier_default_wfc_ims_enabled_bool"; 693 694 /** 695 * Default WFC_IMS_roaming_enabled: true VoWiFi roaming by default is on 696 * false VoWiFi roaming by default is off 697 * @hide 698 */ 699 public static final String KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL = 700 "carrier_default_wfc_ims_roaming_enabled_bool"; 701 702 /** 703 * Flag indicating whether failed calls due to no service should prompt the user to enable 704 * WIFI calling. When {@code true}, if the user attempts to establish a call when there is no 705 * service available, they are connected to WIFI, and WIFI calling is disabled, a different 706 * call failure message will be used to encourage the user to enable WIFI calling. 707 * @hide 708 */ 709 public static final String KEY_CARRIER_PROMOTE_WFC_ON_CALL_FAIL_BOOL = 710 "carrier_promote_wfc_on_call_fail_bool"; 711 712 /** 713 * Flag specifying whether provisioning is required for RCS. 714 */ 715 public static final String KEY_CARRIER_RCS_PROVISIONING_REQUIRED_BOOL = 716 "carrier_rcs_provisioning_required_bool"; 717 718 /** 719 * Flag specifying whether provisioning is required for VoLTE, Video Telephony, and WiFi 720 * Calling. 721 */ 722 public static final String KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL 723 = "carrier_volte_provisioning_required_bool"; 724 725 /** 726 * Flag indicating whether or not the IMS MmTel UT capability requires carrier provisioning 727 * before it can be set as enabled. 728 * 729 * If true, the UT capability will be set to false for the newly loaded subscription 730 * and will require the carrier provisioning app to set the persistent provisioning result. 731 * If false, the platform will not wait for provisioning status updates for the UT capability 732 * and enable the UT over IMS capability for the subscription when the subscription is loaded. 733 * 734 * The default value for this key is {@code false}. 735 */ 736 public static final String KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL = 737 "carrier_ut_provisioning_required_bool"; 738 739 /** 740 * Flag indicating whether or not the carrier supports Supplementary Services over the UT 741 * interface for this subscription. 742 * 743 * If true, the device will use Supplementary Services over UT when provisioned (see 744 * {@link #KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL}). If false, this device will fallback to 745 * circuit switch for supplementary services and will disable this capability for IMS entirely. 746 * 747 * The default value for this key is {@code true}. 748 */ 749 public static final String KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL = 750 "carrier_supports_ss_over_ut_bool"; 751 752 /** 753 * Flag specifying if WFC provisioning depends on VoLTE provisioning. 754 * 755 * {@code false}: default value; honor actual WFC provisioning state. 756 * {@code true}: when VoLTE is not provisioned, treat WFC as not provisioned; when VoLTE is 757 * provisioned, honor actual WFC provisioning state. 758 * 759 * As of now, Verizon is the only carrier enforcing this dependency in their 760 * WFC awareness and activation requirements. 761 */ 762 public static final String KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOL 763 = "carrier_volte_override_wfc_provisioning_bool"; 764 765 /** 766 * Override the device's configuration for the cellular data service to use for this SIM card. 767 * @hide 768 */ 769 public static final String KEY_CARRIER_DATA_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING 770 = "carrier_data_service_wwan_package_override_string"; 771 772 /** 773 * Override the device's configuration for the IWLAN data service to use for this SIM card. 774 * @hide 775 */ 776 public static final String KEY_CARRIER_DATA_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING 777 = "carrier_data_service_wlan_package_override_string"; 778 779 /** 780 * Override the device's configuration for the cellular data service class to use 781 * for this SIM card. 782 * @hide 783 */ 784 public static final String KEY_CARRIER_DATA_SERVICE_WWAN_CLASS_OVERRIDE_STRING = 785 "carrier_data_service_wwan_class_override_string"; 786 787 /** 788 * Override the device's configuration for the IWLAN data service class to use 789 * for this SIM card. 790 * @hide 791 */ 792 public static final String KEY_CARRIER_DATA_SERVICE_WLAN_CLASS_OVERRIDE_STRING = 793 "carrier_data_service_wlan_class_override_string"; 794 795 /** Flag specifying whether VoLTE TTY is supported. */ 796 public static final String KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL 797 = "carrier_volte_tty_supported_bool"; 798 799 /** 800 * Flag specifying whether IMS service can be turned off. If false then the service will not be 801 * turned-off completely, but individual features can be disabled. 802 */ 803 public static final String KEY_CARRIER_ALLOW_TURNOFF_IMS_BOOL 804 = "carrier_allow_turnoff_ims_bool"; 805 806 /** 807 * Flag specifying whether Generic Bootstrapping Architecture capable SIM is required for IMS. 808 */ 809 public static final String KEY_CARRIER_IMS_GBA_REQUIRED_BOOL 810 = "carrier_ims_gba_required_bool"; 811 812 /** 813 * Flag specifying whether IMS instant lettering is available for the carrier. {@code True} if 814 * instant lettering is available for the carrier, {@code false} otherwise. 815 */ 816 public static final String KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL = 817 "carrier_instant_lettering_available_bool"; 818 819 /* 820 * Flag specifying whether IMS should be the first phone attempted for E911 even if the 821 * phone is not in service. 822 */ 823 public static final String KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL 824 = "carrier_use_ims_first_for_emergency_bool"; 825 826 /** 827 * When IMS instant lettering is available for a carrier (see 828 * {@link #KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL}), determines the list of characters 829 * which may not be contained in messages. Should be specified as a regular expression suitable 830 * for use with {@link String#matches(String)}. 831 */ 832 public static final String KEY_CARRIER_INSTANT_LETTERING_INVALID_CHARS_STRING = 833 "carrier_instant_lettering_invalid_chars_string"; 834 835 /** 836 * When IMS instant lettering is available for a carrier (see 837 * {@link #KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL}), determines a list of characters which 838 * must be escaped with a backslash '\' character. Should be specified as a string containing 839 * the characters to be escaped. For example to escape quote and backslash the string would be 840 * a quote and a backslash. 841 */ 842 public static final String KEY_CARRIER_INSTANT_LETTERING_ESCAPED_CHARS_STRING = 843 "carrier_instant_lettering_escaped_chars_string"; 844 845 /** 846 * When IMS instant lettering is available for a carrier (see 847 * {@link #KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL}), determines the character encoding 848 * which will be used when determining the length of messages. Used in the InCall UI to limit 849 * the number of characters the user may type. If empty-string, the instant lettering 850 * message size limit will be enforced on a 1:1 basis. That is, each character will count 851 * towards the messages size limit as a single bye. If a character encoding is specified, the 852 * message size limit will be based on the number of bytes in the message per the specified 853 * encoding. 854 */ 855 public static final String KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING = 856 "carrier_instant_lettering_encoding_string"; 857 858 /** 859 * When IMS instant lettering is available for a carrier (see 860 * {@link #KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL}), the length limit for messages. Used 861 * in the InCall UI to ensure the user cannot enter more characters than allowed by the carrier. 862 * See also {@link #KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING} for more information on how 863 * the length of the message is calculated. 864 */ 865 public static final String KEY_CARRIER_INSTANT_LETTERING_LENGTH_LIMIT_INT = 866 "carrier_instant_lettering_length_limit_int"; 867 868 /** 869 * If Voice Radio Technology is RIL_RADIO_TECHNOLOGY_LTE:14 or RIL_RADIO_TECHNOLOGY_UNKNOWN:0 870 * this is the value that should be used instead. A configuration value of 871 * RIL_RADIO_TECHNOLOGY_UNKNOWN:0 means there is no replacement value and that the default 872 * assumption for phone type (GSM) should be used. 873 */ 874 public static final String KEY_VOLTE_REPLACEMENT_RAT_INT = "volte_replacement_rat_int"; 875 876 /** 877 * The default sim call manager to use when the default dialer doesn't implement one. A sim call 878 * manager can control and route outgoing and incoming phone calls, even if they're placed 879 * using another connection service (PSTN, for example). 880 */ 881 public static final String KEY_DEFAULT_SIM_CALL_MANAGER_STRING = "default_sim_call_manager_string"; 882 883 /** 884 * The default flag specifying whether ETWS/CMAS test setting is forcibly disabled in 885 * Settings->More->Emergency broadcasts menu even though developer options is turned on. 886 * @deprecated Use {@code com.android.cellbroadcastreceiver.CellBroadcastReceiver} resource 887 * {@code show_test_settings} to control whether to show test alert settings or not. 888 */ 889 @Deprecated 890 public static final String KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL = 891 "carrier_force_disable_etws_cmas_test_bool"; 892 893 /** 894 * The default flag specifying whether "Allow alerts" option will be always shown in 895 * emergency alerts settings regardless developer options is turned on or not. 896 * 897 * @deprecated The allow alerts option is always shown now. No longer need a config for that. 898 */ 899 @Deprecated 900 public static final String KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL = 901 "always_show_emergency_alert_onoff_bool"; 902 903 /** 904 * The data call retry configuration for different types of APN. 905 * @hide 906 */ 907 public static final String KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS = 908 "carrier_data_call_retry_config_strings"; 909 910 /** 911 * Delay in milliseconds between trying APN from the pool 912 * @hide 913 */ 914 public static final String KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG = 915 "carrier_data_call_apn_delay_default_long"; 916 917 /** 918 * Faster delay in milliseconds between trying APN from the pool 919 * @hide 920 */ 921 public static final String KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG = 922 "carrier_data_call_apn_delay_faster_long"; 923 924 /** 925 * Delay in milliseconds for retrying APN after disconnect 926 * @hide 927 */ 928 public static final String KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG = 929 "carrier_data_call_apn_retry_after_disconnect_long"; 930 931 /** 932 * Data call setup permanent failure causes by the carrier 933 */ 934 public static final String KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGS = 935 "carrier_data_call_permanent_failure_strings"; 936 937 /** 938 * Default APN types that are metered by the carrier 939 * @hide 940 */ 941 public static final String KEY_CARRIER_METERED_APN_TYPES_STRINGS = 942 "carrier_metered_apn_types_strings"; 943 /** 944 * Default APN types that are roaming-metered by the carrier 945 * @hide 946 */ 947 public static final String KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS = 948 "carrier_metered_roaming_apn_types_strings"; 949 950 /** 951 * APN types that are not allowed on cellular 952 * @hide 953 */ 954 public static final String KEY_CARRIER_WWAN_DISALLOWED_APN_TYPES_STRING_ARRAY = 955 "carrier_wwan_disallowed_apn_types_string_array"; 956 957 /** 958 * APN types that are not allowed on IWLAN 959 * @hide 960 */ 961 public static final String KEY_CARRIER_WLAN_DISALLOWED_APN_TYPES_STRING_ARRAY = 962 "carrier_wlan_disallowed_apn_types_string_array"; 963 /** 964 * CDMA carrier ERI (Enhanced Roaming Indicator) file name 965 * @hide 966 */ 967 public static final String KEY_CARRIER_ERI_FILE_NAME_STRING = 968 "carrier_eri_file_name_string"; 969 970 /* The following 3 fields are related to carrier visual voicemail. */ 971 972 /** 973 * The carrier number mobile outgoing (MO) sms messages are sent to. 974 */ 975 public static final String KEY_VVM_DESTINATION_NUMBER_STRING = "vvm_destination_number_string"; 976 977 /** 978 * The port through which the mobile outgoing (MO) sms messages are sent through. 979 */ 980 public static final String KEY_VVM_PORT_NUMBER_INT = "vvm_port_number_int"; 981 982 /** 983 * The type of visual voicemail protocol the carrier adheres to. See {@link TelephonyManager} 984 * for possible values. For example {@link TelephonyManager#VVM_TYPE_OMTP}. 985 */ 986 public static final String KEY_VVM_TYPE_STRING = "vvm_type_string"; 987 988 /** 989 * Whether cellular data is required to access visual voicemail. 990 */ 991 public static final String KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL = 992 "vvm_cellular_data_required_bool"; 993 994 /** 995 * The default OMTP visual voicemail client prefix to use. Defaulted to "//VVM" 996 */ 997 public static final String KEY_VVM_CLIENT_PREFIX_STRING = 998 "vvm_client_prefix_string"; 999 1000 /** 1001 * Whether to use SSL to connect to the visual voicemail IMAP server. Defaulted to false. 1002 */ 1003 public static final String KEY_VVM_SSL_ENABLED_BOOL = "vvm_ssl_enabled_bool"; 1004 1005 /** 1006 * A set of capabilities that should not be used even if it is reported by the visual voicemail 1007 * IMAP CAPABILITY command. 1008 */ 1009 public static final String KEY_VVM_DISABLED_CAPABILITIES_STRING_ARRAY = 1010 "vvm_disabled_capabilities_string_array"; 1011 1012 /** 1013 * Whether legacy mode should be used when the visual voicemail client is disabled. 1014 * 1015 * <p>Legacy mode is a mode that on the carrier side visual voicemail is still activated, but on 1016 * the client side all network operations are disabled. SMSs are still monitored so a new 1017 * message SYNC SMS will be translated to show a message waiting indicator, like traditional 1018 * voicemails. 1019 * 1020 * <p>This is for carriers that does not support VVM deactivation so voicemail can continue to 1021 * function without the data cost. 1022 */ 1023 public static final String KEY_VVM_LEGACY_MODE_ENABLED_BOOL = 1024 "vvm_legacy_mode_enabled_bool"; 1025 1026 /** 1027 * Whether to prefetch audio data on new voicemail arrival, defaulted to true. 1028 */ 1029 public static final String KEY_VVM_PREFETCH_BOOL = "vvm_prefetch_bool"; 1030 1031 /** 1032 * The package name of the carrier's visual voicemail app to ensure that dialer visual voicemail 1033 * and carrier visual voicemail are not active at the same time. 1034 * 1035 * @deprecated use {@link #KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY}. 1036 */ 1037 @Deprecated 1038 public static final String KEY_CARRIER_VVM_PACKAGE_NAME_STRING = "carrier_vvm_package_name_string"; 1039 1040 /** 1041 * A list of the carrier's visual voicemail app package names to ensure that dialer visual 1042 * voicemail and carrier visual voicemail are not active at the same time. 1043 */ 1044 public static final String KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY = 1045 "carrier_vvm_package_name_string_array"; 1046 1047 /** 1048 * Flag specifying whether ICCID is showed in SIM Status screen, default to false. 1049 */ 1050 public static final String KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL = "show_iccid_in_sim_status_bool"; 1051 1052 /** 1053 * Flag specifying whether the {@link android.telephony.SignalStrength} is shown in the SIM 1054 * Status screen. The default value is true. 1055 */ 1056 public static final String KEY_SHOW_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL = 1057 "show_signal_strength_in_sim_status_bool"; 1058 1059 /** 1060 * Flag specifying whether an additional (client initiated) intent needs to be sent on System 1061 * update 1062 */ 1063 public static final String KEY_CI_ACTION_ON_SYS_UPDATE_BOOL = "ci_action_on_sys_update_bool"; 1064 1065 /** 1066 * Intent to be sent for the additional action on System update 1067 */ 1068 public static final String KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING = 1069 "ci_action_on_sys_update_intent_string"; 1070 1071 /** 1072 * Extra to be included in the intent sent for additional action on System update 1073 */ 1074 public static final String KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING = 1075 "ci_action_on_sys_update_extra_string"; 1076 1077 /** 1078 * Value of extra included in intent sent for additional action on System update 1079 */ 1080 public static final String KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING = 1081 "ci_action_on_sys_update_extra_val_string"; 1082 1083 /** 1084 * Specifies the amount of gap to be added in millis between postdial DTMF tones. When a 1085 * non-zero value is specified, the UE shall wait for the specified amount of time before it 1086 * sends out successive DTMF tones on the network. 1087 */ 1088 public static final String KEY_GSM_DTMF_TONE_DELAY_INT = "gsm_dtmf_tone_delay_int"; 1089 1090 /** 1091 * Specifies the amount of gap to be added in millis between DTMF tones. When a non-zero value 1092 * is specified, the UE shall wait for the specified amount of time before it sends out 1093 * successive DTMF tones on the network. 1094 */ 1095 public static final String KEY_IMS_DTMF_TONE_DELAY_INT = "ims_dtmf_tone_delay_int"; 1096 1097 /** 1098 * Specifies the amount of gap to be added in millis between postdial DTMF tones. When a 1099 * non-zero value is specified, the UE shall wait for the specified amount of time before it 1100 * sends out successive DTMF tones on the network. 1101 */ 1102 public static final String KEY_CDMA_DTMF_TONE_DELAY_INT = "cdma_dtmf_tone_delay_int"; 1103 1104 /** 1105 * Some carriers will send call forwarding responses for voicemail in a format that is not 3gpp 1106 * compliant, which causes issues during parsing. This causes the 1107 * {@link com.android.internal.telephony.CallForwardInfo#number} to contain non-numerical 1108 * characters instead of a number. 1109 * 1110 * If true, we will detect the non-numerical characters and replace them with "Voicemail". 1111 * @hide 1112 */ 1113 public static final String KEY_CALL_FORWARDING_MAP_NON_NUMBER_TO_VOICEMAIL_BOOL = 1114 "call_forwarding_map_non_number_to_voicemail_bool"; 1115 1116 /** 1117 * When {@code true}, the phone will always tell the IMS stack to keep RTT enabled and 1118 * determine on a per-call basis (based on extras from the dialer app) whether a call should be 1119 * an RTT call or not. 1120 * 1121 * When {@code false}, the old behavior is used, where the toggle in accessibility settings is 1122 * used to set the IMS stack's RTT enabled state. 1123 */ 1124 public static final String KEY_IGNORE_RTT_MODE_SETTING_BOOL = 1125 "ignore_rtt_mode_setting_bool"; 1126 1127 1128 /** 1129 * Determines whether adhoc conference calls are supported by a carrier. When {@code true}, 1130 * adhoc conference calling is supported, {@code false otherwise}. 1131 * @hide 1132 */ 1133 public static final String KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL = 1134 "support_adhoc_conference_calls_bool"; 1135 1136 /** 1137 * Determines whether conference participants can be added to existing call. When {@code true}, 1138 * adding conference participants to existing call is supported, {@code false otherwise}. 1139 * @hide 1140 */ 1141 public static final String KEY_SUPPORT_ADD_CONFERENCE_PARTICIPANTS_BOOL = 1142 "support_add_conference_participants_bool"; 1143 1144 /** 1145 * Determines whether conference calls are supported by a carrier. When {@code true}, 1146 * conference calling is supported, {@code false otherwise}. 1147 */ 1148 public static final String KEY_SUPPORT_CONFERENCE_CALL_BOOL = "support_conference_call_bool"; 1149 1150 /** 1151 * Determines whether a maximum size limit for IMS conference calls is enforced on the device. 1152 * When {@code true}, IMS conference calls will be limited to at most 1153 * {@link #KEY_IMS_CONFERENCE_SIZE_LIMIT_INT} participants. When {@code false}, no attempt is made 1154 * to limit the number of participants in a conference (the carrier will raise an error when an 1155 * attempt is made to merge too many participants into a conference). 1156 */ 1157 public static final String KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL = 1158 "is_ims_conference_size_enforced_bool"; 1159 1160 /** 1161 * Determines the maximum number of participants the carrier supports for a conference call. 1162 * This number is exclusive of the current device. A conference between 3 devices, for example, 1163 * would have a size limit of 2 participants. 1164 * Enforced when {@link #KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL} is {@code true}. 1165 */ 1166 public static final String KEY_IMS_CONFERENCE_SIZE_LIMIT_INT = "ims_conference_size_limit_int"; 1167 1168 /** 1169 * Determines whether manage IMS conference calls is supported by a carrier. When {@code true}, 1170 * manage IMS conference call is supported, {@code false otherwise}. 1171 * @hide 1172 */ 1173 public static final String KEY_SUPPORT_MANAGE_IMS_CONFERENCE_CALL_BOOL = 1174 "support_manage_ims_conference_call_bool"; 1175 1176 /** 1177 * Determines whether the IMS conference merge process supports and returns its participants 1178 * data. When {@code true}, on merge complete, conference call would have a list of its 1179 * participants returned in XML format, {@code false otherwise}. 1180 */ 1181 public static final String KEY_SUPPORT_IMS_CONFERENCE_EVENT_PACKAGE_BOOL = 1182 "support_ims_conference_event_package_bool"; 1183 1184 /** 1185 * Determines whether processing of conference event package data received on a device other 1186 * than the conference host is supported. 1187 * <p> 1188 * When a device A merges calls B and C into a conference it is considered the conference host 1189 * and B and C are considered the conference peers. 1190 * <p> 1191 * When {@code true}, the conference peer will display the conference state if it receives 1192 * conference event package data from the network. When {@code false}, the conference peer will 1193 * ignore conference event package data received from the network. 1194 * @hide 1195 */ 1196 public static final String KEY_SUPPORT_IMS_CONFERENCE_EVENT_PACKAGE_ON_PEER_BOOL = 1197 "support_ims_conference_event_package_on_peer_bool"; 1198 1199 /** 1200 * Determines whether High Definition audio property is displayed in the dialer UI. 1201 * If {@code false}, remove the HD audio property from the connection so that HD audio related 1202 * UI is not displayed. If {@code true}, keep HD audio property as it is configured. 1203 */ 1204 public static final String KEY_DISPLAY_HD_AUDIO_PROPERTY_BOOL = 1205 "display_hd_audio_property_bool"; 1206 1207 /** 1208 * Determines whether IMS conference calls are supported by a carrier. When {@code true}, 1209 * IMS conference calling is supported, {@code false} otherwise. 1210 * @hide 1211 */ 1212 public static final String KEY_SUPPORT_IMS_CONFERENCE_CALL_BOOL = 1213 "support_ims_conference_call_bool"; 1214 1215 /** 1216 * Determines whether the device will locally disconnect an IMS conference when the participant 1217 * count drops to zero. When {@code true}, it is assumed the carrier does NOT disconnect a 1218 * conference when the participant count drops to zero and that the device must do this by 1219 * disconnecting the conference locally. When {@code false}, it is assumed that the carrier 1220 * is responsible for disconnecting the conference when there are no longer any participants 1221 * present. 1222 * <p> 1223 * Note: both {@link #KEY_SUPPORT_IMS_CONFERENCE_CALL_BOOL} and 1224 * {@link #KEY_SUPPORT_IMS_CONFERENCE_EVENT_PACKAGE_BOOL} must be true for this configuration to 1225 * have any effect. 1226 * <p> 1227 * Defaults to {@code false}, meaning the carrier network is responsible for disconnecting an 1228 * empty IMS conference. 1229 * @hide 1230 */ 1231 public static final String KEY_LOCAL_DISCONNECT_EMPTY_IMS_CONFERENCE_BOOL = 1232 "local_disconnect_empty_ims_conference_bool"; 1233 1234 /** 1235 * Determines whether video conference calls are supported by a carrier. When {@code true}, 1236 * video calls can be merged into conference calls, {@code false} otherwiwse. 1237 * <p> 1238 * Note: even if video conference calls are not supported, audio calls may be merged into a 1239 * conference if {@link #KEY_SUPPORT_CONFERENCE_CALL_BOOL} is {@code true}. 1240 * @hide 1241 */ 1242 public static final String KEY_SUPPORT_VIDEO_CONFERENCE_CALL_BOOL = 1243 "support_video_conference_call_bool"; 1244 1245 /** 1246 * Determine whether user can toggle Enhanced 4G LTE Mode in Settings. 1247 */ 1248 public static final String KEY_EDITABLE_ENHANCED_4G_LTE_BOOL = "editable_enhanced_4g_lte_bool"; 1249 1250 /** 1251 * Determines whether the Enhanced 4G LTE toggle will be shown in the settings. When this 1252 * option is {@code true}, the toggle will be hidden regardless of whether the device and 1253 * carrier supports 4G LTE or not. 1254 */ 1255 public static final String KEY_HIDE_ENHANCED_4G_LTE_BOOL = "hide_enhanced_4g_lte_bool"; 1256 1257 /** 1258 * Sets the default state for the "Enhanced 4G LTE" or "Advanced Calling" mode toggle set by the 1259 * user. When this is {@code true}, this mode by default is on, otherwise if {@code false}, 1260 * this mode by default is off. 1261 */ 1262 public static final String KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL = 1263 "enhanced_4g_lte_on_by_default_bool"; 1264 1265 /** 1266 * Determine whether IMS apn can be shown. 1267 */ 1268 public static final String KEY_HIDE_IMS_APN_BOOL = "hide_ims_apn_bool"; 1269 1270 /** 1271 * Determine whether preferred network type can be shown. 1272 */ 1273 public static final String KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL = "hide_preferred_network_type_bool"; 1274 1275 /** 1276 * String array for package names that need to be enabled for this carrier. 1277 * If user has explicitly disabled some packages in the list, won't re-enable. 1278 * Other carrier specific apps which are not in this list may be disabled for current carrier, 1279 * and only be re-enabled when this config for another carrier includes it. 1280 * 1281 * @hide 1282 */ 1283 public static final String KEY_ENABLE_APPS_STRING_ARRAY = "enable_apps_string_array"; 1284 1285 /** 1286 * Determine whether user can switch Wi-Fi preferred or Cellular preferred 1287 * in calling preference. 1288 * Some operators support Wi-Fi Calling only, not VoLTE. 1289 * They don't need "Cellular preferred" option. 1290 * In this case, set uneditable attribute for preferred preference. 1291 */ 1292 public static final String KEY_EDITABLE_WFC_MODE_BOOL = "editable_wfc_mode_bool"; 1293 1294 /** 1295 * Flag to indicate if Wi-Fi needs to be disabled in ECBM. 1296 */ 1297 public static final String KEY_CONFIG_WIFI_DISABLE_IN_ECBM = "config_wifi_disable_in_ecbm"; 1298 1299 /** 1300 * List operator-specific error codes and indices of corresponding error strings in 1301 * wfcOperatorErrorAlertMessages and wfcOperatorErrorNotificationMessages. 1302 * 1303 * Example: "REG09|0" specifies error code "REG09" and index "0". This index will be 1304 * used to find alert and notification messages in wfcOperatorErrorAlertMessages and 1305 * wfcOperatorErrorNotificationMessages. 1306 * 1307 * @hide 1308 */ 1309 public static final String KEY_WFC_OPERATOR_ERROR_CODES_STRING_ARRAY = 1310 "wfc_operator_error_codes_string_array"; 1311 1312 /** 1313 * Indexes of SPN format strings in wfcSpnFormats. 1314 * 1315 * <p>Available options are: 1316 * <ul> 1317 * <li> 0: %s</li> 1318 * <li> 1: %s Wi-Fi Calling</li> 1319 * <li> 2: WLAN Call</li> 1320 * <li> 3: %s WLAN Call</li> 1321 * <li> 4: %s Wi-Fi</li> 1322 * <li> 5: WiFi Calling | %s</li> 1323 * <li> 6: %s VoWifi</li> 1324 * <li> 7: Wi-Fi Calling</li> 1325 * <li> 8: Wi-Fi</li> 1326 * <li> 9: WiFi Calling</li> 1327 * <li> 10: VoWifi</li> 1328 * <li> 11: %s WiFi Calling</li> 1329 * @hide 1330 */ 1331 public static final String KEY_WFC_SPN_FORMAT_IDX_INT = "wfc_spn_format_idx_int"; 1332 1333 /** 1334 * Indexes of data SPN format strings in wfcSpnFormats. 1335 * 1336 * @see KEY_WFC_SPN_FORMAT_IDX_INT for available options. 1337 * @hide 1338 */ 1339 public static final String KEY_WFC_DATA_SPN_FORMAT_IDX_INT = "wfc_data_spn_format_idx_int"; 1340 1341 /** 1342 * Indexes of SPN format strings in wfcSpnFormats used during flight mode. 1343 * 1344 * Set to -1 to use the value from KEY_WFC_SPN_FORMAT_IDX_INT also in this case. 1345 * @see KEY_WFC_SPN_FORMAT_IDX_INT for other available options. 1346 * @hide 1347 */ 1348 public static final String KEY_WFC_FLIGHT_MODE_SPN_FORMAT_IDX_INT = 1349 "wfc_flight_mode_spn_format_idx_int"; 1350 1351 /** 1352 * Use root locale when reading wfcSpnFormats. 1353 * 1354 * If true, then the root locale will always be used when reading wfcSpnFormats. This means the 1355 * non localized version of wfcSpnFormats will be used. 1356 * @hide 1357 */ 1358 public static final String KEY_WFC_SPN_USE_ROOT_LOCALE = "wfc_spn_use_root_locale"; 1359 1360 /** 1361 * The Component Name of the activity that can setup the emergency address for WiFi Calling 1362 * as per carrier requirement. 1363 */ 1364 public static final String KEY_WFC_EMERGENCY_ADDRESS_CARRIER_APP_STRING = 1365 "wfc_emergency_address_carrier_app_string"; 1366 1367 /** 1368 * Unconditionally override the carrier name string using #KEY_CARRIER_NAME_STRING. 1369 * 1370 * If true, then the carrier name string will be #KEY_CARRIER_NAME_STRING, unconditionally. 1371 * 1372 * <p>If false, then the override will be performed conditionally and the 1373 * #KEY_CARRIER_NAME_STRING will have the lowest-precedence; it will only be used in the event 1374 * that the name string would otherwise be empty, allowing it to serve as a last-resort. If 1375 * used, this value functions in place of the SPN on any/all ICC records for the corresponding 1376 * subscription. 1377 */ 1378 public static final String KEY_CARRIER_NAME_OVERRIDE_BOOL = "carrier_name_override_bool"; 1379 1380 /** 1381 * String to identify carrier name in CarrierConfig app. This string overrides SPN if 1382 * #KEY_CARRIER_NAME_OVERRIDE_BOOL is true; otherwise, it will be used if its value is provided 1383 * and SPN is unavailable 1384 */ 1385 public static final String KEY_CARRIER_NAME_STRING = "carrier_name_string"; 1386 1387 /** 1388 * To override wifi calling's carrier name string using ef_pnn from sim card when SPN in empty. 1389 * 1390 * @hide 1391 */ 1392 public static final String KEY_WFC_CARRIER_NAME_OVERRIDE_BY_PNN_BOOL = 1393 "wfc_carrier_name_override_by_pnn_bool"; 1394 1395 /** 1396 * Override the SPN Display Condition 2 integer bits (lsb). B2, B1 is the last two bits of the 1397 * spn display condition coding. 1398 * 1399 * The default value -1 mean this field is not set. 1400 * 1401 * B1 = 0: display of registered PLMN name not required when registered PLMN is either HPLMN 1402 * or a PLMN in the service provider PLMN list (see EF_SPDI). 1403 * B1 = 1: display of registered PLMN name required when registered PLMN is either HPLMN or a 1404 * PLMN in the service provider PLMN list(see EF_SPDI). 1405 * B2 = 0: display of the service provider name is required when registered PLMN is neither 1406 * HPLMN nor a PLMN in the service provider PLMN list(see EF_SPDI). 1407 * B2 = 1: display of the service provider name is not required when registered PLMN is neither 1408 * HPLMN nor a PLMN in the service provider PLMN list(see EF_SPDI). 1409 * 1410 * Reference: 3GPP TS 31.102 v15.2.0 Section 4.2.12 EF_SPN. 1411 * @hide 1412 */ 1413 public static final String KEY_SPN_DISPLAY_CONDITION_OVERRIDE_INT = 1414 "spn_display_condition_override_int"; 1415 1416 /** 1417 * Override the SPDI - an array of PLMN(MCC + MNC) strings. 1418 * 1419 * Reference: 3GPP TS 31.102 v15.2.0 Section 4.2.66 EF_SPDI. 1420 * @hide 1421 */ 1422 public static final String KEY_SPDI_OVERRIDE_STRING_ARRAY = "spdi_override_string_array"; 1423 1424 /** 1425 * Override the EHPLMNs - an array of PLMN(MCC + MNC) strings. 1426 * 1427 * To allow provision for multiple HPLMN codes, PLMN codes that are present within this list 1428 * shall replace the HPLMN code derived from the IMSI for PLMN selection purposes. 1429 * 1430 * Reference: 3GPP TS 31.102 v15.2.0 Section 4.2.84 EF_EHPLMN 1431 * Reference: 3GPP TS 23.122 v15.6.0 Section 1.2 Equivalent HPLMN list 1432 * @hide 1433 */ 1434 public static final String KEY_EHPLMN_OVERRIDE_STRING_ARRAY = "ehplmn_override_string_array"; 1435 1436 /** 1437 * Override the PNN - a string array of comma-separated alpha long and short names: 1438 * "alpha_long1,alpha_short1". 1439 * 1440 * Reference: 3GPP TS 31.102 v15.2.0 Section 4.2.58 EF_PNN. 1441 * @hide 1442 */ 1443 public static final String KEY_PNN_OVERRIDE_STRING_ARRAY = "pnn_override_string_array"; 1444 1445 /** 1446 * A string array of OPL records, each with comma-delimited data fields as follows: 1447 * "plmn1,lactac_start,lactac_end,index". 1448 * 1449 * Reference: 3GPP TS 31.102 v15.2.0 Section 4.2.59 EF_OPL. 1450 * @hide 1451 */ 1452 public static final String KEY_OPL_OVERRIDE_STRING_ARRAY = "opl_override_opl_string_array"; 1453 1454 /** 1455 * Allow ERI rules to select a carrier name display string when using 3gpp2 access technologies. 1456 * If this bit is not set, the carrier name display string will be selected from the carrier 1457 * display name resolver which doesn't apply the ERI rules. 1458 * 1459 * @hide 1460 */ 1461 public static final String KEY_ALLOW_ERI_BOOL = "allow_cdma_eri_bool"; 1462 1463 /** 1464 * If true, use the carrier display name(SPN and PLMN) from the carrier display name resolver. 1465 * 1466 * @hide 1467 */ 1468 public static final String KEY_ENABLE_CARRIER_DISPLAY_NAME_RESOLVER_BOOL = 1469 "enable_carrier_display_name_resolver_bool"; 1470 1471 /** 1472 * String to override sim country iso. 1473 * Sim country iso is based on sim MCC which is coarse and doesn't work with dual IMSI SIM where 1474 * a SIM can have multiple MCC from different countries. 1475 * Instead, each sim carrier should have a single country code, apply per carrier based iso 1476 * code as an override. The overridden value can be read from 1477 * {@link TelephonyManager#getSimCountryIso()} and {@link SubscriptionInfo#getCountryIso()} 1478 * 1479 * @hide 1480 */ 1481 public static final String KEY_SIM_COUNTRY_ISO_OVERRIDE_STRING = 1482 "sim_country_iso_override_string"; 1483 1484 /** 1485 * The Component Name of a carrier-provided CallScreeningService implementation. Telecom will 1486 * bind to {@link android.telecom.CallScreeningService} for ALL incoming calls and provide 1487 * the carrier 1488 * CallScreeningService with the opportunity to allow or block calls. 1489 * <p> 1490 * The String includes the package name/the class name. 1491 * Example: 1492 * <item>com.android.carrier/com.android.carrier.callscreeningserviceimpl</item> 1493 * <p> 1494 * Using {@link ComponentName#flattenToString()} to convert a ComponentName object to String. 1495 * Using {@link ComponentName#unflattenFromString(String)} to convert a String object to a 1496 * ComponentName. 1497 */ 1498 public static final String KEY_CARRIER_CALL_SCREENING_APP_STRING = "call_screening_app"; 1499 1500 /** 1501 * Override the registered PLMN name using #KEY_CDMA_HOME_REGISTERED_PLMN_NAME_STRING. 1502 * 1503 * If true, then the registered PLMN name (only for CDMA/CDMA-LTE and only when not roaming) 1504 * will be #KEY_CDMA_HOME_REGISTERED_PLMN_NAME_STRING. If false, or if phone type is not 1505 * CDMA/CDMA-LTE or if roaming, then #KEY_CDMA_HOME_REGISTERED_PLMN_NAME_STRING will be ignored. 1506 * @hide 1507 */ 1508 public static final String KEY_CDMA_HOME_REGISTERED_PLMN_NAME_OVERRIDE_BOOL = 1509 "cdma_home_registered_plmn_name_override_bool"; 1510 1511 /** 1512 * String to identify registered PLMN name in CarrierConfig app. This string overrides 1513 * registered PLMN name if #KEY_CDMA_HOME_REGISTERED_PLMN_NAME_OVERRIDE_BOOL is true, phone type 1514 * is CDMA/CDMA-LTE and device is not in roaming state; otherwise, it will be ignored. 1515 * @hide 1516 */ 1517 public static final String KEY_CDMA_HOME_REGISTERED_PLMN_NAME_STRING = 1518 "cdma_home_registered_plmn_name_string"; 1519 1520 /** 1521 * If this is true, the SIM card (through Customer Service Profile EF file) will be able to 1522 * prevent manual operator selection. If false, this SIM setting will be ignored and manual 1523 * operator selection will always be available. See CPHS4_2.WW6, CPHS B.4.7.1 for more 1524 * information 1525 */ 1526 public static final String KEY_CSP_ENABLED_BOOL = "csp_enabled_bool"; 1527 1528 /** 1529 * Allow user to add APNs 1530 */ 1531 public static final String KEY_ALLOW_ADDING_APNS_BOOL = "allow_adding_apns_bool"; 1532 1533 /** 1534 * APN types that user is not allowed to modify. 1535 */ 1536 public static final String KEY_READ_ONLY_APN_TYPES_STRING_ARRAY = 1537 "read_only_apn_types_string_array"; 1538 1539 /** 1540 * APN fields that user is not allowed to modify. 1541 */ 1542 public static final String KEY_READ_ONLY_APN_FIELDS_STRING_ARRAY = 1543 "read_only_apn_fields_string_array"; 1544 1545 /** 1546 * Default value of APN types field if not specified by user when adding/modifying an APN. 1547 */ 1548 public static final String KEY_APN_SETTINGS_DEFAULT_APN_TYPES_STRING_ARRAY = 1549 "apn_settings_default_apn_types_string_array"; 1550 1551 /** 1552 * Configs used for APN setup. 1553 */ 1554 public static final class Apn { 1555 /** Prefix of all Apn.KEY_* constants. */ 1556 public static final String KEY_PREFIX = "apn."; 1557 1558 /** IPv4 internet protocol */ 1559 public static final String PROTOCOL_IPV4 = "IP"; 1560 /** IPv6 internet protocol */ 1561 public static final String PROTOCOL_IPV6 = "IPV6"; 1562 /** IPv4 or IPv6 internet protocol */ 1563 public static final String PROTOCOL_IPV4V6 = "IPV4V6"; 1564 1565 /** 1566 * Default value of APN protocol field if not specified by user when adding/modifying 1567 * an APN. 1568 * 1569 * Available options are: {@link #PROTOCOL_IPV4}, {@link #PROTOCOL_IPV6}, 1570 * {@link #PROTOCOL_IPV4V6} 1571 */ 1572 public static final String KEY_SETTINGS_DEFAULT_PROTOCOL_STRING = 1573 KEY_PREFIX + "settings_default_protocol_string"; 1574 1575 /** 1576 * Default value of APN roaming protocol field if not specified by user when 1577 * adding/modifying an APN. 1578 * 1579 * Available options are: {@link #PROTOCOL_IPV4}, {@link #PROTOCOL_IPV6}, 1580 * {@link #PROTOCOL_IPV4V6} 1581 */ 1582 public static final String KEY_SETTINGS_DEFAULT_ROAMING_PROTOCOL_STRING = 1583 KEY_PREFIX + "settings_default_roaming_protocol_string"; 1584 Apn()1585 private Apn() {} 1586 getDefaults()1587 private static PersistableBundle getDefaults() { 1588 PersistableBundle defaults = new PersistableBundle(); 1589 defaults.putString(KEY_SETTINGS_DEFAULT_PROTOCOL_STRING, ""); 1590 defaults.putString(KEY_SETTINGS_DEFAULT_ROAMING_PROTOCOL_STRING, ""); 1591 return defaults; 1592 } 1593 } 1594 1595 /** 1596 * Boolean indicating if intent for emergency call state changes should be broadcast 1597 * @hide 1598 */ 1599 public static final String KEY_BROADCAST_EMERGENCY_CALL_STATE_CHANGES_BOOL = 1600 "broadcast_emergency_call_state_changes_bool"; 1601 1602 /** 1603 * Indicates whether STK LAUNCH_BROWSER command is disabled. 1604 * If {@code true}, then the browser will not be launched 1605 * on UI for the LAUNCH_BROWSER STK command. 1606 * @hide 1607 */ 1608 public static final String KEY_STK_DISABLE_LAUNCH_BROWSER_BOOL = 1609 "stk_disable_launch_browser_bool"; 1610 1611 /** 1612 * Boolean indicating if the helper text for STK GET INKEY/INPUT commands with the digit only 1613 * mode is displayed on the input screen. 1614 * The helper text is dispayed regardless of the input mode, if {@code false}. 1615 * @hide 1616 */ 1617 public static final String KEY_HIDE_DIGITS_HELPER_TEXT_ON_STK_INPUT_SCREEN_BOOL = 1618 "hide_digits_helper_text_on_stk_input_screen_bool"; 1619 1620 /** 1621 * Boolean indicating if show data RAT icon on status bar even when data is disabled. 1622 */ 1623 public static final String KEY_ALWAYS_SHOW_DATA_RAT_ICON_BOOL = 1624 "always_show_data_rat_icon_bool"; 1625 1626 /** 1627 * Boolean indicating if default data account should show LTE or 4G icon. 1628 */ 1629 public static final String KEY_SHOW_4G_FOR_LTE_DATA_ICON_BOOL = 1630 "show_4g_for_lte_data_icon_bool"; 1631 1632 /** 1633 * Boolean indicating if default data account should show 4G icon when in 3G. 1634 */ 1635 public static final String KEY_SHOW_4G_FOR_3G_DATA_ICON_BOOL = 1636 "show_4g_for_3g_data_icon_bool"; 1637 1638 /** 1639 * Boolean indicating if LTE+ icon should be shown if available. 1640 */ 1641 public static final String KEY_HIDE_LTE_PLUS_DATA_ICON_BOOL = 1642 "hide_lte_plus_data_icon_bool"; 1643 1644 /** 1645 * The string is used to filter redundant string from PLMN Network Name that's supplied by 1646 * specific carrier. 1647 * 1648 * @hide 1649 */ 1650 public static final String KEY_OPERATOR_NAME_FILTER_PATTERN_STRING = 1651 "operator_name_filter_pattern_string"; 1652 1653 /** 1654 * The string is used to compare with operator name. 1655 * If it matches the pattern then show specific data icon. 1656 * @hide 1657 */ 1658 public static final String KEY_SHOW_CARRIER_DATA_ICON_PATTERN_STRING = 1659 "show_carrier_data_icon_pattern_string"; 1660 1661 /** 1662 * Boolean to decide whether to show precise call failed cause to user 1663 * @hide 1664 */ 1665 public static final String KEY_SHOW_PRECISE_FAILED_CAUSE_BOOL = 1666 "show_precise_failed_cause_bool"; 1667 1668 /** 1669 * Boolean to decide whether NR is enabled. 1670 * @hide 1671 */ 1672 public static final String KEY_NR_ENABLED_BOOL = "nr_enabled_bool"; 1673 1674 /** 1675 * Boolean to decide whether LTE is enabled. 1676 */ 1677 public static final String KEY_LTE_ENABLED_BOOL = "lte_enabled_bool"; 1678 1679 /** 1680 * Boolean to decide whether TD-SCDMA is supported. 1681 */ 1682 public static final String KEY_SUPPORT_TDSCDMA_BOOL = "support_tdscdma_bool"; 1683 1684 /** 1685 * A list of mcc/mnc that support TD-SCDMA for device when connect to the roaming network. 1686 */ 1687 public static final String KEY_SUPPORT_TDSCDMA_ROAMING_NETWORKS_STRING_ARRAY = 1688 "support_tdscdma_roaming_networks_string_array"; 1689 1690 /** 1691 * Boolean to decide whether world mode is enabled. 1692 */ 1693 public static final String KEY_WORLD_MODE_ENABLED_BOOL = "world_mode_enabled_bool"; 1694 1695 /** 1696 * Flatten {@link android.content.ComponentName} of the carrier's settings activity. 1697 */ 1698 public static final String KEY_CARRIER_SETTINGS_ACTIVITY_COMPONENT_NAME_STRING = 1699 "carrier_settings_activity_component_name_string"; 1700 1701 // These variables are used by the MMS service and exposed through another API, 1702 // SmsManager. The variable names and string values are copied from there. 1703 public static final String KEY_MMS_ALIAS_ENABLED_BOOL = "aliasEnabled"; 1704 public static final String KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL = "allowAttachAudio"; 1705 public static final String KEY_MMS_APPEND_TRANSACTION_ID_BOOL = "enabledTransID"; 1706 public static final String KEY_MMS_GROUP_MMS_ENABLED_BOOL = "enableGroupMms"; 1707 public static final String KEY_MMS_MMS_DELIVERY_REPORT_ENABLED_BOOL = "enableMMSDeliveryReports"; 1708 public static final String KEY_MMS_MMS_ENABLED_BOOL = "enabledMMS"; 1709 public static final String KEY_MMS_MMS_READ_REPORT_ENABLED_BOOL = "enableMMSReadReports"; 1710 public static final String KEY_MMS_MULTIPART_SMS_ENABLED_BOOL = "enableMultipartSMS"; 1711 public static final String KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL = "enabledNotifyWapMMSC"; 1712 public static final String KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL = "sendMultipartSmsAsSeparateMessages"; 1713 public static final String KEY_MMS_SHOW_CELL_BROADCAST_APP_LINKS_BOOL = "config_cellBroadcastAppLinks"; 1714 public static final String KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL = "enableSMSDeliveryReports"; 1715 public static final String KEY_MMS_SUPPORT_HTTP_CHARSET_HEADER_BOOL = "supportHttpCharsetHeader"; 1716 public static final String KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL = "supportMmsContentDisposition"; 1717 public static final String KEY_MMS_ALIAS_MAX_CHARS_INT = "aliasMaxChars"; 1718 public static final String KEY_MMS_ALIAS_MIN_CHARS_INT = "aliasMinChars"; 1719 public static final String KEY_MMS_HTTP_SOCKET_TIMEOUT_INT = "httpSocketTimeout"; 1720 public static final String KEY_MMS_MAX_IMAGE_HEIGHT_INT = "maxImageHeight"; 1721 public static final String KEY_MMS_MAX_IMAGE_WIDTH_INT = "maxImageWidth"; 1722 public static final String KEY_MMS_MAX_MESSAGE_SIZE_INT = "maxMessageSize"; 1723 public static final String KEY_MMS_MESSAGE_TEXT_MAX_SIZE_INT = "maxMessageTextSize"; 1724 public static final String KEY_MMS_RECIPIENT_LIMIT_INT = "recipientLimit"; 1725 public static final String KEY_MMS_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD_INT = "smsToMmsTextLengthThreshold"; 1726 public static final String KEY_MMS_SMS_TO_MMS_TEXT_THRESHOLD_INT = "smsToMmsTextThreshold"; 1727 public static final String KEY_MMS_SUBJECT_MAX_LENGTH_INT = "maxSubjectLength"; 1728 public static final String KEY_MMS_EMAIL_GATEWAY_NUMBER_STRING = "emailGatewayNumber"; 1729 public static final String KEY_MMS_HTTP_PARAMS_STRING = "httpParams"; 1730 public static final String KEY_MMS_NAI_SUFFIX_STRING = "naiSuffix"; 1731 public static final String KEY_MMS_UA_PROF_TAG_NAME_STRING = "uaProfTagName"; 1732 public static final String KEY_MMS_UA_PROF_URL_STRING = "uaProfUrl"; 1733 public static final String KEY_MMS_USER_AGENT_STRING = "userAgent"; 1734 /** 1735 * If true, add "Connection: close" header to MMS HTTP requests so the connection 1736 * is immediately closed (disabling keep-alive). 1737 */ 1738 public static final String KEY_MMS_CLOSE_CONNECTION_BOOL = "mmsCloseConnection"; 1739 1740 /** 1741 * The flatten {@link android.content.ComponentName componentName} of the activity that can 1742 * setup the device and activate with the network per carrier requirements. 1743 * 1744 * e.g, com.google.android.carrierPackageName/.CarrierActivityName 1745 * @hide 1746 */ 1747 @SystemApi 1748 public static final String KEY_CARRIER_SETUP_APP_STRING = "carrier_setup_app_string"; 1749 1750 /** 1751 * Defines carrier-specific actions which act upon 1752 * com.android.internal.telephony.CARRIER_SIGNAL_REDIRECTED, used for customization of the 1753 * default carrier app. 1754 * Format: "CARRIER_ACTION_IDX, ..." 1755 * Where {@code CARRIER_ACTION_IDX} is an integer defined in 1756 * com.android.carrierdefaultapp.CarrierActionUtils 1757 * Example: 1758 * com.android.carrierdefaultapp.CarrierActionUtils#CARRIER_ACTION_DISABLE_METERED_APNS 1759 * disables metered APNs 1760 */ 1761 @SuppressLint("IntentName") 1762 public static final String KEY_CARRIER_DEFAULT_ACTIONS_ON_REDIRECTION_STRING_ARRAY = 1763 "carrier_default_actions_on_redirection_string_array"; 1764 1765 /** 1766 * Defines carrier-specific actions which act upon CARRIER_SIGNAL_REQUEST_NETWORK_FAILED 1767 * and configured signal args: 1768 * android.telephony.TelephonyManager#EXTRA_APN_TYPE, 1769 * android.telephony.TelephonyManager#EXTRA_ERROR_CODE 1770 * used for customization of the default carrier app 1771 * Format: 1772 * { 1773 * "APN_1, ERROR_CODE_1 : CARRIER_ACTION_IDX_1, CARRIER_ACTION_IDX_2...", 1774 * "APN_1, ERROR_CODE_2 : CARRIER_ACTION_IDX_1 " 1775 * } 1776 * Where {@code APN_1} is a string defined in 1777 * com.android.internal.telephony.PhoneConstants 1778 * Example: "default" 1779 * 1780 * {@code ERROR_CODE_1} is an integer defined in android.telephony.DataFailCause 1781 * Example: 1782 * android.telephony.DataFailCause#MISSING_UNKNOWN_APN 1783 * 1784 * {@code CARRIER_ACTION_IDX_1} is an integer defined in 1785 * com.android.carrierdefaultapp.CarrierActionUtils 1786 * Example: 1787 * com.android.carrierdefaultapp.CarrierActionUtils#CARRIER_ACTION_DISABLE_METERED_APNS 1788 * disables metered APNs 1789 */ 1790 @SuppressLint("IntentName") 1791 public static final String KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAY = 1792 "carrier_default_actions_on_dcfailure_string_array"; 1793 1794 /** 1795 * Defines carrier-specific actions which act upon CARRIER_SIGNAL_RESET, 1796 * used for customization of the default carrier app. 1797 * Format: "CARRIER_ACTION_IDX, ..." 1798 * Where {@code CARRIER_ACTION_IDX} is an integer defined in 1799 * com.android.carrierdefaultapp.CarrierActionUtils 1800 * Example: 1801 * com.android.carrierdefaultapp.CarrierActionUtils#CARRIER_ACTION_CANCEL_ALL_NOTIFICATIONS 1802 * clears all notifications on reset 1803 */ 1804 @SuppressLint("IntentName") 1805 public static final String KEY_CARRIER_DEFAULT_ACTIONS_ON_RESET = 1806 "carrier_default_actions_on_reset_string_array"; 1807 1808 /** 1809 * Defines carrier-specific actions which act upon 1810 * com.android.internal.telephony.CARRIER_SIGNAL_DEFAULT_NETWORK_AVAILABLE, 1811 * used for customization of the default carrier app. 1812 * Format: 1813 * { 1814 * "true : CARRIER_ACTION_IDX_1", 1815 * "false: CARRIER_ACTION_IDX_2" 1816 * } 1817 * Where {@code true} is a boolean indicates default network available/unavailable 1818 * Where {@code CARRIER_ACTION_IDX} is an integer defined in 1819 * com.android.carrierdefaultapp.CarrierActionUtils CarrierActionUtils 1820 * Example: 1821 * com.android.carrierdefaultapp.CarrierActionUtils#CARRIER_ACTION_ENABLE_DEFAULT_URL_HANDLER 1822 * enables the app as the default URL handler 1823 */ 1824 @SuppressLint("IntentName") 1825 public static final String KEY_CARRIER_DEFAULT_ACTIONS_ON_DEFAULT_NETWORK_AVAILABLE = 1826 "carrier_default_actions_on_default_network_available_string_array"; 1827 1828 /** 1829 * Defines a list of acceptable redirection url for default carrier app. 1830 */ 1831 public static final String KEY_CARRIER_DEFAULT_REDIRECTION_URL_STRING_ARRAY = 1832 "carrier_default_redirection_url_string_array"; 1833 1834 /** 1835 * Each config includes the componentName of the carrier app, followed by a list of interesting 1836 * signals(declared in the manifest) which could wake up the app. 1837 * @see com.android.internal.telephony.TelephonyIntents 1838 * Example: 1839 * <item>com.google.android.carrierAPK/.CarrierSignalReceiverA: 1840 * com.android.internal.telephony.CARRIER_SIGNAL_REDIRECTED, 1841 * com.android.internal.telephony.CARRIER_SIGNAL_PCO_VALUE 1842 * </item> 1843 * <item>com.google.android.carrierAPK/.CarrierSignalReceiverB: 1844 * com.android.internal.telephony.CARRIER_SIGNAL_PCO_VALUE 1845 * </item> 1846 * @hide 1847 */ 1848 public static final String KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY = 1849 "carrier_app_wake_signal_config"; 1850 1851 /** 1852 * Each config includes the componentName of the carrier app, followed by a list of interesting 1853 * signals for the app during run-time. The list of signals(intents) are targeting on run-time 1854 * broadcast receivers only, aiming to avoid unnecessary wake-ups and should not be declared in 1855 * the app's manifest. 1856 * @see com.android.internal.telephony.TelephonyIntents 1857 * Example: 1858 * <item>com.google.android.carrierAPK/.CarrierSignalReceiverA: 1859 * com.android.internal.telephony.CARRIER_SIGNAL_REQUEST_NETWORK_FAILED, 1860 * com.android.internal.telephony.CARRIER_SIGNAL_PCO_VALUE 1861 * </item> 1862 * <item>com.google.android.carrierAPK/.CarrierSignalReceiverB: 1863 * com.android.internal.telephony.CARRIER_SIGNAL_REQUEST_NETWORK_FAILED 1864 * </item> 1865 * @hide 1866 */ 1867 public static final String KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_ARRAY = 1868 "carrier_app_no_wake_signal_config"; 1869 1870 /** 1871 * Determines whether the carrier app needed to be involved when users try to finish setting up 1872 * the SIM card to get network service. 1873 */ 1874 public static final String KEY_CARRIER_APP_REQUIRED_DURING_SIM_SETUP_BOOL = 1875 "carrier_app_required_during_setup_bool"; 1876 1877 /** 1878 * Default value for {@link Settings.Global#DATA_ROAMING} 1879 * @hide 1880 */ 1881 public static final String KEY_CARRIER_DEFAULT_DATA_ROAMING_ENABLED_BOOL = 1882 "carrier_default_data_roaming_enabled_bool"; 1883 1884 /** 1885 * Determines whether the carrier supports making non-emergency phone calls while the phone is 1886 * in emergency callback mode. Default value is {@code true}, meaning that non-emergency calls 1887 * are allowed in emergency callback mode. 1888 */ 1889 public static final String KEY_ALLOW_NON_EMERGENCY_CALLS_IN_ECM_BOOL = 1890 "allow_non_emergency_calls_in_ecm_bool"; 1891 1892 /** 1893 * Time that the telephony framework stays in "emergency SMS mode" after an emergency SMS is 1894 * sent to the network. This is used by carriers to configure the time 1895 * {@link TelephonyManager#isInEmergencySmsMode()} will be true after an emergency SMS is sent. 1896 * This is used by GNSS to override user location permissions so that the carrier network can 1897 * get the user's location for emergency services. 1898 * 1899 * The default is 0, which means that this feature is disabled. The maximum value for this timer 1900 * is 300000 mS (5 minutes). 1901 * 1902 * @hide 1903 */ 1904 public static final String KEY_EMERGENCY_SMS_MODE_TIMER_MS_INT = 1905 "emergency_sms_mode_timer_ms_int"; 1906 1907 /** 1908 * Flag indicating whether to allow carrier video calls to emergency numbers. 1909 * When {@code true}, video calls to emergency numbers will be allowed. When {@code false}, 1910 * video calls to emergency numbers will be initiated as audio-only calls instead. 1911 */ 1912 public static final String KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL = 1913 "allow_emergency_video_calls_bool"; 1914 1915 /** 1916 * Flag indicating whether or not an ongoing call will be held when an outgoing emergency call 1917 * is placed. If true, ongoing calls will be put on hold when an emergency call is placed. If 1918 * false, placing an emergency call will trigger the disconnect of all ongoing calls before 1919 * the emergency call is placed. 1920 */ 1921 public static final String KEY_ALLOW_HOLD_CALL_DURING_EMERGENCY_BOOL = 1922 "allow_hold_call_during_emergency_bool"; 1923 1924 /** 1925 * Flag indicating whether the carrier supports RCS presence indication for 1926 * User Capability Exchange (UCE). When presence is supported, the device should use the 1927 * {@link android.provider.ContactsContract.Data#CARRIER_PRESENCE} bit mask and set the 1928 * {@link android.provider.ContactsContract.Data#CARRIER_PRESENCE_VT_CAPABLE} bit to indicate 1929 * whether each contact supports video calling. The UI is made aware that presence is enabled 1930 * via {@link android.telecom.PhoneAccount#CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE} 1931 * and can choose to hide or show the video calling icon based on whether a contact supports 1932 * video. 1933 */ 1934 public static final String KEY_USE_RCS_PRESENCE_BOOL = "use_rcs_presence_bool"; 1935 1936 /** 1937 * Flag indicating whether the carrier supports RCS SIP OPTIONS indication for 1938 * User Capability Exchange (UCE). 1939 */ 1940 public static final String KEY_USE_RCS_SIP_OPTIONS_BOOL = "use_rcs_sip_options_bool"; 1941 1942 /** 1943 * The duration in seconds that platform call and message blocking is disabled after the user 1944 * contacts emergency services. Platform considers values for below cases: 1945 * 1) 0 <= VALUE <= 604800(one week): the value will be used as the duration directly. 1946 * 2) VALUE > 604800(one week): will use the default value as duration instead. 1947 * 3) VALUE < 0: block will be disabled forever until user re-eanble block manually, 1948 * the suggested value to disable forever is -1. 1949 * See {@code android.provider.BlockedNumberContract#notifyEmergencyContact(Context)} 1950 * See {@code android.provider.BlockedNumberContract#isBlocked(Context, String)}. 1951 */ 1952 public static final String KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT = 1953 "duration_blocking_disabled_after_emergency_int"; 1954 1955 /** 1956 * Determines whether to enable enhanced call blocking feature on the device. 1957 * android.provider.BlockedNumberContract.SystemContract#ENHANCED_SETTING_KEY_BLOCK_UNREGISTERED 1958 * android.provider.BlockedNumberContract.SystemContract#ENHANCED_SETTING_KEY_BLOCK_PRIVATE 1959 * android.provider.BlockedNumberContract.SystemContract#ENHANCED_SETTING_KEY_BLOCK_PAYPHONE 1960 * android.provider.BlockedNumberContract.SystemContract#ENHANCED_SETTING_KEY_BLOCK_UNKNOWN 1961 * 1962 * <p> 1963 * 1. For Single SIM(SS) device, it can be customized in both carrier_config_mccmnc.xml 1964 * and vendor.xml. 1965 * <p> 1966 * 2. For Dual SIM(DS) device, it should be customized in vendor.xml, since call blocking 1967 * function is used regardless of SIM. 1968 * <p> 1969 * If {@code true} enable enhanced call blocking feature on the device, {@code false} otherwise. 1970 */ 1971 public static final String KEY_SUPPORT_ENHANCED_CALL_BLOCKING_BOOL = 1972 "support_enhanced_call_blocking_bool"; 1973 1974 /** 1975 * For carriers which require an empty flash to be sent before sending the normal 3-way calling 1976 * flash, the duration in milliseconds of the empty flash to send. When {@code 0}, no empty 1977 * flash is sent. 1978 */ 1979 public static final String KEY_CDMA_3WAYCALL_FLASH_DELAY_INT = "cdma_3waycall_flash_delay_int"; 1980 1981 /** 1982 * The CDMA roaming mode (aka CDMA system select). 1983 * 1984 * <p>The value should be one of the CDMA_ROAMING_MODE_ constants in {@link TelephonyManager}. 1985 * Values other than {@link TelephonyManager#CDMA_ROAMING_MODE_RADIO_DEFAULT} (which is the 1986 * default) will take precedence over user selection. 1987 * 1988 * @see TelephonyManager#CDMA_ROAMING_MODE_RADIO_DEFAULT 1989 * @see TelephonyManager#CDMA_ROAMING_MODE_HOME 1990 * @see TelephonyManager#CDMA_ROAMING_MODE_AFFILIATED 1991 * @see TelephonyManager#CDMA_ROAMING_MODE_ANY 1992 */ 1993 public static final String KEY_CDMA_ROAMING_MODE_INT = "cdma_roaming_mode_int"; 1994 1995 /** 1996 * Determines whether 1X voice calls is supported for some CDMA carriers. 1997 * Default value is true. 1998 * @hide 1999 */ 2000 @SystemApi 2001 public static final String KEY_SUPPORT_CDMA_1X_VOICE_CALLS_BOOL = 2002 "support_cdma_1x_voice_calls_bool"; 2003 2004 /** 2005 * Boolean indicating if support is provided for directly dialing FDN number from FDN list. 2006 * If false, this feature is not supported. 2007 * @hide 2008 */ 2009 public static final String KEY_SUPPORT_DIRECT_FDN_DIALING_BOOL = 2010 "support_direct_fdn_dialing_bool"; 2011 2012 /** 2013 * Int indicating the max number length for FDN 2014 * @hide 2015 */ 2016 public static final String KEY_FDN_NUMBER_LENGTH_LIMIT_INT = 2017 "fdn_number_length_limit_int"; 2018 2019 /** 2020 * Report IMEI as device id even if it's a CDMA/LTE phone. 2021 * 2022 * @hide 2023 */ 2024 public static final String KEY_FORCE_IMEI_BOOL = "force_imei_bool"; 2025 2026 /** 2027 * The families of Radio Access Technologies that will get clustered and ratcheted, 2028 * ie, we will report transitions up within the family, but not down until we change 2029 * cells. This prevents flapping between base technologies and higher techs that are 2030 * granted on demand within the cell. 2031 * @hide 2032 */ 2033 public static final String KEY_RATCHET_RAT_FAMILIES = 2034 "ratchet_rat_families"; 2035 2036 /** 2037 * Flag indicating whether some telephony logic will treat a call which was formerly a video 2038 * call as if it is still a video call. When {@code true}: 2039 * <p> 2040 * Logic which will automatically drop a video call which takes place over WIFI when a 2041 * voice call is answered (see {@link #KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL}. 2042 * <p> 2043 * Logic which determines whether the user can use TTY calling. 2044 */ 2045 public static final String KEY_TREAT_DOWNGRADED_VIDEO_CALLS_AS_VIDEO_CALLS_BOOL = 2046 "treat_downgraded_video_calls_as_video_calls_bool"; 2047 2048 /** 2049 * When {@code true}, if the user is in an ongoing video call over WIFI and answers an incoming 2050 * audio call, the video call will be disconnected before the audio call is answered. This is 2051 * in contrast to the usual expected behavior where a foreground video call would be put into 2052 * the background and held when an incoming audio call is answered. 2053 */ 2054 public static final String KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL = 2055 "drop_video_call_when_answering_audio_call_bool"; 2056 2057 /** 2058 * Flag indicating whether the carrier supports merging wifi calls when VoWIFI is disabled. 2059 * This can happen in the case of a carrier which allows offloading video calls to WIFI 2060 * separately of whether voice over wifi is enabled. In such a scenario when two video calls 2061 * are downgraded to voice, they remain over wifi. However, if VoWIFI is disabled, these calls 2062 * cannot be merged. 2063 */ 2064 public static final String KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL = 2065 "allow_merge_wifi_calls_when_vowifi_off_bool"; 2066 2067 /** 2068 * Flag indicating whether the carrier supports the Hold command while in an IMS call. 2069 * <p> 2070 * The device configuration value {@code config_device_respects_hold_carrier_config} ultimately 2071 * controls whether this carrier configuration option is used. Where 2072 * {@code config_device_respects_hold_carrier_config} is false, the value of the 2073 * {@link #KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL} carrier configuration option is ignored. 2074 * @hide 2075 */ 2076 public static final String KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL = "allow_hold_in_ims_call"; 2077 2078 /** 2079 * Flag indicating whether the carrier supports call deflection for an incoming IMS call. 2080 */ 2081 public static final String KEY_CARRIER_ALLOW_DEFLECT_IMS_CALL_BOOL = 2082 "carrier_allow_deflect_ims_call_bool"; 2083 2084 /** 2085 * Flag indicating whether the carrier supports explicit call transfer for an IMS call. 2086 * @hide 2087 */ 2088 public static final String KEY_CARRIER_ALLOW_TRANSFER_IMS_CALL_BOOL = 2089 "carrier_allow_transfer_ims_call_bool"; 2090 2091 /** 2092 * Flag indicating whether the carrier always wants to play an "on-hold" tone when a call has 2093 * been remotely held. 2094 * <p> 2095 * When {@code true}, if the IMS stack indicates that the call session has been held, a signal 2096 * will be sent from Telephony to play an audible "on-hold" tone played to the user. 2097 * When {@code false}, a hold tone will only be played if the audio session becomes inactive. 2098 * @hide 2099 */ 2100 public static final String KEY_ALWAYS_PLAY_REMOTE_HOLD_TONE_BOOL = 2101 "always_play_remote_hold_tone_bool"; 2102 2103 /** 2104 * When true, the Telephony stack will automatically turn off airplane mode and retry a wifi 2105 * emergency call over the cell network if the initial attempt at dialing was met with a SIP 308 2106 * error. 2107 * @hide 2108 */ 2109 public static final String KEY_AUTO_RETRY_FAILED_WIFI_EMERGENCY_CALL = 2110 "auto_retry_failed_wifi_emergency_call"; 2111 2112 /** 2113 * When true, indicates that adding a call is disabled when there is an ongoing video call 2114 * or when there is an ongoing call on wifi which was downgraded from video and VoWifi is 2115 * turned off. 2116 */ 2117 public static final String KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL = 2118 "allow_add_call_during_video_call"; 2119 2120 /** 2121 * When {@code true}, indicates that video calls can be put on hold in order to swap to another 2122 * call (e.g. a new outgoing call). 2123 * When {@code false}, indicates that video calls will be disconnected when swapping to another 2124 * call. 2125 * <p> 2126 * This is {@code true} by default. 2127 */ 2128 public static final String KEY_ALLOW_HOLD_VIDEO_CALL_BOOL = 2129 "allow_hold_video_call_bool"; 2130 2131 /** 2132 * When true, indicates that the HD audio icon in the in-call screen should not be shown for 2133 * VoWifi calls. 2134 * @hide 2135 */ 2136 public static final String KEY_WIFI_CALLS_CAN_BE_HD_AUDIO = "wifi_calls_can_be_hd_audio"; 2137 2138 /** 2139 * When true, indicates that the HD audio icon in the in-call screen should not be shown for 2140 * video calls. 2141 * @hide 2142 */ 2143 public static final String KEY_VIDEO_CALLS_CAN_BE_HD_AUDIO = "video_calls_can_be_hd_audio"; 2144 2145 /** 2146 * When true, indicates that the HD audio icon in the in-call screen should be shown for 2147 * GSM/CDMA calls. 2148 * @hide 2149 */ 2150 public static final String KEY_GSM_CDMA_CALLS_CAN_BE_HD_AUDIO = 2151 "gsm_cdma_calls_can_be_hd_audio"; 2152 2153 /** 2154 * Whether system apps are allowed to use fallback if carrier video call is not available. 2155 * Defaults to {@code true}. 2156 */ 2157 public static final String KEY_ALLOW_VIDEO_CALLING_FALLBACK_BOOL = 2158 "allow_video_calling_fallback_bool"; 2159 2160 /** 2161 * Defines operator-specific {@link ImsReasonInfo} mappings. 2162 * 2163 * Format: "ORIGINAL_CODE|MESSAGE|NEW_CODE" 2164 * Where {@code ORIGINAL_CODE} corresponds to a {@link ImsReasonInfo#getCode()} code, 2165 * {@code MESSAGE} corresponds to an expected {@link ImsReasonInfo#getExtraMessage()} string, 2166 * and {@code NEW_CODE} is the new {@code ImsReasonInfo#CODE_*} which this combination of 2167 * original code and message shall be remapped to. 2168 * 2169 * Note: If {@code *} is specified for the original code, any ImsReasonInfo with the matching 2170 * {@code MESSAGE} will be remapped to {@code NEW_CODE}. 2171 * 2172 * Example: "501|call completion elsewhere|1014" 2173 * When the {@link ImsReasonInfo#getCode()} is {@link ImsReasonInfo#CODE_USER_TERMINATED} and 2174 * the {@link ImsReasonInfo#getExtraMessage()} is {@code "call completion elsewhere"}, 2175 * {@link ImsReasonInfo#CODE_ANSWERED_ELSEWHERE} shall be used as the {@link ImsReasonInfo} 2176 * code instead. 2177 * @hide 2178 */ 2179 public static final String KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY = 2180 "ims_reasoninfo_mapping_string_array"; 2181 2182 /** 2183 * When {@code false}, use default title for Enhanced 4G LTE Mode settings. 2184 * When {@code true}, use the variant. 2185 * @hide 2186 * @deprecated use {@link #KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT}. 2187 */ 2188 @Deprecated 2189 public static final String KEY_ENHANCED_4G_LTE_TITLE_VARIANT_BOOL = 2190 "enhanced_4g_lte_title_variant_bool"; 2191 2192 /** 2193 * The index indicates the carrier specified title string of Enhanced 4G LTE Mode settings. 2194 * Default value is 0, which indicates the default title string. 2195 */ 2196 public static final String KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT = 2197 "enhanced_4g_lte_title_variant_int"; 2198 2199 /** 2200 * Indicates whether the carrier wants to notify the user when handover of an LTE video call to 2201 * WIFI fails. 2202 * <p> 2203 * When {@code true}, if a video call starts on LTE and the modem reports a failure to handover 2204 * the call to WIFI or if no handover success is reported within 60 seconds of call initiation, 2205 * the {@link android.telephony.TelephonyManager#EVENT_HANDOVER_TO_WIFI_FAILED} event is raised 2206 * on the connection. 2207 * @hide 2208 */ 2209 public static final String KEY_NOTIFY_VT_HANDOVER_TO_WIFI_FAILURE_BOOL = 2210 "notify_vt_handover_to_wifi_failure_bool"; 2211 2212 /** 2213 * A upper case list of CNAP names that are unhelpful to the user for distinguising calls and 2214 * should be filtered out of the CNAP information. This includes CNAP names such as "WIRELESS 2215 * CALLER" or "UNKNOWN NAME". By default, if there are no filtered names for this carrier, null 2216 * is returned. 2217 * @hide 2218 */ 2219 public static final String KEY_FILTERED_CNAP_NAMES_STRING_ARRAY = "filtered_cnap_names_string_array"; 2220 2221 /** 2222 * The RCS configuration server URL. This URL is used to initiate RCS provisioning. 2223 */ 2224 public static final String KEY_RCS_CONFIG_SERVER_URL_STRING = "rcs_config_server_url_string"; 2225 2226 /** 2227 * Determine whether user can change Wi-Fi Calling preference in roaming. 2228 * {@code false} - roaming preference cannot be changed by user independently. If 2229 * {@link #KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL} is false, 2230 * {@link #KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT} is used as the default 2231 * value. If {@link #KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL} is 2232 * true, roaming preference is the same as home preference and 2233 * {@link #KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT} is used as the default value. 2234 * {@code true} - roaming preference can be changed by user independently if 2235 * {@link #KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL} is false. If 2236 * {@link #KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL} is true, this 2237 * configuration is ignored and roaming preference cannot be changed. 2238 */ 2239 public static final String KEY_EDITABLE_WFC_ROAMING_MODE_BOOL = 2240 "editable_wfc_roaming_mode_bool"; 2241 2242 /** 2243 * Flag specifying whether to show blocking pay phone option in blocked numbers screen. 2244 * Only show the option if payphone call presentation is present in the carrier's region. 2245 */ 2246 public static final java.lang.String KEY_SHOW_BLOCKING_PAY_PHONE_OPTION_BOOL = 2247 "show_blocking_pay_phone_option_bool"; 2248 2249 /** 2250 * Flag specifying whether the carrier will use the WFC home network mode in roaming network. 2251 * {@code false} - roaming preference can be selected separately from the home preference. 2252 * {@code true} - roaming preference is the same as home preference and 2253 * {@link #KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT} is used as the default value. 2254 */ 2255 public static final String KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL = 2256 "use_wfc_home_network_mode_in_roaming_network_bool"; 2257 2258 /** 2259 * Flag specifying whether the carrier is allowed to use metered network to download a 2260 * certificate of Carrier-WiFi. 2261 * {@code false} - default value. 2262 * 2263 * @hide 2264 */ 2265 public static final String KEY_ALLOW_METERED_NETWORK_FOR_CERT_DOWNLOAD_BOOL = 2266 "allow_metered_network_for_cert_download_bool"; 2267 2268 /** 2269 * Time delay (in ms) after which we show the notification to switch the preferred 2270 * network. 2271 * @hide 2272 */ 2273 public static final String KEY_PREF_NETWORK_NOTIFICATION_DELAY_INT = 2274 "network_notification_delay_int"; 2275 2276 /** 2277 * Time delay (in ms) after which we show the notification for emergency calls, 2278 * while the device is registered over WFC. Default value is -1, which indicates 2279 * that this notification is not pertinent for a particular carrier. We've added a delay 2280 * to prevent false positives. 2281 */ 2282 public static final String KEY_EMERGENCY_NOTIFICATION_DELAY_INT = 2283 "emergency_notification_delay_int"; 2284 2285 /** 2286 * When {@code true}, the carrier allows the user of the 2287 * {@link TelephonyManager#sendUssdRequest(String, TelephonyManager.UssdResponseCallback, 2288 * Handler)} API to perform USSD requests. {@code True} by default. 2289 * @hide 2290 */ 2291 public static final String KEY_ALLOW_USSD_REQUESTS_VIA_TELEPHONY_MANAGER_BOOL = 2292 "allow_ussd_requests_via_telephony_manager_bool"; 2293 2294 /** 2295 * Indicates whether the carrier supports 3gpp call forwarding MMI codes while roaming. If 2296 * false, the user will be notified that call forwarding is not available when the MMI code 2297 * fails. 2298 */ 2299 public static final String KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL = 2300 "support_3gpp_call_forwarding_while_roaming_bool"; 2301 2302 /** 2303 * Boolean indicating whether to display voicemail number as default call forwarding number in 2304 * call forwarding settings. 2305 * If true, display vm number when cf number is null. 2306 * If false, display the cf number from network. 2307 * By default this value is false. 2308 * @hide 2309 */ 2310 public static final String KEY_DISPLAY_VOICEMAIL_NUMBER_AS_DEFAULT_CALL_FORWARDING_NUMBER_BOOL = 2311 "display_voicemail_number_as_default_call_forwarding_number"; 2312 2313 /** 2314 * When {@code true}, the user will be notified when they attempt to place an international call 2315 * when the call is placed using wifi calling. 2316 * @hide 2317 */ 2318 public static final String KEY_NOTIFY_INTERNATIONAL_CALL_ON_WFC_BOOL = 2319 "notify_international_call_on_wfc_bool"; 2320 2321 /** 2322 * Flag to hide Preset APN details. If true, user cannot enter ApnEditor view of Preset APN, 2323 * and cannot view details of the APN. If false, user can enter ApnEditor view of Preset APN. 2324 * Default value is false. 2325 */ 2326 public static final String KEY_HIDE_PRESET_APN_DETAILS_BOOL = "hide_preset_apn_details_bool"; 2327 2328 /** 2329 * Flag specifying whether to show an alert dialog for video call charges. 2330 * By default this value is {@code false}. 2331 */ 2332 public static final String KEY_SHOW_VIDEO_CALL_CHARGES_ALERT_DIALOG_BOOL = 2333 "show_video_call_charges_alert_dialog_bool"; 2334 2335 /** 2336 * An array containing custom call forwarding number prefixes that will be blocked while the 2337 * device is reporting that it is roaming. By default, there are no custom call 2338 * forwarding prefixes and none of these numbers will be filtered. If one or more entries are 2339 * present, the system will not complete the call and display an error message. 2340 * 2341 * To display a message to the user when call forwarding fails for 3gpp MMI codes while roaming, 2342 * use the {@link #KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL} option instead. 2343 */ 2344 public static final String KEY_CALL_FORWARDING_BLOCKS_WHILE_ROAMING_STRING_ARRAY = 2345 "call_forwarding_blocks_while_roaming_string_array"; 2346 2347 /** 2348 * The day of the month (1-31) on which the data cycle rolls over. 2349 * <p> 2350 * If the current month does not have this day, the cycle will roll over at 2351 * the start of the next month. 2352 * <p> 2353 * This setting may be still overridden by explicit user choice. By default, 2354 * {@link #DATA_CYCLE_USE_PLATFORM_DEFAULT} will be used. 2355 */ 2356 public static final String KEY_MONTHLY_DATA_CYCLE_DAY_INT = 2357 "monthly_data_cycle_day_int"; 2358 2359 /** 2360 * When {@link #KEY_MONTHLY_DATA_CYCLE_DAY_INT}, {@link #KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG}, 2361 * or {@link #KEY_DATA_WARNING_THRESHOLD_BYTES_LONG} are set to this value, the platform default 2362 * value will be used for that key. 2363 */ 2364 public static final int DATA_CYCLE_USE_PLATFORM_DEFAULT = -1; 2365 2366 /** 2367 * Flag indicating that a data cycle threshold should be disabled. 2368 * <p> 2369 * If {@link #KEY_DATA_WARNING_THRESHOLD_BYTES_LONG} is set to this value, the platform's 2370 * default data warning, if one exists, will be disabled. A user selected data warning will not 2371 * be overridden. 2372 * <p> 2373 * If {@link #KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG} is set to this value, the platform's 2374 * default data limit, if one exists, will be disabled. A user selected data limit will not be 2375 * overridden. 2376 */ 2377 public static final int DATA_CYCLE_THRESHOLD_DISABLED = -2; 2378 2379 /** 2380 * Controls the data usage warning. 2381 * <p> 2382 * If the user uses more than this amount of data in their billing cycle, as defined by 2383 * {@link #KEY_MONTHLY_DATA_CYCLE_DAY_INT}, the user will be alerted about the usage. 2384 * If the value is set to {@link #DATA_CYCLE_THRESHOLD_DISABLED}, the data usage warning will 2385 * be disabled. 2386 * <p> 2387 * This setting may be overridden by explicit user choice. By default, 2388 * {@link #DATA_CYCLE_USE_PLATFORM_DEFAULT} will be used. 2389 */ 2390 public static final String KEY_DATA_WARNING_THRESHOLD_BYTES_LONG = 2391 "data_warning_threshold_bytes_long"; 2392 2393 /** 2394 * Controls if the device should automatically notify the user as they reach 2395 * their cellular data warning. When set to {@code false} the carrier is 2396 * expected to have implemented their own notification mechanism. {@code true} by default. 2397 */ 2398 public static final String KEY_DATA_WARNING_NOTIFICATION_BOOL = 2399 "data_warning_notification_bool"; 2400 2401 /** 2402 * Controls if the device should automatically warn the user that sim voice & data function 2403 * might be limited due to dual sim scenario. When set to {@true} display the notification, 2404 * {@code false} otherwise. 2405 * @hide 2406 */ 2407 public static final String KEY_LIMITED_SIM_FUNCTION_NOTIFICATION_FOR_DSDS_BOOL = 2408 "limited_sim_function_notification_for_dsds_bool"; 2409 2410 /** 2411 * Controls the cellular data limit. 2412 * <p> 2413 * If the user uses more than this amount of data in their billing cycle, as defined by 2414 * {@link #KEY_MONTHLY_DATA_CYCLE_DAY_INT}, cellular data will be turned off by the user's 2415 * phone. If the value is set to {@link #DATA_CYCLE_THRESHOLD_DISABLED}, the data limit will be 2416 * disabled. 2417 * <p> 2418 * This setting may be overridden by explicit user choice. By default, 2419 * {@link #DATA_CYCLE_USE_PLATFORM_DEFAULT} will be used. 2420 */ 2421 public static final String KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG = 2422 "data_limit_threshold_bytes_long"; 2423 2424 /** 2425 * Controls if the device should automatically notify the user as they reach 2426 * their cellular data limit. When set to {@code false} the carrier is 2427 * expected to have implemented their own notification mechanism. {@code true} by default. 2428 */ 2429 public static final String KEY_DATA_LIMIT_NOTIFICATION_BOOL = 2430 "data_limit_notification_bool"; 2431 2432 /** 2433 * Controls if the device should automatically notify the user when rapid 2434 * cellular data usage is observed. When set to {@code false} the carrier is 2435 * expected to have implemented their own notification mechanism. {@code true} by default. 2436 */ 2437 public static final String KEY_DATA_RAPID_NOTIFICATION_BOOL = 2438 "data_rapid_notification_bool"; 2439 2440 /** 2441 * Offset to be reduced from rsrp threshold while calculating signal strength level. 2442 * @hide 2443 */ 2444 public static final String KEY_LTE_EARFCNS_RSRP_BOOST_INT = "lte_earfcns_rsrp_boost_int"; 2445 2446 /** 2447 * List of EARFCN (E-UTRA Absolute Radio Frequency Channel Number, 2448 * Reference: 3GPP TS 36.104 5.4.3) inclusive ranges on which lte_rsrp_boost_int 2449 * will be applied. Format of the String array is expected to be {"erafcn1_start-earfcn1_end", 2450 * "earfcn2_start-earfcn2_end" ... } 2451 * @hide 2452 */ 2453 public static final String KEY_BOOSTED_LTE_EARFCNS_STRING_ARRAY = 2454 "boosted_lte_earfcns_string_array"; 2455 2456 /** 2457 * Determine whether to use only RSRP for the number of LTE signal bars. 2458 * @hide 2459 * 2460 * @deprecated use {@link #KEY_PARAMETERS_USED_FOR_LTE_SIGNAL_BAR_INT}. 2461 */ 2462 // FIXME: this key and related keys must not be exposed without a consistent philosophy for 2463 // all RATs. 2464 @Deprecated 2465 public static final String KEY_USE_ONLY_RSRP_FOR_LTE_SIGNAL_BAR_BOOL = 2466 "use_only_rsrp_for_lte_signal_bar_bool"; 2467 2468 /** 2469 * Bit-field integer to determine whether to use Reference Signal Received Power (RSRP), 2470 * Reference Signal Received Quality (RSRQ), or/and Reference Signal Signal to Noise Ratio 2471 * (RSSNR) for the number of LTE signal bars and signal criteria reporting enabling. 2472 * 2473 * <p> If a measure is not set, signal criteria reporting from modem will not be triggered and 2474 * not be used for calculating signal level. If multiple measures are set bit, the parameter 2475 * whose value is smallest is used to indicate the signal level. 2476 * <UL> 2477 * <LI>RSRP = 1 << 0</LI> 2478 * <LI>RSRQ = 1 << 1</LI> 2479 * <LI>RSSNR = 1 << 2</LI> 2480 * </UL> 2481 * <p> The value of this key must be bitwise OR of {@link CellSignalStrengthLte#USE_RSRP}, 2482 * {@link CellSignalStrengthLte#USE_RSRQ}, {@link CellSignalStrengthLte#USE_RSSNR}. 2483 * 2484 * <p> For example, if both RSRP and RSRQ are used, the value of key is 3 (1 << 0 | 1 << 1). 2485 * If the key is invalid or not configured, a default value (RSRP = 1 << 0) will apply. 2486 * 2487 * @hide 2488 */ 2489 public static final String KEY_PARAMETERS_USED_FOR_LTE_SIGNAL_BAR_INT = 2490 "parameters_used_for_lte_signal_bar_int"; 2491 2492 /** 2493 * List of 4 customized 5G SS reference signal received power (SSRSRP) thresholds. 2494 * <p> 2495 * Reference: 3GPP TS 38.215 2496 * <p> 2497 * 4 threshold integers must be within the boundaries [-140 dB, -44 dB], and the levels are: 2498 * <UL> 2499 * <LI>"NONE: [-140, threshold1]"</LI> 2500 * <LI>"POOR: (threshold1, threshold2]"</LI> 2501 * <LI>"MODERATE: (threshold2, threshold3]"</LI> 2502 * <LI>"GOOD: (threshold3, threshold4]"</LI> 2503 * <LI>"EXCELLENT: (threshold4, -44]"</LI> 2504 * </UL> 2505 * <p> 2506 * This key is considered invalid if the format is violated. If the key is invalid or 2507 * not configured, a default value set will apply. 2508 */ 2509 public static final String KEY_5G_NR_SSRSRP_THRESHOLDS_INT_ARRAY = 2510 "5g_nr_ssrsrp_thresholds_int_array"; 2511 2512 /** 2513 * List of 4 customized 5G SS reference signal received quality (SSRSRQ) thresholds. 2514 * <p> 2515 * Reference: 3GPP TS 38.215 2516 * <p> 2517 * 4 threshold integers must be within the boundaries [-20 dB, -3 dB], and the levels are: 2518 * <UL> 2519 * <LI>"NONE: [-20, threshold1]"</LI> 2520 * <LI>"POOR: (threshold1, threshold2]"</LI> 2521 * <LI>"MODERATE: (threshold2, threshold3]"</LI> 2522 * <LI>"GOOD: (threshold3, threshold4]"</LI> 2523 * <LI>"EXCELLENT: (threshold4, -3]"</LI> 2524 * </UL> 2525 * <p> 2526 * This key is considered invalid if the format is violated. If the key is invalid or 2527 * not configured, a default value set will apply. 2528 */ 2529 public static final String KEY_5G_NR_SSRSRQ_THRESHOLDS_INT_ARRAY = 2530 "5g_nr_ssrsrq_thresholds_int_array"; 2531 2532 /** 2533 * List of 4 customized 5G SS signal-to-noise and interference ratio (SSSINR) thresholds. 2534 * <p> 2535 * Reference: 3GPP TS 38.215, 2536 * 3GPP TS 38.133 10.1.16.1 2537 * <p> 2538 * 4 threshold integers must be within the boundaries [-23 dB, 40 dB], and the levels are: 2539 * <UL> 2540 * <LI>"NONE: [-23, threshold1]"</LI> 2541 * <LI>"POOR: (threshold1, threshold2]"</LI> 2542 * <LI>"MODERATE: (threshold2, threshold3]"</LI> 2543 * <LI>"GOOD: (threshold3, threshold4]"</LI> 2544 * <LI>"EXCELLENT: (threshold4, 40]"</LI> 2545 * </UL> 2546 * <p> 2547 * This key is considered invalid if the format is violated. If the key is invalid or 2548 * not configured, a default value set will apply. 2549 */ 2550 public static final String KEY_5G_NR_SSSINR_THRESHOLDS_INT_ARRAY = 2551 "5g_nr_sssinr_thresholds_int_array"; 2552 2553 /** 2554 * Bit-field integer to determine whether to use SS reference signal received power (SSRSRP), 2555 * SS reference signal received quality (SSRSRQ), or/and SS signal-to-noise and interference 2556 * ratio (SSSINR) for the number of 5G NR signal bars and signal criteria reporting enabling. 2557 * 2558 * <p> If a measure is not set, signal criteria reporting from modem will not be triggered and 2559 * not be used for calculating signal level. If multiple measures are set bit, the parameter 2560 * whose value is smallest is used to indicate the signal level. 2561 * <UL> 2562 * <LI>SSRSRP = 1 << 0</LI> 2563 * <LI>SSRSRQ = 1 << 1</LI> 2564 * <LI>SSSINR = 1 << 2</LI> 2565 * </UL> 2566 * The value of this key must be bitwise OR of {@link CellSignalStrengthNr#USE_SSRSRP}, 2567 * {@link CellSignalStrengthNr#USE_SSRSRQ}, {@link CellSignalStrengthNr#USE_SSSINR}. 2568 * 2569 * <p> For example, if both SSRSRP and SSSINR are used, the value of key is 5 (1 << 0 | 1 << 2). 2570 * If the key is invalid or not configured, a default value (SSRSRP = 1 << 0) will apply. 2571 * 2572 * <p> Reference: 3GPP TS 38.215, 2573 * 3GPP TS 38.133 10.1.16.1 2574 * 2575 * @hide 2576 */ 2577 public static final String KEY_PARAMETERS_USE_FOR_5G_NR_SIGNAL_BAR_INT = 2578 "parameters_use_for_5g_nr_signal_bar_int"; 2579 2580 /** 2581 * There are two signal strengths, NR and LTE signal strength, during NR (non-standalone). 2582 * Boolean indicating whether to use LTE signal strength as primary during NR (non-standalone). 2583 * By default this value is true. 2584 * 2585 * @hide 2586 */ 2587 public static final String KEY_SIGNAL_STRENGTH_NR_NSA_USE_LTE_AS_PRIMARY_BOOL = 2588 "signal_strength_nr_nsa_use_lte_as_primary_bool"; 2589 2590 /** 2591 * String array of default bandwidth values per network type. 2592 * The entries should be of form "network_name:downstream,upstream", with values in Kbps. 2593 * @hide 2594 */ 2595 public static final String KEY_BANDWIDTH_STRING_ARRAY = "bandwidth_string_array"; 2596 2597 /** 2598 * For NR (non-standalone), whether to use the LTE value instead of NR value as the default for 2599 * upstream bandwidth. Downstream bandwidth will still use the NR value as the default. 2600 * @hide 2601 */ 2602 public static final String KEY_BANDWIDTH_NR_NSA_USE_LTE_VALUE_FOR_UPSTREAM_BOOL = 2603 "bandwidth_nr_nsa_use_lte_value_for_upstream_bool"; 2604 2605 /** 2606 * Key identifying if voice call barring notification is required to be shown to the user. 2607 * @hide 2608 */ 2609 @UnsupportedAppUsage 2610 public static final String KEY_DISABLE_VOICE_BARRING_NOTIFICATION_BOOL = 2611 "disable_voice_barring_notification_bool"; 2612 2613 /** 2614 * List of operators considered non-roaming which won't show roaming icon. 2615 * <p> 2616 * Can use mcc or mcc+mnc as item. For example, 302 or 21407. 2617 * If operators, 21404 and 21407, make roaming agreements, users of 21404 should not see 2618 * the roaming icon as using 21407 network. 2619 * @hide 2620 */ 2621 public static final String KEY_NON_ROAMING_OPERATOR_STRING_ARRAY = 2622 "non_roaming_operator_string_array"; 2623 2624 /** 2625 * List of operators considered roaming with the roaming icon. 2626 * <p> 2627 * Can use mcc or mcc+mnc as item. For example, 302 or 21407. 2628 * If operators, 21404 and 21407, make roaming agreements, users of 21404 should see 2629 * the roaming icon as using 21407 network. 2630 * <p> 2631 * A match on this supersedes a match on {@link #KEY_NON_ROAMING_OPERATOR_STRING_ARRAY}. 2632 * @hide 2633 */ 2634 public static final String KEY_ROAMING_OPERATOR_STRING_ARRAY = 2635 "roaming_operator_string_array"; 2636 2637 /** 2638 * URL from which the proto containing the public key of the Carrier used for 2639 * IMSI encryption will be downloaded. 2640 * @hide 2641 */ 2642 public static final String IMSI_KEY_DOWNLOAD_URL_STRING = "imsi_key_download_url_string"; 2643 2644 /** 2645 * Identifies if the key is available for WLAN or EPDG or both. The value is a bitmask. 2646 * 0 indicates that neither EPDG or WLAN is enabled. 2647 * 1 indicates that key type TelephonyManager#KEY_TYPE_EPDG is enabled. 2648 * 2 indicates that key type TelephonyManager#KEY_TYPE_WLAN is enabled. 2649 * 3 indicates that both are enabled. 2650 */ 2651 public static final String IMSI_KEY_AVAILABILITY_INT = "imsi_key_availability_int"; 2652 2653 /** 2654 * Key identifying if the CDMA Caller ID presentation and suppression MMI codes 2655 * should be converted to 3GPP CLIR codes when a multimode (CDMA+UMTS+LTE) device is roaming 2656 * on a 3GPP network. Specifically *67<number> will be converted to #31#<number> and 2657 * *82<number> will be converted to *31#<number> before dialing a call when this key is 2658 * set TRUE and device is roaming on a 3GPP network. 2659 * @hide 2660 */ 2661 public static final String KEY_CONVERT_CDMA_CALLER_ID_MMI_CODES_WHILE_ROAMING_ON_3GPP_BOOL = 2662 "convert_cdma_caller_id_mmi_codes_while_roaming_on_3gpp_bool"; 2663 2664 /** 2665 * Flag specifying whether IMS registration state menu is shown in Status Info setting, 2666 * default to false. 2667 */ 2668 public static final String KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL = 2669 "show_ims_registration_status_bool"; 2670 2671 /** 2672 * Flag indicating whether the carrier supports RTT over IMS. 2673 */ 2674 public static final String KEY_RTT_SUPPORTED_BOOL = "rtt_supported_bool"; 2675 2676 /** 2677 * Boolean flag indicating whether the carrier supports TTY. 2678 * <p> 2679 * Note that {@link #KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL} controls availability of TTY over 2680 * VoLTE; if {@link #KEY_TTY_SUPPORTED_BOOL} is disabled, then 2681 * {@link #KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL} is also implicitly disabled. 2682 * <p> 2683 * {@link TelecomManager#isTtySupported()} should be used to determine if a device supports TTY, 2684 * and this carrier config key should be used to see if the current carrier supports it. 2685 */ 2686 public static final String KEY_TTY_SUPPORTED_BOOL = "tty_supported_bool"; 2687 2688 /** 2689 * Indicates if the carrier supports auto-upgrading a call to RTT when receiving a call from a 2690 * RTT-supported device. 2691 * @hide 2692 */ 2693 public static final String KEY_RTT_AUTO_UPGRADE_BOOL = "rtt_auto_upgrade_bool"; 2694 2695 /** 2696 * Indicates if the carrier supports RTT during a video call. 2697 * @hide 2698 */ 2699 public static final String KEY_RTT_SUPPORTED_FOR_VT_BOOL = "rtt_supported_for_vt_bool"; 2700 2701 /** 2702 * Indicates if the carrier supports upgrading a voice call to an RTT call during the call. 2703 * @hide 2704 */ 2705 public static final String KEY_RTT_UPGRADE_SUPPORTED_BOOL = "rtt_upgrade_supported_bool"; 2706 2707 /** 2708 * Indicates if the carrier supports downgrading a RTT call to a voice call during the call. 2709 * @hide 2710 */ 2711 public static final String KEY_RTT_DOWNGRADE_SUPPORTED_BOOL = "rtt_downgrade_supported_bool"; 2712 2713 /** 2714 * Indicates if the TTY HCO and VCO options should be hidden in the accessibility menu 2715 * if the device is capable of RTT. 2716 * @hide 2717 */ 2718 public static final String KEY_HIDE_TTY_HCO_VCO_WITH_RTT_BOOL = "hide_tty_hco_vco_with_rtt"; 2719 2720 /** 2721 * The flag to disable the popup dialog which warns the user of data charges. 2722 */ 2723 public static final String KEY_DISABLE_CHARGE_INDICATION_BOOL = 2724 "disable_charge_indication_bool"; 2725 2726 /** 2727 * Boolean indicating whether to skip the call forwarding (CF) fail-to-disable dialog. 2728 * The logic used to determine whether we succeeded in disabling is carrier specific, 2729 * so the dialog may not always be accurate. 2730 * {@code false} - show CF fail-to-disable dialog. 2731 * {@code true} - skip showing CF fail-to-disable dialog. 2732 * 2733 * @hide 2734 */ 2735 public static final String KEY_SKIP_CF_FAIL_TO_DISABLE_DIALOG_BOOL = 2736 "skip_cf_fail_to_disable_dialog_bool"; 2737 2738 /** 2739 * Flag specifying whether operator supports including no reply condition timer option on 2740 * CFNRy (3GPP TS 24.082 3: Call Forwarding on No Reply) in the call forwarding settings UI. 2741 * {@code true} - include no reply condition timer option on CFNRy 2742 * {@code false} - don't include no reply condition timer option on CFNRy 2743 * 2744 * @hide 2745 */ 2746 public static final String KEY_SUPPORT_NO_REPLY_TIMER_FOR_CFNRY_BOOL = 2747 "support_no_reply_timer_for_cfnry_bool"; 2748 2749 /** 2750 * List of the FAC (feature access codes) to dial as a normal call. 2751 * @hide 2752 */ 2753 public static final String KEY_FEATURE_ACCESS_CODES_STRING_ARRAY = 2754 "feature_access_codes_string_array"; 2755 2756 /** 2757 * Determines if the carrier wants to identify high definition calls in the call log. 2758 * @hide 2759 */ 2760 public static final String KEY_IDENTIFY_HIGH_DEFINITION_CALLS_IN_CALL_LOG_BOOL = 2761 "identify_high_definition_calls_in_call_log_bool"; 2762 2763 /** 2764 * Flag specifying whether to use the {@link ServiceState} roaming status, which can be 2765 * affected by other carrier configs (e.g. 2766 * {@link #KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY}), when setting the SPN display. 2767 * <p> 2768 * If {@code true}, the SPN display uses {@link ServiceState#getRoaming}. 2769 * If {@code false} the SPN display checks if the current MCC/MNC is different from the 2770 * SIM card's MCC/MNC. 2771 * 2772 * @see KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY 2773 * @see KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY 2774 * @see KEY_NON_ROAMING_OPERATOR_STRING_ARRAY 2775 * @see KEY_ROAMING_OPERATOR_STRING_ARRAY 2776 * @see KEY_FORCE_HOME_NETWORK_BOOL 2777 * 2778 * @hide 2779 */ 2780 public static final String KEY_SPN_DISPLAY_RULE_USE_ROAMING_FROM_SERVICE_STATE_BOOL = 2781 "spn_display_rule_use_roaming_from_service_state_bool"; 2782 2783 /** 2784 * Determines whether any carrier has been identified and its specific config has been applied, 2785 * default to false. 2786 */ 2787 public static final String KEY_CARRIER_CONFIG_APPLIED_BOOL = "carrier_config_applied_bool"; 2788 2789 /** 2790 * Determines whether we should show a warning asking the user to check with their carrier 2791 * on pricing when the user enabled data roaming, 2792 * default to false. 2793 */ 2794 public static final String KEY_CHECK_PRICING_WITH_CARRIER_FOR_DATA_ROAMING_BOOL = 2795 "check_pricing_with_carrier_data_roaming_bool"; 2796 2797 /** 2798 * Determines whether we should show a notification when the phone established a data 2799 * connection in roaming network, to warn users about possible roaming charges. 2800 * @hide 2801 */ 2802 public static final String KEY_SHOW_DATA_CONNECTED_ROAMING_NOTIFICATION_BOOL = 2803 "show_data_connected_roaming_notification"; 2804 2805 /** 2806 * A list of 4 LTE RSRP thresholds above which a signal level is considered POOR, 2807 * MODERATE, GOOD, or EXCELLENT, to be used in SignalStrength reporting. 2808 * 2809 * Note that the min and max thresholds are fixed at -140 and -44, as explained in 2810 * TS 136.133 9.1.4 - RSRP Measurement Report Mapping. 2811 * <p> 2812 * See SignalStrength#MAX_LTE_RSRP and SignalStrength#MIN_LTE_RSRP. Any signal level outside 2813 * these boundaries is considered invalid. 2814 * @hide 2815 */ 2816 public static final String KEY_LTE_RSRP_THRESHOLDS_INT_ARRAY = 2817 "lte_rsrp_thresholds_int_array"; 2818 2819 /** 2820 * A list of 4 customized LTE Reference Signal Received Quality (RSRQ) thresholds. 2821 * 2822 * Reference: TS 136.133 v12.6.0 section 9.1.7 - RSRQ Measurement Report Mapping. 2823 * 2824 * 4 threshold integers must be within the boundaries [-34 dB, 3 dB], and the levels are: 2825 * "NONE: [-34, threshold1)" 2826 * "POOR: [threshold1, threshold2)" 2827 * "MODERATE: [threshold2, threshold3)" 2828 * "GOOD: [threshold3, threshold4)" 2829 * "EXCELLENT: [threshold4, 3]" 2830 * 2831 * This key is considered invalid if the format is violated. If the key is invalid or 2832 * not configured, a default value set will apply. 2833 */ 2834 public static final String KEY_LTE_RSRQ_THRESHOLDS_INT_ARRAY = 2835 "lte_rsrq_thresholds_int_array"; 2836 2837 /** 2838 * A list of 4 customized LTE Reference Signal Signal to Noise Ratio (RSSNR) thresholds. 2839 * 2840 * 4 threshold integers must be within the boundaries [-20 dB, 30 dB], and the levels are: 2841 * "NONE: [-20, threshold1)" 2842 * "POOR: [threshold1, threshold2)" 2843 * "MODERATE: [threshold2, threshold3)" 2844 * "GOOD: [threshold3, threshold4)" 2845 * "EXCELLENT: [threshold4, 30]" 2846 * 2847 * This key is considered invalid if the format is violated. If the key is invalid or 2848 * not configured, a default value set will apply. 2849 */ 2850 public static final String KEY_LTE_RSSNR_THRESHOLDS_INT_ARRAY = 2851 "lte_rssnr_thresholds_int_array"; 2852 2853 /** 2854 * Decides when clients try to bind to iwlan network service, which package name will 2855 * the binding intent go to. 2856 * @hide 2857 */ 2858 public static final String KEY_CARRIER_NETWORK_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING = 2859 "carrier_network_service_wlan_package_override_string"; 2860 2861 /** 2862 * Decides when clients try to bind to iwlan network service, which class name will 2863 * the binding intent go to. 2864 * @hide 2865 */ 2866 public static final String KEY_CARRIER_NETWORK_SERVICE_WLAN_CLASS_OVERRIDE_STRING = 2867 "carrier_network_service_wlan_class_override_string"; 2868 2869 /** 2870 * Decides when clients try to bind to wwan (cellular) network service, which package name will 2871 * the binding intent go to. 2872 * @hide 2873 */ 2874 public static final String KEY_CARRIER_NETWORK_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING = 2875 "carrier_network_service_wwan_package_override_string"; 2876 2877 /** 2878 * Decides when clients try to bind to wwan (cellular) network service, which class name will 2879 * the binding intent go to. 2880 * @hide 2881 */ 2882 public static final String KEY_CARRIER_NETWORK_SERVICE_WWAN_CLASS_OVERRIDE_STRING = 2883 "carrier_network_service_wwan_class_override_string"; 2884 2885 /** 2886 * The package name of qualified networks service that telephony binds to. 2887 * 2888 * @hide 2889 */ 2890 public static final String KEY_CARRIER_QUALIFIED_NETWORKS_SERVICE_PACKAGE_OVERRIDE_STRING = 2891 "carrier_qualified_networks_service_package_override_string"; 2892 2893 /** 2894 * The class name of qualified networks service that telephony binds to. 2895 * 2896 * @hide 2897 */ 2898 public static final String KEY_CARRIER_QUALIFIED_NETWORKS_SERVICE_CLASS_OVERRIDE_STRING = 2899 "carrier_qualified_networks_service_class_override_string"; 2900 /** 2901 * A list of 4 LTE RSCP thresholds above which a signal level is considered POOR, 2902 * MODERATE, GOOD, or EXCELLENT, to be used in SignalStrength reporting. 2903 * 2904 * Note that the min and max thresholds are fixed at -120 and -24, as set in 3GPP TS 27.007 2905 * section 8.69. 2906 * <p> 2907 * See SignalStrength#MAX_WCDMA_RSCP and SignalStrength#MIN_WDCMA_RSCP. Any signal level outside 2908 * these boundaries is considered invalid. 2909 * @hide 2910 */ 2911 public static final String KEY_WCDMA_RSCP_THRESHOLDS_INT_ARRAY = 2912 "wcdma_rscp_thresholds_int_array"; 2913 2914 /** 2915 * The default measurement to use for signal strength reporting. If this is not specified, the 2916 * RSSI is used. 2917 * <p> 2918 * e.g.) To use RSCP by default, set the value to "rscp". The signal strength level will 2919 * then be determined by #KEY_WCDMA_RSCP_THRESHOLDS_INT_ARRAY 2920 * <p> 2921 * Currently this supports the value "rscp" and "rssi". 2922 * @hide 2923 */ 2924 // FIXME: this key and related keys must not be exposed without a consistent philosophy for 2925 // all RATs. 2926 public static final String KEY_WCDMA_DEFAULT_SIGNAL_STRENGTH_MEASUREMENT_STRING = 2927 "wcdma_default_signal_strength_measurement_string"; 2928 2929 /** 2930 * When a partial sms / mms message stay in raw table for too long without being completed, 2931 * we expire them and delete them from the raw table. This carrier config defines the 2932 * expiration time. 2933 * @hide 2934 */ 2935 public static final String KEY_UNDELIVERED_SMS_MESSAGE_EXPIRATION_TIME = 2936 "undelivered_sms_message_expiration_time"; 2937 2938 /** 2939 * Specifies a carrier-defined {@link android.telecom.CallRedirectionService} which Telecom 2940 * will bind to for outgoing calls. An empty string indicates that no carrier-defined 2941 * {@link android.telecom.CallRedirectionService} is specified. 2942 */ 2943 public static final String KEY_CALL_REDIRECTION_SERVICE_COMPONENT_NAME_STRING = 2944 "call_redirection_service_component_name_string"; 2945 2946 /** 2947 * Support for the original string display of CDMA MO call. 2948 * By default, it is disabled. 2949 * @hide 2950 */ 2951 public static final String KEY_CONFIG_SHOW_ORIG_DIAL_STRING_FOR_CDMA_BOOL = 2952 "config_show_orig_dial_string_for_cdma"; 2953 2954 /** 2955 * Flag specifying whether to show notification(call blocking disabled) when Enhanced Call 2956 * Blocking(KEY_SUPPORT_ENHANCED_CALL_BLOCKING_BOOL) is enabled and making emergency call. 2957 * When true, notification is shown always. 2958 * When false, notification is shown only when any setting of "Enhanced Blocked number" is 2959 * enabled. 2960 */ 2961 public static final String KEY_SHOW_CALL_BLOCKING_DISABLED_NOTIFICATION_ALWAYS_BOOL = 2962 "show_call_blocking_disabled_notification_always_bool"; 2963 2964 /** 2965 * Some carriers only support SS over UT via INTERNET PDN. 2966 * When mobile data is OFF or data roaming OFF during roaming, 2967 * UI should block the call forwarding operation and notify the user 2968 * that the function only works if data is available. 2969 * @hide 2970 */ 2971 public static final String KEY_CALL_FORWARDING_OVER_UT_WARNING_BOOL = 2972 "call_forwarding_over_ut_warning_bool"; 2973 2974 /** 2975 * Some carriers only support SS over UT via INTERNET PDN. 2976 * When mobile data is OFF or data roaming OFF during roaming, 2977 * UI should block the call barring operation and notify the user 2978 * that the function only works if data is available. 2979 * @hide 2980 */ 2981 public static final String KEY_CALL_BARRING_OVER_UT_WARNING_BOOL = 2982 "call_barring_over_ut_warning_bool"; 2983 2984 /** 2985 * Some carriers only support SS over UT via INTERNET PDN. 2986 * When mobile data is OFF or data roaming OFF during roaming, 2987 * UI should block the caller id operation and notify the user 2988 * that the function only works if data is available. 2989 * @hide 2990 */ 2991 public static final String KEY_CALLER_ID_OVER_UT_WARNING_BOOL = 2992 "caller_id_over_ut_warning_bool"; 2993 2994 /** 2995 * Some carriers only support SS over UT via INTERNET PDN. 2996 * When mobile data is OFF or data roaming OFF during roaming, 2997 * UI should block the call waiting operation and notify the user 2998 * that the function only works if data is available. 2999 * @hide 3000 */ 3001 public static final String KEY_CALL_WAITING_OVER_UT_WARNING_BOOL = 3002 "call_waiting_over_ut_warning_bool"; 3003 3004 /** 3005 * Flag indicating whether to support "Network default" option in Caller ID settings for Calling 3006 * Line Identification Restriction (CLIR). 3007 */ 3008 public static final String KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL = 3009 "support_clir_network_default_bool"; 3010 3011 /** 3012 * Determines whether the carrier want to support emergency dialer shortcut. 3013 * @hide 3014 */ 3015 public static final String KEY_SUPPORT_EMERGENCY_DIALER_SHORTCUT_BOOL = 3016 "support_emergency_dialer_shortcut_bool"; 3017 3018 /** 3019 * Call forwarding uses USSD command without SS command. 3020 * When {@code true}, the call forwarding query/set by ussd command and UI only display Call 3021 * Forwarding when unanswered. 3022 * When {@code false}, don't use USSD to query/set call forwarding. 3023 * @hide 3024 */ 3025 public static final String KEY_USE_CALL_FORWARDING_USSD_BOOL = "use_call_forwarding_ussd_bool"; 3026 3027 /** 3028 * This flag specifies whether to support for the caller id set command by ussd. 3029 * When {@code true}, device shall sync caller id ussd result to ss command. 3030 * When {@code false}, caller id don't support ussd command. 3031 * @hide 3032 */ 3033 public static final String KEY_USE_CALLER_ID_USSD_BOOL = "use_caller_id_ussd_bool"; 3034 3035 /** 3036 * Specifies the service class for call waiting service. 3037 * Default value is 3038 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_VOICE}. 3039 * <p> 3040 * See 27.007 +CCFC or +CLCK. 3041 * The value set as below: 3042 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_NONE} 3043 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_VOICE} 3044 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_DATA} 3045 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_FAX} 3046 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_SMS} 3047 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_DATA_SYNC} 3048 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_DATA_ASYNC} 3049 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_PACKET} 3050 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_PAD} 3051 * {@link com.android.internal.telephony.CommandsInterface#SERVICE_CLASS_MAX} 3052 * @hide 3053 */ 3054 public static final String KEY_CALL_WAITING_SERVICE_CLASS_INT = 3055 "call_waiting_service_class_int"; 3056 3057 /** 3058 * This configuration allows the system UI to display different 5G icons for different 5G 3059 * scenarios. 3060 * 3061 * There are five 5G scenarios: 3062 * 1. connected_mmwave: device currently connected to 5G cell as the secondary cell and using 3063 * millimeter wave. 3064 * 2. connected: device currently connected to 5G cell as the secondary cell but not using 3065 * millimeter wave. 3066 * 3. not_restricted_rrc_idle: device camped on a network that has 5G capability(not necessary 3067 * to connect a 5G cell as a secondary cell) and the use of 5G is not restricted and RRC 3068 * currently in IDLE state. 3069 * 4. not_restricted_rrc_con: device camped on a network that has 5G capability(not necessary 3070 * to connect a 5G cell as a secondary cell) and the use of 5G is not restricted and RRC 3071 * currently in CONNECTED state. 3072 * 5. restricted: device camped on a network that has 5G capability(not necessary to connect a 3073 * 5G cell as a secondary cell) but the use of 5G is restricted. 3074 * 3075 * The configured string contains multiple key-value pairs separated by comma. For each pair, 3076 * the key and value are separated by a colon. The key corresponds to a 5G status above and 3077 * the value is the icon name. Use "None" as the icon name if no icon should be shown in a 3078 * specific 5G scenario. If the scenario is "None", config can skip this key and value. 3079 * 3080 * Icon name options: "5G_Plus", "5G". 3081 * 3082 * Here is an example: 3083 * UE wants to display 5G_Plus icon for scenario#1, and 5G icon for scenario#2; otherwise not 3084 * define. 3085 * The configuration is: "connected_mmwave:5G_Plus,connected:5G" 3086 * @hide 3087 */ 3088 public static final String KEY_5G_ICON_CONFIGURATION_STRING = "5g_icon_configuration_string"; 3089 3090 /** 3091 * This configuration allows the system UI to determine how long to continue to display 5G icons 3092 * when the device switches between different 5G scenarios. 3093 * 3094 * There are seven 5G scenarios: 3095 * 1. connected_mmwave: device currently connected to 5G cell as the secondary cell and using 3096 * millimeter wave. 3097 * 2. connected: device currently connected to 5G cell as the secondary cell but not using 3098 * millimeter wave. 3099 * 3. not_restricted_rrc_idle: device camped on a network that has 5G capability (not necessary 3100 * to connect a 5G cell as a secondary cell) and the use of 5G is not restricted and RRC 3101 * currently in IDLE state. 3102 * 4. not_restricted_rrc_con: device camped on a network that has 5G capability (not necessary 3103 * to connect a 5G cell as a secondary cell) and the use of 5G is not restricted and RRC 3104 * currently in CONNECTED state. 3105 * 5. restricted: device camped on a network that has 5G capability (not necessary to connect a 3106 * 5G cell as a secondary cell) but the use of 5G is restricted. 3107 * 6. legacy: device is not camped on a network that has 5G capability 3108 * 7. any: any of the above scenarios 3109 * 3110 * The configured string contains various timer rules separated by a semicolon. 3111 * Each rule will have three items: prior 5G scenario, current 5G scenario, and grace period 3112 * in seconds before changing the icon. When the 5G state changes from the prior to the current 3113 * 5G scenario, the system UI will continue to show the icon for the prior 5G scenario (defined 3114 * in {@link #KEY_5G_ICON_CONFIGURATION_STRING}) for the amount of time specified by the grace 3115 * period. If the prior 5G scenario is reestablished, the timer will reset and start again if 3116 * the UE changes 5G scenarios again. Defined states (5G scenarios #1-5) take precedence over 3117 * 'any' (5G scenario #6), and unspecified transitions have a default grace period of 0. 3118 * The order of rules in the configuration determines the priority (the first applicable timer 3119 * rule will be used). 3120 * 3121 * Here is an example: "connected_mmwave,connected,30;connected_mmwave,any,10;connected,any,10" 3122 * This configuration defines 3 timers: 3123 * 1. When UE goes from 'connected_mmwave' to 'connected', system UI will continue to display 3124 * the 5G icon for 'connected_mmwave' for 30 seconds. 3125 * 2. When UE goes from 'connected_mmwave' to any other state (except for connected, since 3126 * rule 1 would be used instead), system UI will continue to display the 5G icon for 3127 * 'connected_mmwave' for 10 seconds. 3128 * 3. When UE goes from 'connected' to any other state, system UI will continue to display the 3129 * 5G icon for 'connected' for 10 seconds. 3130 * 3131 * @hide 3132 */ 3133 public static final String KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING = 3134 "5g_icon_display_grace_period_string"; 3135 3136 /** 3137 * This configuration extends {@link #KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING} to allow the 3138 * system UI to continue displaying 5G icons after the initial timer expires. 3139 * 3140 * There are seven 5G scenarios: 3141 * 1. connected_mmwave: device currently connected to 5G cell as the secondary cell and using 3142 * millimeter wave. 3143 * 2. connected: device currently connected to 5G cell as the secondary cell but not using 3144 * millimeter wave. 3145 * 3. not_restricted_rrc_idle: device camped on a network that has 5G capability (not necessary 3146 * to connect a 5G cell as a secondary cell) and the use of 5G is not restricted and RRC 3147 * currently in IDLE state. 3148 * 4. not_restricted_rrc_con: device camped on a network that has 5G capability (not necessary 3149 * to connect a 5G cell as a secondary cell) and the use of 5G is not restricted and RRC 3150 * currently in CONNECTED state. 3151 * 5. restricted: device camped on a network that has 5G capability (not necessary to connect a 3152 * 5G cell as a secondary cell) but the use of 5G is restricted. 3153 * 6. legacy: device is not camped on a network that has 5G capability 3154 * 7. any: any of the above scenarios 3155 * 3156 * The configured string contains various timer rules separated by a semicolon. 3157 * Each rule will have three items: primary 5G scenario, secondary 5G scenario, and 3158 * grace period in seconds before changing the icon. When the timer for the primary 5G timer 3159 * expires, the system UI will continue to show the icon for the primary 5G scenario (defined 3160 * in {@link #KEY_5G_ICON_CONFIGURATION_STRING}) for the amount of time specified by the grace 3161 * period. If the primary 5G scenario is reestablished, the timers will reset and the system UI 3162 * will continue to display the icon for the primary 5G scenario without interruption. If the 3163 * secondary 5G scenario is lost, the timer will reset and the icon will reflect the true state. 3164 * Defined states (5G scenarios #1-5) take precedence over 'any' (5G scenario #6), and 3165 * unspecified transitions have a default grace period of 0. The order of rules in the 3166 * configuration determines the priority (the first applicable timer rule will be used). 3167 * 3168 * Here is an example: "connected,not_restricted_rrc_idle,30" 3169 * This configuration defines a secondary timer that extends the primary 'connected' timer. 3170 * When the primary 'connected' timer expires while the UE is in the 'not_restricted_rrc_idle' 3171 * 5G state, system UI will continue to display the 5G icon for 'connected' for 30 seconds. 3172 * If the 5G state returns to 'connected', the timer will be reset without change to the icon, 3173 * and if the 5G state changes to neither 'connected' not 'not_restricted_rrc_idle', the icon 3174 * will change to reflect the true state. 3175 * 3176 * @hide 3177 */ 3178 public static final String KEY_5G_ICON_DISPLAY_SECONDARY_GRACE_PERIOD_STRING = 3179 "5g_icon_display_secondary_grace_period_string"; 3180 3181 /** 3182 * Controls time in milliseconds until DcTracker reevaluates 5G connection state. 3183 * @hide 3184 */ 3185 public static final String KEY_5G_WATCHDOG_TIME_MS_LONG = "5g_watchdog_time_ms_long"; 3186 3187 /** 3188 * Whether NR (non-standalone) should be unmetered for all frequencies. 3189 * If either {@link #KEY_UNMETERED_NR_NSA_MMWAVE_BOOL} or 3190 * {@link #KEY_UNMETERED_NR_NSA_SUB6_BOOL} are true, then this value will be ignored. 3191 * @hide 3192 */ 3193 public static final String KEY_UNMETERED_NR_NSA_BOOL = "unmetered_nr_nsa_bool"; 3194 3195 /** 3196 * Whether NR (non-standalone) frequencies above 6GHz (millimeter wave) should be unmetered. 3197 * If this is true, then the value for {@link #KEY_UNMETERED_NR_NSA_BOOL} will be ignored. 3198 * @hide 3199 */ 3200 public static final String KEY_UNMETERED_NR_NSA_MMWAVE_BOOL = "unmetered_nr_nsa_mmwave_bool"; 3201 3202 /** 3203 * Whether NR (non-standalone) frequencies below 6GHz (sub6) should be unmetered. 3204 * If this is true, then the value for {@link #KEY_UNMETERED_NR_NSA_BOOL} will be ignored. 3205 * @hide 3206 */ 3207 public static final String KEY_UNMETERED_NR_NSA_SUB6_BOOL = "unmetered_nr_nsa_sub6_bool"; 3208 3209 /** 3210 * Whether NR (non-standalone) should be unmetered when the device is roaming. 3211 * If false, then the values for {@link #KEY_UNMETERED_NR_NSA_BOOL}, 3212 * {@link #KEY_UNMETERED_NR_NSA_MMWAVE_BOOL}, {@link #KEY_UNMETERED_NR_NSA_SUB6_BOOL}, 3213 * and unmetered {@link SubscriptionPlan} will be ignored. 3214 * @hide 3215 */ 3216 public static final String KEY_UNMETERED_NR_NSA_WHEN_ROAMING_BOOL = 3217 "unmetered_nr_nsa_when_roaming_bool"; 3218 3219 /** 3220 * Whether NR (standalone) should be unmetered for all frequencies. 3221 * If either {@link #KEY_UNMETERED_NR_SA_MMWAVE_BOOL} or 3222 * {@link #KEY_UNMETERED_NR_SA_SUB6_BOOL} are true, then this value will be ignored. 3223 * @hide 3224 */ 3225 public static final String KEY_UNMETERED_NR_SA_BOOL = "unmetered_nr_sa_bool"; 3226 3227 /** 3228 * Whether NR (standalone) frequencies above 6GHz (millimeter wave) should be unmetered. 3229 * If this is true, then the value for {@link #KEY_UNMETERED_NR_SA_BOOL} will be ignored. 3230 * @hide 3231 */ 3232 public static final String KEY_UNMETERED_NR_SA_MMWAVE_BOOL = "unmetered_nr_sa_mmwave_bool"; 3233 3234 /** 3235 * Whether NR (standalone) frequencies below 6GHz (sub6) should be unmetered. 3236 * If this is true, then the value for {@link #KEY_UNMETERED_NR_SA_BOOL} will be ignored. 3237 * @hide 3238 */ 3239 public static final String KEY_UNMETERED_NR_SA_SUB6_BOOL = "unmetered_nr_sa_sub6_bool"; 3240 3241 /** 3242 * Support ASCII 7-BIT encoding for long SMS. This carrier config is used to enable 3243 * this feature. 3244 * @hide 3245 */ 3246 public static final String KEY_ASCII_7_BIT_SUPPORT_FOR_LONG_MESSAGE_BOOL = 3247 "ascii_7_bit_support_for_long_message_bool"; 3248 3249 /** 3250 * Controls whether to show wifi calling icon in statusbar when wifi calling is available. 3251 * @hide 3252 */ 3253 public static final String KEY_SHOW_WIFI_CALLING_ICON_IN_STATUS_BAR_BOOL = 3254 "show_wifi_calling_icon_in_status_bar_bool"; 3255 3256 /** 3257 * Controls RSRP threshold at which OpportunisticNetworkService will decide whether 3258 * the opportunistic network is good enough for internet data. 3259 */ 3260 public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSRP_INT = 3261 "opportunistic_network_entry_threshold_rsrp_int"; 3262 3263 /** 3264 * Controls RSSNR threshold at which OpportunisticNetworkService will decide whether 3265 * the opportunistic network is good enough for internet data. 3266 */ 3267 public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSSNR_INT = 3268 "opportunistic_network_entry_threshold_rssnr_int"; 3269 3270 /** 3271 * Controls RSRP threshold below which OpportunisticNetworkService will decide whether 3272 * the opportunistic network available is not good enough for internet data. 3273 */ 3274 public static final String KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSRP_INT = 3275 "opportunistic_network_exit_threshold_rsrp_int"; 3276 3277 /** 3278 * Controls RSSNR threshold below which OpportunisticNetworkService will decide whether 3279 * the opportunistic network available is not good enough for internet data. 3280 */ 3281 public static final String KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSSNR_INT = 3282 "opportunistic_network_exit_threshold_rssnr_int"; 3283 3284 /** 3285 * Controls bandwidth threshold in Kbps at which OpportunisticNetworkService will decide whether 3286 * the opportunistic network is good enough for internet data. 3287 */ 3288 public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_BANDWIDTH_INT = 3289 "opportunistic_network_entry_threshold_bandwidth_int"; 3290 3291 /** 3292 * Controls hysteresis time in milli seconds for which OpportunisticNetworkService 3293 * will wait before attaching to a network. 3294 */ 3295 public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_OR_EXIT_HYSTERESIS_TIME_LONG = 3296 "opportunistic_network_entry_or_exit_hysteresis_time_long"; 3297 3298 /** 3299 * Controls hysteresis time in milli seconds for which OpportunisticNetworkService 3300 * will wait before switching data to an opportunistic network. 3301 */ 3302 public static final String KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_HYSTERESIS_TIME_LONG = 3303 "opportunistic_network_data_switch_hysteresis_time_long"; 3304 3305 /** 3306 * Controls hysteresis time in milli seconds for which OpportunisticNetworkService 3307 * will wait before switching data from opportunistic network to primary network. 3308 */ 3309 public static final String KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_EXIT_HYSTERESIS_TIME_LONG = 3310 "opportunistic_network_data_switch_exit_hysteresis_time_long"; 3311 3312 /** 3313 * Controls whether to do ping test before switching data to opportunistic network. 3314 * This carrier config is used to disable this feature. 3315 */ 3316 public static final String KEY_PING_TEST_BEFORE_DATA_SWITCH_BOOL = 3317 "ping_test_before_data_switch_bool"; 3318 3319 /** 3320 * Controls whether to switch data to primary from opportunistic subscription 3321 * if primary is out of service. This control only affects system or 1st party app 3322 * initiated data switch, but will not override data switch initiated by privileged carrier apps 3323 * This carrier config is used to disable this feature. 3324 */ 3325 public static final String KEY_SWITCH_DATA_TO_PRIMARY_IF_PRIMARY_IS_OOS_BOOL = 3326 "switch_data_to_primary_if_primary_is_oos_bool"; 3327 3328 /** 3329 * Controls the ping pong determination of opportunistic network. 3330 * If opportunistic network is determined as out of service or below 3331 * #KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSRP_INT or 3332 * #KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSSNR_INT within 3333 * #KEY_OPPORTUNISTIC_NETWORK_PING_PONG_TIME_LONG of switching to opportunistic network, 3334 * it will be determined as ping pong situation by system app or 1st party app. 3335 */ 3336 public static final String KEY_OPPORTUNISTIC_NETWORK_PING_PONG_TIME_LONG = 3337 "opportunistic_network_ping_pong_time_long"; 3338 /** 3339 * Controls back off time in milli seconds for switching back to 3340 * opportunistic subscription. This time will be added to 3341 * {@link CarrierConfigManager#KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_HYSTERESIS_TIME_LONG} to 3342 * determine hysteresis time if there is ping pong situation 3343 * (determined by system app or 1st party app) between primary and opportunistic 3344 * subscription. Ping ping situation is defined in 3345 * #KEY_OPPORTUNISTIC_NETWORK_PING_PONG_TIME_LONG. 3346 * If ping pong situation continuous #KEY_OPPORTUNISTIC_NETWORK_BACKOFF_TIME_LONG 3347 * will be added to previously determined hysteresis time. 3348 */ 3349 public static final String KEY_OPPORTUNISTIC_NETWORK_BACKOFF_TIME_LONG = 3350 "opportunistic_network_backoff_time_long"; 3351 3352 /** 3353 * Controls the max back off time in milli seconds for switching back to 3354 * opportunistic subscription. 3355 * This time will be the max hysteresis that can be determined irrespective of there is 3356 * continuous ping pong situation or not as described in 3357 * #KEY_OPPORTUNISTIC_NETWORK_PING_PONG_TIME_LONG and 3358 * #KEY_OPPORTUNISTIC_NETWORK_BACKOFF_TIME_LONG. 3359 */ 3360 public static final String KEY_OPPORTUNISTIC_NETWORK_MAX_BACKOFF_TIME_LONG = 3361 "opportunistic_network_max_backoff_time_long"; 3362 3363 /** 3364 * Indicates zero or more emergency number prefix(es), because some carrier requires 3365 * if users dial an emergency number address with a specific prefix, the combination of the 3366 * prefix and the address is also a valid emergency number to dial. For example, an emergency 3367 * number prefix is 318, and the emergency number is 911. Both 318911 and 911 can be dialed by 3368 * users for emergency call. An empty array of string indicates that current carrier does not 3369 * have this requirement. 3370 */ 3371 public static final String KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY = 3372 "emergency_number_prefix_string_array"; 3373 3374 /** 3375 * Smart forwarding config. Smart forwarding is a feature to configure call forwarding to a 3376 * different SIM in the device when one SIM is not reachable. The config here specifies a smart 3377 * forwarding component that will launch UI for changing the configuration. An empty string 3378 * indicates that no smart forwarding component is specified. 3379 * 3380 * Currently, only one non-empty configuration of smart forwarding component within system will 3381 * be used when multiple SIMs are inserted. 3382 * 3383 * Empty string by default. 3384 * 3385 * @hide 3386 */ 3387 public static final String KEY_SMART_FORWARDING_CONFIG_COMPONENT_NAME_STRING = 3388 "smart_forwarding_config_component_name_string"; 3389 3390 /** 3391 * Indicates when a carrier has a primary subscription and an opportunistic subscription active, 3392 * and when Internet data is switched to opportunistic network, whether to still show 3393 * signal bar of primary network. By default it will be false, meaning whenever data 3394 * is going over opportunistic network, signal bar will reflect signal strength and rat 3395 * icon of that network. 3396 */ 3397 public static final String KEY_ALWAYS_SHOW_PRIMARY_SIGNAL_BAR_IN_OPPORTUNISTIC_NETWORK_BOOLEAN = 3398 "always_show_primary_signal_bar_in_opportunistic_network_boolean"; 3399 3400 /** 3401 * Upon data switching between subscriptions within a carrier group, if switch depends on 3402 * validation result, this value defines customized value of how long we wait for validation 3403 * success before we fail and revoke the switch. 3404 * Time out is in milliseconds. 3405 */ 3406 public static final String KEY_DATA_SWITCH_VALIDATION_TIMEOUT_LONG = 3407 "data_switch_validation_timeout_long"; 3408 3409 /** 3410 * Specifies whether the system should prefix the EAP method to the anonymous identity. 3411 * The following prefix will be added if this key is set to TRUE: 3412 * EAP-AKA: "0" 3413 * EAP-SIM: "1" 3414 * EAP-AKA_PRIME: "6" 3415 */ 3416 public static final String ENABLE_EAP_METHOD_PREFIX_BOOL = "enable_eap_method_prefix_bool"; 3417 3418 /** 3419 * GPS configs. See the GNSS HAL documentation for more details. 3420 */ 3421 public static final class Gps { Gps()3422 private Gps() {} 3423 3424 /** Prefix of all Gps.KEY_* constants. */ 3425 public static final String KEY_PREFIX = "gps."; 3426 3427 /** 3428 * Location information during (and after) an emergency call is only provided over control 3429 * plane signaling from the network. 3430 * @hide 3431 */ 3432 public static final int SUPL_EMERGENCY_MODE_TYPE_CP_ONLY = 0; 3433 3434 /** 3435 * Location information during (and after) an emergency call is provided over the data 3436 * plane and serviced by the framework GNSS service, but if it fails, the carrier also 3437 * supports control plane backup signaling. 3438 * @hide 3439 */ 3440 public static final int SUPL_EMERGENCY_MODE_TYPE_CP_FALLBACK = 1; 3441 3442 /** 3443 * Location information during (and after) an emergency call is provided over the data plane 3444 * and serviced by the framework GNSS service only. There is no backup signalling over the 3445 * control plane if it fails. 3446 * @hide 3447 */ 3448 public static final int SUPL_EMERGENCY_MODE_TYPE_DP_ONLY = 2; 3449 3450 3451 /** 3452 * Determine whether current lpp_mode used for E-911 needs to be kept persistently. 3453 * {@code false} - not keeping the lpp_mode means using default configuration of gps.conf 3454 * when sim is not presented. 3455 * {@code true} - current lpp_profile of carrier will be kepted persistently 3456 * even after sim is removed. This is default. 3457 */ 3458 public static final String KEY_PERSIST_LPP_MODE_BOOL = KEY_PREFIX + "persist_lpp_mode_bool"; 3459 3460 /** 3461 * SUPL server host for SET Initiated & non-ES Network-Initiated SUPL requests. 3462 * Default to supl.google.com 3463 * @hide 3464 */ 3465 public static final String KEY_SUPL_HOST_STRING = KEY_PREFIX + "supl_host"; 3466 3467 /** 3468 * SUPL server port. Default to 7275. 3469 * @hide 3470 */ 3471 public static final String KEY_SUPL_PORT_STRING = KEY_PREFIX + "supl_port"; 3472 3473 /** 3474 * The SUPL version requested by Carrier. This is a bit mask 3475 * with bits 0:7 representing a service indicator field, bits 8:15 3476 * representing the minor version and bits 16:23 representing the 3477 * major version. Default to 0x20000. 3478 * @hide 3479 */ 3480 public static final String KEY_SUPL_VER_STRING = KEY_PREFIX + "supl_ver"; 3481 3482 /** 3483 * SUPL_MODE configuration bit mask 3484 * 1 - Mobile Station Based. This is default. 3485 * 2 - Mobile Station Assisted. 3486 * @hide 3487 */ 3488 public static final String KEY_SUPL_MODE_STRING = KEY_PREFIX + "supl_mode"; 3489 3490 /** 3491 * Whether to limit responses to SUPL ES mode requests only during user emergency sessions 3492 * (e.g. E911), and SUPL non-ES requests to only outside of non user emergency sessions. 3493 * 0 - no. 3494 * 1 - yes. This is default. 3495 * @hide 3496 */ 3497 public static final String KEY_SUPL_ES_STRING = KEY_PREFIX + "supl_es"; 3498 3499 /** 3500 * LTE Positioning Profile settings bit mask. 3501 * 0 - Radio Resource Location Protocol in user plane and control plane. This is default. 3502 * 1 - Enable LTE Positioning Protocol in user plane. 3503 * 2 - Enable LTE Positioning Protocol in control plane. 3504 * @hide 3505 */ 3506 public static final String KEY_LPP_PROFILE_STRING = KEY_PREFIX + "lpp_profile"; 3507 3508 /** 3509 * Determine whether to use emergency PDN for emergency SUPL. 3510 * 0 - no. 3511 * 1 - yes. This is default. 3512 * @hide 3513 */ 3514 public static final String KEY_USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL_STRING = 3515 KEY_PREFIX + "use_emergency_pdn_for_emergency_supl"; 3516 3517 /** 3518 * A_GLONASS_POS_PROTOCOL_SELECT bit mask. 3519 * 0 - Don't use A-GLONASS. This is default. 3520 * 1 - Use A-GLONASS in Radio Resource Control(RRC) control-plane. 3521 * 2 - Use A-GLONASS in Radio Resource Location user-plane. 3522 * 4 - Use A-GLONASS in LTE Positioning Protocol User plane. 3523 * @hide 3524 */ 3525 public static final String KEY_A_GLONASS_POS_PROTOCOL_SELECT_STRING = 3526 KEY_PREFIX + "a_glonass_pos_protocol_select"; 3527 3528 /** 3529 * GPS_LOCK configuration bit mask to specify GPS device behavior toward other services, 3530 * when Location Settings are off. 3531 * "0" - No lock. 3532 * "1" - Lock Mobile Originated GPS functionalities. 3533 * "2" - Lock Network initiated GPS functionalities. 3534 * "3" - Lock both. This is default. 3535 * @hide 3536 */ 3537 public static final String KEY_GPS_LOCK_STRING = KEY_PREFIX + "gps_lock"; 3538 3539 /** 3540 * Control Plane / SUPL NI emergency extension time in seconds. Default to "0". 3541 * @hide 3542 */ 3543 public static final String KEY_ES_EXTENSION_SEC_STRING = KEY_PREFIX + "es_extension_sec"; 3544 3545 /** 3546 * Space separated list of Android package names of proxy applications representing 3547 * the non-framework entities requesting location directly from GNSS without involving 3548 * the framework, as managed by IGnssVisibilityControl.hal. For example, 3549 * "com.example.mdt com.example.ims". 3550 * @hide 3551 */ 3552 public static final String KEY_NFW_PROXY_APPS_STRING = KEY_PREFIX + "nfw_proxy_apps"; 3553 3554 /** 3555 * Determines whether or not SUPL ES mode supports a control-plane mechanism to get a user's 3556 * location in the event that data plane SUPL fails or is otherwise unavailable. 3557 * <p> 3558 * An integer value determines the support type of this carrier. If this carrier only 3559 * supports data plane SUPL ES, then the value will be 3560 * {@link #SUPL_EMERGENCY_MODE_TYPE_DP_ONLY}. If the carrier supports control plane fallback 3561 * for emergency SUPL, the value will be {@link #SUPL_EMERGENCY_MODE_TYPE_CP_FALLBACK}. 3562 * If the carrier does not support data plane SUPL using the framework, the value will be 3563 * {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. 3564 * <p> 3565 * The default value for this configuration is {@link #SUPL_EMERGENCY_MODE_TYPE_CP_ONLY}. 3566 * @hide 3567 */ 3568 public static final String KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT = KEY_PREFIX 3569 + "es_supl_control_plane_support_int"; 3570 3571 /** 3572 * A list of roaming PLMNs where SUPL ES mode does not support a control-plane mechanism to 3573 * get a user's location in the event that data plane SUPL fails or is otherwise 3574 * unavailable. 3575 * <p> 3576 * A string array of PLMNs that do not support a control-plane mechanism for getting a 3577 * user's location for SUPL ES. 3578 * @hide 3579 */ 3580 public static final String KEY_ES_SUPL_DATA_PLANE_ONLY_ROAMING_PLMN_STRING_ARRAY = 3581 KEY_PREFIX + "es_supl_data_plane_only_roaming_plmn_string_array"; 3582 getDefaults()3583 private static PersistableBundle getDefaults() { 3584 PersistableBundle defaults = new PersistableBundle(); 3585 defaults.putBoolean(KEY_PERSIST_LPP_MODE_BOOL, true); 3586 defaults.putString(KEY_SUPL_HOST_STRING, "supl.google.com"); 3587 defaults.putString(KEY_SUPL_PORT_STRING, "7275"); 3588 defaults.putString(KEY_SUPL_VER_STRING, "0x20000"); 3589 defaults.putString(KEY_SUPL_MODE_STRING, "1"); 3590 defaults.putString(KEY_SUPL_ES_STRING, "1"); 3591 defaults.putString(KEY_LPP_PROFILE_STRING, "2"); 3592 defaults.putString(KEY_USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL_STRING, "1"); 3593 defaults.putString(KEY_A_GLONASS_POS_PROTOCOL_SELECT_STRING, "0"); 3594 defaults.putString(KEY_GPS_LOCK_STRING, "3"); 3595 defaults.putString(KEY_ES_EXTENSION_SEC_STRING, "0"); 3596 defaults.putString(KEY_NFW_PROXY_APPS_STRING, ""); 3597 defaults.putInt(KEY_ES_SUPL_CONTROL_PLANE_SUPPORT_INT, 3598 SUPL_EMERGENCY_MODE_TYPE_CP_ONLY); 3599 defaults.putStringArray(KEY_ES_SUPL_DATA_PLANE_ONLY_ROAMING_PLMN_STRING_ARRAY, null); 3600 return defaults; 3601 } 3602 } 3603 3604 /** 3605 * An int array containing CDMA enhanced roaming indicator values for Home (non-roaming) network. 3606 * The default values come from 3GPP2 C.R1001 table 8.1-1. 3607 * Enhanced Roaming Indicator Number Assignments 3608 * 3609 * @hide 3610 */ 3611 public static final String KEY_CDMA_ENHANCED_ROAMING_INDICATOR_FOR_HOME_NETWORK_INT_ARRAY = 3612 "cdma_enhanced_roaming_indicator_for_home_network_int_array"; 3613 3614 /** 3615 * Determines whether wifi calling location privacy policy is shown. 3616 */ 3617 public static final String KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL = 3618 "show_wfc_location_privacy_policy_bool"; 3619 3620 /** 3621 * Indicates use 3GPP application to replace 3GPP2 application even if it's a CDMA/CDMA-LTE 3622 * phone, becasue some carriers's CSIM application is present but not supported. 3623 * @hide 3624 */ 3625 public static final String KEY_USE_USIM_BOOL = "use_usim_bool"; 3626 3627 /** 3628 * Determines whether the carrier wants to cancel the cs reject notification automatically 3629 * when the voice registration state changes. 3630 * If true, the notification will be automatically removed 3631 * when the voice registration state changes. 3632 * If false, the notification will persist until the user dismisses it, 3633 * the SIM is removed, or the device is rebooted. 3634 * @hide 3635 */ 3636 public static final String KEY_AUTO_CANCEL_CS_REJECT_NOTIFICATION = 3637 "carrier_auto_cancel_cs_notification"; 3638 3639 /** 3640 * Passing this value as {@link KEY_SUBSCRIPTION_GROUP_UUID_STRING} will remove the 3641 * subscription from a group instead of adding it to a group. 3642 * 3643 * TODO: Expose in a future release. 3644 * 3645 * @hide 3646 */ 3647 public static final String REMOVE_GROUP_UUID_STRING = "00000000-0000-0000-0000-000000000000"; 3648 3649 /** 3650 * The UUID of a Group of related subscriptions in which to place the current subscription. 3651 * 3652 * A grouped subscription will behave for billing purposes and other UI purposes as though it 3653 * is a transparent extension of other subscriptions in the group. 3654 * 3655 * <p>If set to {@link #REMOVE_GROUP_UUID_STRING}, then the subscription will be removed from 3656 * its current group. 3657 * 3658 * TODO: unhide this key. 3659 * 3660 * @hide 3661 */ 3662 public static final String KEY_SUBSCRIPTION_GROUP_UUID_STRING = 3663 "subscription_group_uuid_string"; 3664 3665 /** 3666 * Data switch validation minimal gap time, in milliseconds. 3667 * 3668 * Which means, if the same subscription on the same network (based on MCC+MNC+TAC+subId) 3669 * was recently validated (within this time gap), and Telephony receives a request to switch to 3670 * it again, Telephony will skip the validation part and switch to it as soon as connection 3671 * is setup, as if it's already validated. 3672 * 3673 * If the network was validated within the gap but the latest validation result is false, the 3674 * validation will not be skipped. 3675 * 3676 * If not set or set to 0, validation will never be skipped. 3677 * The max acceptable value of this config is 24 hours. 3678 * 3679 * @hide 3680 */ 3681 public static final String KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG = 3682 "data_switch_validation_min_gap_long"; 3683 3684 /** 3685 * A boolean property indicating whether this subscription should be managed as an opportunistic 3686 * subscription. 3687 * 3688 * If true, then this subscription will be selected based on available coverage and will not be 3689 * available for a user in settings menus for selecting macro network providers. If unset, 3690 * defaults to “false”. 3691 * 3692 * TODO: unhide this key. 3693 * 3694 * @hide 3695 */ 3696 public static final String KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL = 3697 "is_opportunistic_subscription_bool"; 3698 3699 /** 3700 * Configs used by the IMS stack. 3701 */ 3702 public static final class Ims { 3703 /** Prefix of all Ims.KEY_* constants. */ 3704 public static final String KEY_PREFIX = "ims."; 3705 3706 /** 3707 * Delay in milliseconds to turn off wifi when IMS is registered over wifi. 3708 */ 3709 public static final String KEY_WIFI_OFF_DEFERRING_TIME_MILLIS_INT = 3710 KEY_PREFIX + "wifi_off_deferring_time_millis_int"; 3711 Ims()3712 private Ims() {} 3713 getDefaults()3714 private static PersistableBundle getDefaults() { 3715 PersistableBundle defaults = new PersistableBundle(); 3716 defaults.putInt(KEY_WIFI_OFF_DEFERRING_TIME_MILLIS_INT, 4000); 3717 return defaults; 3718 } 3719 } 3720 3721 /** 3722 * A list of 4 GSM RSSI thresholds above which a signal level is considered POOR, 3723 * MODERATE, GOOD, or EXCELLENT, to be used in SignalStrength reporting. 3724 * 3725 * Note that the min and max thresholds are fixed at -113 and -51, as set in 3GPP TS 27.007 3726 * section 8.5. 3727 * <p> 3728 * See CellSignalStrengthGsm#GSM_RSSI_MAX and CellSignalStrengthGsm#GSM_RSSI_MIN. Any signal 3729 * level outside these boundaries is considered invalid. 3730 * @hide 3731 */ 3732 public static final String KEY_GSM_RSSI_THRESHOLDS_INT_ARRAY = 3733 "gsm_rssi_thresholds_int_array"; 3734 3735 /** 3736 * Determines whether Wireless Priority Service call is supported over IMS. 3737 * 3738 * See Wireless Priority Service from https://www.fcc.gov/general/wireless-priority-service-wps 3739 * @hide 3740 */ 3741 public static final String KEY_SUPPORT_WPS_OVER_IMS_BOOL = 3742 "support_wps_over_ims_bool"; 3743 3744 /** 3745 * The two digital number pattern of MMI code which is defined by carrier. 3746 * If the dial number matches this pattern, it will be dialed out normally not USSD. 3747 * 3748 * @hide 3749 */ 3750 public static final String KEY_MMI_TWO_DIGIT_NUMBER_PATTERN_STRING_ARRAY = 3751 "mmi_two_digit_number_pattern_string_array"; 3752 3753 /** 3754 * Holds the list of carrier certificate hashes. 3755 * Note that each carrier has its own certificates. 3756 */ 3757 public static final String KEY_CARRIER_CERTIFICATE_STRING_ARRAY = 3758 "carrier_certificate_string_array"; 3759 3760 /** 3761 * DisconnectCause array to play busy tone. Value should be array of 3762 * {@link android.telephony.DisconnectCause}. 3763 */ 3764 public static final String KEY_DISCONNECT_CAUSE_PLAY_BUSYTONE_INT_ARRAY = 3765 "disconnect_cause_play_busytone_int_array"; 3766 3767 /** 3768 * Flag specifying whether to prevent sending CLIR activation("*31#") and deactivation("#31#") 3769 * code only without dialing number. 3770 * When {@code true}, these are prevented, {@code false} otherwise. 3771 */ 3772 public static final String KEY_PREVENT_CLIR_ACTIVATION_AND_DEACTIVATION_CODE_BOOL = 3773 "prevent_clir_activation_and_deactivation_code_bool"; 3774 3775 /** 3776 * Flag specifying whether to show forwarded number on call-in-progress screen. 3777 * When true, forwarded number is shown. 3778 * When false, forwarded number is not shown. 3779 */ 3780 public static final String KEY_SHOW_FORWARDED_NUMBER_BOOL = 3781 "show_forwarded_number_bool"; 3782 3783 /** 3784 * The list of originating address of missed incoming call SMS. If the SMS has originator 3785 * matched, the SMS will be treated as special SMS for notifying missed incoming call to the 3786 * user. 3787 * 3788 * @hide 3789 */ 3790 public static final String KEY_MISSED_INCOMING_CALL_SMS_ORIGINATOR_STRING_ARRAY = 3791 "missed_incoming_call_sms_originator_string_array"; 3792 3793 3794 /** 3795 * String array of Apn Type configurations. 3796 * The entries should be of form "APN_TYPE_NAME:priority". 3797 * priority is an integer that is sorted from highest to lowest. 3798 * example: cbs:5 3799 * 3800 * @hide 3801 */ 3802 public static final String KEY_APN_PRIORITY_STRING_ARRAY = "apn_priority_string_array"; 3803 3804 /** 3805 * The patterns of missed incoming call sms. This is the regular expression used for 3806 * matching the missed incoming call's date, time, and caller id. The pattern should match 3807 * fields for at least month, day, hour, and minute. Year is optional although it is encouraged. 3808 * 3809 * An usable pattern should look like this: 3810 * ^(?<month>0[1-9]|1[012])\/(?<day>0[1-9]|1[0-9]|2[0-9]|3[0-1]) (?<hour>[0-1][0-9]|2[0-3]): 3811 * (?<minute>[0-5][0-9])\s*(?<callerId>[0-9]+)\s*$ 3812 * 3813 * @hide 3814 */ 3815 public static final String KEY_MISSED_INCOMING_CALL_SMS_PATTERN_STRING_ARRAY = 3816 "missed_incoming_call_sms_pattern_string_array"; 3817 3818 /** The default value for every variable. */ 3819 private final static PersistableBundle sDefaults; 3820 3821 static { 3822 sDefaults = new PersistableBundle(); sDefaults.putString(KEY_CARRIER_CONFIG_VERSION_STRING, "")3823 sDefaults.putString(KEY_CARRIER_CONFIG_VERSION_STRING, ""); sDefaults.putBoolean(KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL, true)3824 sDefaults.putBoolean(KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL, true); sDefaults.putBoolean(KEY_CARRIER_ALLOW_DEFLECT_IMS_CALL_BOOL, false)3825 sDefaults.putBoolean(KEY_CARRIER_ALLOW_DEFLECT_IMS_CALL_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_ALLOW_TRANSFER_IMS_CALL_BOOL, false)3826 sDefaults.putBoolean(KEY_CARRIER_ALLOW_TRANSFER_IMS_CALL_BOOL, false); sDefaults.putBoolean(KEY_ALWAYS_PLAY_REMOTE_HOLD_TONE_BOOL, false)3827 sDefaults.putBoolean(KEY_ALWAYS_PLAY_REMOTE_HOLD_TONE_BOOL, false); sDefaults.putBoolean(KEY_AUTO_RETRY_FAILED_WIFI_EMERGENCY_CALL, false)3828 sDefaults.putBoolean(KEY_AUTO_RETRY_FAILED_WIFI_EMERGENCY_CALL, false); sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true)3829 sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true); sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false)3830 sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false); sDefaults.putStringArray(KEY_UNLOGGABLE_NUMBERS_STRING_ARRAY, null)3831 sDefaults.putStringArray(KEY_UNLOGGABLE_NUMBERS_STRING_ARRAY, null); sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true)3832 sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true); sDefaults.putBoolean(KEY_PLAY_CALL_RECORDING_TONE_BOOL, false)3833 sDefaults.putBoolean(KEY_PLAY_CALL_RECORDING_TONE_BOOL, false); sDefaults.putBoolean(KEY_APN_EXPAND_BOOL, true)3834 sDefaults.putBoolean(KEY_APN_EXPAND_BOOL, true); sDefaults.putBoolean(KEY_AUTO_RETRY_ENABLED_BOOL, false)3835 sDefaults.putBoolean(KEY_AUTO_RETRY_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_SETTINGS_ENABLE_BOOL, false)3836 sDefaults.putBoolean(KEY_CARRIER_SETTINGS_ENABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false)3837 sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false)3838 sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_VOLTE_5G_LIMITED_ALERT_DIALOG_BOOL, false)3839 sDefaults.putBoolean(KEY_VOLTE_5G_LIMITED_ALERT_DIALOG_BOOL, false); sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL, false)3840 sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL, false); sDefaults.putBoolean(KEY_ALLOW_MERGING_RTT_CALLS_BOOL, false)3841 sDefaults.putBoolean(KEY_ALLOW_MERGING_RTT_CALLS_BOOL, false); sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_LTE_TO_WIFI_BOOL, false)3842 sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_LTE_TO_WIFI_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL, true)3843 sDefaults.putBoolean(KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL, true); sDefaults.putString(KEY_DEFAULT_VM_NUMBER_STRING, "")3844 sDefaults.putString(KEY_DEFAULT_VM_NUMBER_STRING, ""); sDefaults.putString(KEY_DEFAULT_VM_NUMBER_ROAMING_STRING, "")3845 sDefaults.putString(KEY_DEFAULT_VM_NUMBER_ROAMING_STRING, ""); sDefaults.putString(KEY_DEFAULT_VM_NUMBER_ROAMING_AND_IMS_UNREGISTERED_STRING, "")3846 sDefaults.putString(KEY_DEFAULT_VM_NUMBER_ROAMING_AND_IMS_UNREGISTERED_STRING, ""); sDefaults.putBoolean(KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL, false)3847 sDefaults.putBoolean(KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL, false); sDefaults.putBoolean(KEY_IGNORE_DATA_ENABLED_CHANGED_FOR_VIDEO_CALLS, true)3848 sDefaults.putBoolean(KEY_IGNORE_DATA_ENABLED_CHANGED_FOR_VIDEO_CALLS, true); sDefaults.putBoolean(KEY_VILTE_DATA_IS_METERED_BOOL, true)3849 sDefaults.putBoolean(KEY_VILTE_DATA_IS_METERED_BOOL, true); sDefaults.putBoolean(KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, false)3850 sDefaults.putBoolean(KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL, false)3851 sDefaults.putBoolean(KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, false)3852 sDefaults.putBoolean(KEY_CARRIER_DEFAULT_WFC_IMS_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, false)3853 sDefaults.putBoolean(KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_PROMOTE_WFC_ON_CALL_FAIL_BOOL, false)3854 sDefaults.putBoolean(KEY_CARRIER_PROMOTE_WFC_ON_CALL_FAIL_BOOL, false); sDefaults.putInt(KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, 2)3855 sDefaults.putInt(KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT, 2); sDefaults.putInt(KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, 2)3856 sDefaults.putInt(KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT, 2); sDefaults.putBoolean(KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL, false)3857 sDefaults.putBoolean(KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_RCS_PROVISIONING_REQUIRED_BOOL, true)3858 sDefaults.putBoolean(KEY_CARRIER_RCS_PROVISIONING_REQUIRED_BOOL, true); sDefaults.putBoolean(KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, false)3859 sDefaults.putBoolean(KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL, false)3860 sDefaults.putBoolean(KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL, false)3861 sDefaults.putBoolean(KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOL, false)3862 sDefaults.putBoolean(KEY_CARRIER_VOLTE_OVERRIDE_WFC_PROVISIONING_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL, true)3863 sDefaults.putBoolean(KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL, true); sDefaults.putBoolean(KEY_CARRIER_ALLOW_TURNOFF_IMS_BOOL, true)3864 sDefaults.putBoolean(KEY_CARRIER_ALLOW_TURNOFF_IMS_BOOL, true); sDefaults.putBoolean(KEY_CARRIER_IMS_GBA_REQUIRED_BOOL, false)3865 sDefaults.putBoolean(KEY_CARRIER_IMS_GBA_REQUIRED_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL, false)3866 sDefaults.putBoolean(KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL, false); sDefaults.putBoolean(KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL, true)3867 sDefaults.putBoolean(KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL, true); sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING, "")3868 sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING, ""); sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING, "")3869 sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING, ""); sDefaults.putString(KEY_CARRIER_QUALIFIED_NETWORKS_SERVICE_PACKAGE_OVERRIDE_STRING, "")3870 sDefaults.putString(KEY_CARRIER_QUALIFIED_NETWORKS_SERVICE_PACKAGE_OVERRIDE_STRING, ""); sDefaults.putString(KEY_CARRIER_DATA_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING, "")3871 sDefaults.putString(KEY_CARRIER_DATA_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING, ""); sDefaults.putString(KEY_CARRIER_DATA_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING, "")3872 sDefaults.putString(KEY_CARRIER_DATA_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING, ""); sDefaults.putString(KEY_CARRIER_INSTANT_LETTERING_INVALID_CHARS_STRING, "")3873 sDefaults.putString(KEY_CARRIER_INSTANT_LETTERING_INVALID_CHARS_STRING, ""); sDefaults.putString(KEY_CARRIER_INSTANT_LETTERING_ESCAPED_CHARS_STRING, "")3874 sDefaults.putString(KEY_CARRIER_INSTANT_LETTERING_ESCAPED_CHARS_STRING, ""); sDefaults.putString(KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING, "")3875 sDefaults.putString(KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING, ""); sDefaults.putInt(KEY_CARRIER_INSTANT_LETTERING_LENGTH_LIMIT_INT, 64)3876 sDefaults.putInt(KEY_CARRIER_INSTANT_LETTERING_LENGTH_LIMIT_INT, 64); sDefaults.putBoolean(KEY_DISABLE_CDMA_ACTIVATION_CODE_BOOL, false)3877 sDefaults.putBoolean(KEY_DISABLE_CDMA_ACTIVATION_CODE_BOOL, false); sDefaults.putBoolean(KEY_DTMF_TYPE_ENABLED_BOOL, false)3878 sDefaults.putBoolean(KEY_DTMF_TYPE_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_ENABLE_DIALER_KEY_VIBRATION_BOOL, true)3879 sDefaults.putBoolean(KEY_ENABLE_DIALER_KEY_VIBRATION_BOOL, true); sDefaults.putBoolean(KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL, false)3880 sDefaults.putBoolean(KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL, false); sDefaults.putBoolean(KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, false)3881 sDefaults.putBoolean(KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, false); sDefaults.putBoolean(KEY_ONLY_AUTO_SELECT_IN_HOME_NETWORK_BOOL, false)3882 sDefaults.putBoolean(KEY_ONLY_AUTO_SELECT_IN_HOME_NETWORK_BOOL, false); sDefaults.putBoolean(KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL, false)3883 sDefaults.putBoolean(KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL, false); sDefaults.putBoolean(KEY_HIDE_SIM_LOCK_SETTINGS_BOOL, false)3884 sDefaults.putBoolean(KEY_HIDE_SIM_LOCK_SETTINGS_BOOL, false); 3885 sDefaults.putBoolean(KEY_CARRIER_VOLTE_PROVISIONED_BOOL, false)3886 sDefaults.putBoolean(KEY_CARRIER_VOLTE_PROVISIONED_BOOL, false); sDefaults.putBoolean(KEY_CALL_BARRING_VISIBILITY_BOOL, false)3887 sDefaults.putBoolean(KEY_CALL_BARRING_VISIBILITY_BOOL, false); sDefaults.putBoolean(KEY_CALL_BARRING_SUPPORTS_PASSWORD_CHANGE_BOOL, true)3888 sDefaults.putBoolean(KEY_CALL_BARRING_SUPPORTS_PASSWORD_CHANGE_BOOL, true); sDefaults.putBoolean(KEY_CALL_BARRING_SUPPORTS_DEACTIVATE_ALL_BOOL, true)3889 sDefaults.putBoolean(KEY_CALL_BARRING_SUPPORTS_DEACTIVATE_ALL_BOOL, true); sDefaults.putBoolean(KEY_CALL_FORWARDING_VISIBILITY_BOOL, true)3890 sDefaults.putBoolean(KEY_CALL_FORWARDING_VISIBILITY_BOOL, true); sDefaults.putBoolean(KEY_CALL_FORWARDING_WHEN_UNREACHABLE_SUPPORTED_BOOL, true)3891 sDefaults.putBoolean(KEY_CALL_FORWARDING_WHEN_UNREACHABLE_SUPPORTED_BOOL, true); sDefaults.putBoolean(KEY_CALL_FORWARDING_WHEN_UNANSWERED_SUPPORTED_BOOL, true)3892 sDefaults.putBoolean(KEY_CALL_FORWARDING_WHEN_UNANSWERED_SUPPORTED_BOOL, true); sDefaults.putBoolean(KEY_CALL_FORWARDING_WHEN_BUSY_SUPPORTED_BOOL, true)3893 sDefaults.putBoolean(KEY_CALL_FORWARDING_WHEN_BUSY_SUPPORTED_BOOL, true); sDefaults.putBoolean(KEY_ADDITIONAL_SETTINGS_CALLER_ID_VISIBILITY_BOOL, true)3894 sDefaults.putBoolean(KEY_ADDITIONAL_SETTINGS_CALLER_ID_VISIBILITY_BOOL, true); sDefaults.putBoolean(KEY_ADDITIONAL_SETTINGS_CALL_WAITING_VISIBILITY_BOOL, true)3895 sDefaults.putBoolean(KEY_ADDITIONAL_SETTINGS_CALL_WAITING_VISIBILITY_BOOL, true); sDefaults.putBoolean(KEY_DISABLE_SUPPLEMENTARY_SERVICES_IN_AIRPLANE_MODE_BOOL, false)3896 sDefaults.putBoolean(KEY_DISABLE_SUPPLEMENTARY_SERVICES_IN_AIRPLANE_MODE_BOOL, false); sDefaults.putBoolean(KEY_IGNORE_SIM_NETWORK_LOCKED_EVENTS_BOOL, false)3897 sDefaults.putBoolean(KEY_IGNORE_SIM_NETWORK_LOCKED_EVENTS_BOOL, false); sDefaults.putBoolean(KEY_MDN_IS_ADDITIONAL_VOICEMAIL_NUMBER_BOOL, false)3898 sDefaults.putBoolean(KEY_MDN_IS_ADDITIONAL_VOICEMAIL_NUMBER_BOOL, false); sDefaults.putBoolean(KEY_OPERATOR_SELECTION_EXPAND_BOOL, true)3899 sDefaults.putBoolean(KEY_OPERATOR_SELECTION_EXPAND_BOOL, true); sDefaults.putBoolean(KEY_PREFER_2G_BOOL, true)3900 sDefaults.putBoolean(KEY_PREFER_2G_BOOL, true); sDefaults.putBoolean(KEY_SHOW_APN_SETTING_CDMA_BOOL, false)3901 sDefaults.putBoolean(KEY_SHOW_APN_SETTING_CDMA_BOOL, false); sDefaults.putBoolean(KEY_SHOW_CDMA_CHOICES_BOOL, false)3902 sDefaults.putBoolean(KEY_SHOW_CDMA_CHOICES_BOOL, false); sDefaults.putBoolean(KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL, false)3903 sDefaults.putBoolean(KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL, false)3904 sDefaults.putBoolean(KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL, false); sDefaults.putBoolean(KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL, true)3905 sDefaults.putBoolean(KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL, true); sDefaults.putBoolean(KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL, true)3906 sDefaults.putBoolean(KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL, false)3907 sDefaults.putBoolean(KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_SWAP_AFTER_MERGE_BOOL, true)3908 sDefaults.putBoolean(KEY_SUPPORT_SWAP_AFTER_MERGE_BOOL, true); sDefaults.putBoolean(KEY_USE_HFA_FOR_PROVISIONING_BOOL, false)3909 sDefaults.putBoolean(KEY_USE_HFA_FOR_PROVISIONING_BOOL, false); sDefaults.putBoolean(KEY_EDITABLE_VOICEMAIL_NUMBER_SETTING_BOOL, true)3910 sDefaults.putBoolean(KEY_EDITABLE_VOICEMAIL_NUMBER_SETTING_BOOL, true); sDefaults.putBoolean(KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL, false)3911 sDefaults.putBoolean(KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL, false); sDefaults.putBoolean(KEY_USE_OTASP_FOR_PROVISIONING_BOOL, false)3912 sDefaults.putBoolean(KEY_USE_OTASP_FOR_PROVISIONING_BOOL, false); sDefaults.putBoolean(KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL, false)3913 sDefaults.putBoolean(KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL, false); sDefaults.putBoolean(KEY_VOICE_PRIVACY_DISABLE_UI_BOOL, false)3914 sDefaults.putBoolean(KEY_VOICE_PRIVACY_DISABLE_UI_BOOL, false); sDefaults.putBoolean(KEY_WORLD_PHONE_BOOL, false)3915 sDefaults.putBoolean(KEY_WORLD_PHONE_BOOL, false); sDefaults.putBoolean(KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL, true)3916 sDefaults.putBoolean(KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL, true); sDefaults.putBoolean(KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL, false)3917 sDefaults.putBoolean(KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL, false); sDefaults.putIntArray(KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY, new int[]{})3918 sDefaults.putIntArray(KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY, new int[]{}); sDefaults.putInt(KEY_VOLTE_REPLACEMENT_RAT_INT, 0)3919 sDefaults.putInt(KEY_VOLTE_REPLACEMENT_RAT_INT, 0); sDefaults.putString(KEY_DEFAULT_SIM_CALL_MANAGER_STRING, "")3920 sDefaults.putString(KEY_DEFAULT_SIM_CALL_MANAGER_STRING, ""); sDefaults.putString(KEY_VVM_DESTINATION_NUMBER_STRING, "")3921 sDefaults.putString(KEY_VVM_DESTINATION_NUMBER_STRING, ""); sDefaults.putInt(KEY_VVM_PORT_NUMBER_INT, 0)3922 sDefaults.putInt(KEY_VVM_PORT_NUMBER_INT, 0); sDefaults.putString(KEY_VVM_TYPE_STRING, "")3923 sDefaults.putString(KEY_VVM_TYPE_STRING, ""); sDefaults.putBoolean(KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL, false)3924 sDefaults.putBoolean(KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL, false); sDefaults.putString(KEY_VVM_CLIENT_PREFIX_STRING,"//VVM")3925 sDefaults.putString(KEY_VVM_CLIENT_PREFIX_STRING,"//VVM"); sDefaults.putBoolean(KEY_VVM_SSL_ENABLED_BOOL,false)3926 sDefaults.putBoolean(KEY_VVM_SSL_ENABLED_BOOL,false); sDefaults.putStringArray(KEY_VVM_DISABLED_CAPABILITIES_STRING_ARRAY, null)3927 sDefaults.putStringArray(KEY_VVM_DISABLED_CAPABILITIES_STRING_ARRAY, null); sDefaults.putBoolean(KEY_VVM_LEGACY_MODE_ENABLED_BOOL,false)3928 sDefaults.putBoolean(KEY_VVM_LEGACY_MODE_ENABLED_BOOL,false); sDefaults.putBoolean(KEY_VVM_PREFETCH_BOOL, true)3929 sDefaults.putBoolean(KEY_VVM_PREFETCH_BOOL, true); sDefaults.putString(KEY_CARRIER_VVM_PACKAGE_NAME_STRING, "")3930 sDefaults.putString(KEY_CARRIER_VVM_PACKAGE_NAME_STRING, ""); sDefaults.putStringArray(KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY, null)3931 sDefaults.putStringArray(KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY, null); sDefaults.putBoolean(KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL, false)3932 sDefaults.putBoolean(KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL, false); sDefaults.putBoolean(KEY_SHOW_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL, true)3933 sDefaults.putBoolean(KEY_SHOW_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL, true); sDefaults.putBoolean(KEY_CI_ACTION_ON_SYS_UPDATE_BOOL, false)3934 sDefaults.putBoolean(KEY_CI_ACTION_ON_SYS_UPDATE_BOOL, false); sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING, "")3935 sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING, ""); sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING, "")3936 sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING, ""); sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING, "")3937 sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING, ""); sDefaults.putBoolean(KEY_CSP_ENABLED_BOOL, false)3938 sDefaults.putBoolean(KEY_CSP_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_ALLOW_ADDING_APNS_BOOL, true)3939 sDefaults.putBoolean(KEY_ALLOW_ADDING_APNS_BOOL, true); sDefaults.putStringArray(KEY_READ_ONLY_APN_TYPES_STRING_ARRAY, new String[] {"dun"})3940 sDefaults.putStringArray(KEY_READ_ONLY_APN_TYPES_STRING_ARRAY, new String[] {"dun"}); sDefaults.putStringArray(KEY_READ_ONLY_APN_FIELDS_STRING_ARRAY, null)3941 sDefaults.putStringArray(KEY_READ_ONLY_APN_FIELDS_STRING_ARRAY, null); sDefaults.putStringArray(KEY_APN_SETTINGS_DEFAULT_APN_TYPES_STRING_ARRAY, null)3942 sDefaults.putStringArray(KEY_APN_SETTINGS_DEFAULT_APN_TYPES_STRING_ARRAY, null); Apn.getDefaults()3943 sDefaults.putAll(Apn.getDefaults()); 3944 sDefaults.putBoolean(KEY_BROADCAST_EMERGENCY_CALL_STATE_CHANGES_BOOL, false)3945 sDefaults.putBoolean(KEY_BROADCAST_EMERGENCY_CALL_STATE_CHANGES_BOOL, false); sDefaults.putBoolean(KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL, false)3946 sDefaults.putBoolean(KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL, false); sDefaults.putStringArray(KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, new String[]{ "default:default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000," + "320000:5000,640000:5000,1280000:5000,1800000:5000", "mms:default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000," + "320000:5000,640000:5000,1280000:5000,1800000:5000", "others:max_retries=3, 5000, 5000, 5000"})3947 sDefaults.putStringArray(KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, new String[]{ 3948 "default:default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000," 3949 + "320000:5000,640000:5000,1280000:5000,1800000:5000", 3950 "mms:default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000," 3951 + "320000:5000,640000:5000,1280000:5000,1800000:5000", 3952 "others:max_retries=3, 5000, 5000, 5000"}); sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG, 20000)3953 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_DEFAULT_LONG, 20000); sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG, 3000)3954 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_DELAY_FASTER_LONG, 3000); sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG, 10000)3955 sDefaults.putLong(KEY_CARRIER_DATA_CALL_APN_RETRY_AFTER_DISCONNECT_LONG, 10000); sDefaults.putString(KEY_CARRIER_ERI_FILE_NAME_STRING, "eri.xml")3956 sDefaults.putString(KEY_CARRIER_ERI_FILE_NAME_STRING, "eri.xml"); sDefaults.putInt(KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT, 7200)3957 sDefaults.putInt(KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT, 7200); sDefaults.putStringArray(KEY_CARRIER_METERED_APN_TYPES_STRINGS, new String[]{"default", "mms", "dun", "supl"})3958 sDefaults.putStringArray(KEY_CARRIER_METERED_APN_TYPES_STRINGS, 3959 new String[]{"default", "mms", "dun", "supl"}); sDefaults.putStringArray(KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, new String[]{"default", "mms", "dun", "supl"})3960 sDefaults.putStringArray(KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, 3961 new String[]{"default", "mms", "dun", "supl"}); sDefaults.putStringArray(KEY_CARRIER_WWAN_DISALLOWED_APN_TYPES_STRING_ARRAY, new String[]{""})3962 sDefaults.putStringArray(KEY_CARRIER_WWAN_DISALLOWED_APN_TYPES_STRING_ARRAY, 3963 new String[]{""}); sDefaults.putStringArray(KEY_CARRIER_WLAN_DISALLOWED_APN_TYPES_STRING_ARRAY, new String[]{""})3964 sDefaults.putStringArray(KEY_CARRIER_WLAN_DISALLOWED_APN_TYPES_STRING_ARRAY, 3965 new String[]{""}); sDefaults.putIntArray(KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY, new int[]{ 4, 5, 6, 7, 8, 12 })3966 sDefaults.putIntArray(KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY, 3967 new int[]{ 3968 4, /* IS95A */ 3969 5, /* IS95B */ 3970 6, /* 1xRTT */ 3971 7, /* EVDO_0 */ 3972 8, /* EVDO_A */ 3973 12 /* EVDO_B */ 3974 }); sDefaults.putStringArray(KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY, null)3975 sDefaults.putStringArray(KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY, null); sDefaults.putStringArray(KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY, null)3976 sDefaults.putStringArray(KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY, null); sDefaults.putString(KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING, null)3977 sDefaults.putString(KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING, null); sDefaults.putString(KEY_CONFIG_IMS_MMTEL_PACKAGE_OVERRIDE_STRING, null)3978 sDefaults.putString(KEY_CONFIG_IMS_MMTEL_PACKAGE_OVERRIDE_STRING, null); sDefaults.putString(KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRING, null)3979 sDefaults.putString(KEY_CONFIG_IMS_RCS_PACKAGE_OVERRIDE_STRING, null); sDefaults.putStringArray(KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY, null)3980 sDefaults.putStringArray(KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY, null); sDefaults.putStringArray(KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY, null)3981 sDefaults.putStringArray(KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY, null); sDefaults.putStringArray(KEY_DIAL_STRING_REPLACE_STRING_ARRAY, null)3982 sDefaults.putStringArray(KEY_DIAL_STRING_REPLACE_STRING_ARRAY, null); sDefaults.putBoolean(KEY_FORCE_HOME_NETWORK_BOOL, false)3983 sDefaults.putBoolean(KEY_FORCE_HOME_NETWORK_BOOL, false); sDefaults.putInt(KEY_GSM_DTMF_TONE_DELAY_INT, 0)3984 sDefaults.putInt(KEY_GSM_DTMF_TONE_DELAY_INT, 0); sDefaults.putInt(KEY_IMS_DTMF_TONE_DELAY_INT, 0)3985 sDefaults.putInt(KEY_IMS_DTMF_TONE_DELAY_INT, 0); sDefaults.putInt(KEY_CDMA_DTMF_TONE_DELAY_INT, 100)3986 sDefaults.putInt(KEY_CDMA_DTMF_TONE_DELAY_INT, 100); sDefaults.putBoolean(KEY_CALL_FORWARDING_MAP_NON_NUMBER_TO_VOICEMAIL_BOOL, false)3987 sDefaults.putBoolean(KEY_CALL_FORWARDING_MAP_NON_NUMBER_TO_VOICEMAIL_BOOL, false); sDefaults.putBoolean(KEY_IGNORE_RTT_MODE_SETTING_BOOL, true)3988 sDefaults.putBoolean(KEY_IGNORE_RTT_MODE_SETTING_BOOL, true); sDefaults.putInt(KEY_CDMA_3WAYCALL_FLASH_DELAY_INT , 0)3989 sDefaults.putInt(KEY_CDMA_3WAYCALL_FLASH_DELAY_INT , 0); sDefaults.putBoolean(KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL, false)3990 sDefaults.putBoolean(KEY_SUPPORT_ADHOC_CONFERENCE_CALLS_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_ADD_CONFERENCE_PARTICIPANTS_BOOL, false)3991 sDefaults.putBoolean(KEY_SUPPORT_ADD_CONFERENCE_PARTICIPANTS_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_CONFERENCE_CALL_BOOL, true)3992 sDefaults.putBoolean(KEY_SUPPORT_CONFERENCE_CALL_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_CALL_BOOL, true)3993 sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_CALL_BOOL, true); sDefaults.putBoolean(KEY_LOCAL_DISCONNECT_EMPTY_IMS_CONFERENCE_BOOL, false)3994 sDefaults.putBoolean(KEY_LOCAL_DISCONNECT_EMPTY_IMS_CONFERENCE_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_MANAGE_IMS_CONFERENCE_CALL_BOOL, true)3995 sDefaults.putBoolean(KEY_SUPPORT_MANAGE_IMS_CONFERENCE_CALL_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_EVENT_PACKAGE_BOOL, true)3996 sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_EVENT_PACKAGE_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_EVENT_PACKAGE_ON_PEER_BOOL, true)3997 sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_EVENT_PACKAGE_ON_PEER_BOOL, true); sDefaults.putBoolean(KEY_SUPPORT_VIDEO_CONFERENCE_CALL_BOOL, false)3998 sDefaults.putBoolean(KEY_SUPPORT_VIDEO_CONFERENCE_CALL_BOOL, false); sDefaults.putBoolean(KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL, false)3999 sDefaults.putBoolean(KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL, false); sDefaults.putInt(KEY_IMS_CONFERENCE_SIZE_LIMIT_INT, 5)4000 sDefaults.putInt(KEY_IMS_CONFERENCE_SIZE_LIMIT_INT, 5); sDefaults.putBoolean(KEY_DISPLAY_HD_AUDIO_PROPERTY_BOOL, true)4001 sDefaults.putBoolean(KEY_DISPLAY_HD_AUDIO_PROPERTY_BOOL, true); sDefaults.putBoolean(KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, true)4002 sDefaults.putBoolean(KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, true); sDefaults.putBoolean(KEY_HIDE_ENHANCED_4G_LTE_BOOL, false)4003 sDefaults.putBoolean(KEY_HIDE_ENHANCED_4G_LTE_BOOL, false); sDefaults.putBoolean(KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, true)4004 sDefaults.putBoolean(KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL, true); sDefaults.putBoolean(KEY_HIDE_IMS_APN_BOOL, false)4005 sDefaults.putBoolean(KEY_HIDE_IMS_APN_BOOL, false); sDefaults.putBoolean(KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL, false)4006 sDefaults.putBoolean(KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL, false); sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL, false)4007 sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL, false); sDefaults.putStringArray(KEY_ENABLE_APPS_STRING_ARRAY, null)4008 sDefaults.putStringArray(KEY_ENABLE_APPS_STRING_ARRAY, null); sDefaults.putBoolean(KEY_EDITABLE_WFC_MODE_BOOL, true)4009 sDefaults.putBoolean(KEY_EDITABLE_WFC_MODE_BOOL, true); sDefaults.putStringArray(KEY_WFC_OPERATOR_ERROR_CODES_STRING_ARRAY, null)4010 sDefaults.putStringArray(KEY_WFC_OPERATOR_ERROR_CODES_STRING_ARRAY, null); sDefaults.putInt(KEY_WFC_SPN_FORMAT_IDX_INT, 0)4011 sDefaults.putInt(KEY_WFC_SPN_FORMAT_IDX_INT, 0); sDefaults.putInt(KEY_WFC_DATA_SPN_FORMAT_IDX_INT, 0)4012 sDefaults.putInt(KEY_WFC_DATA_SPN_FORMAT_IDX_INT, 0); sDefaults.putInt(KEY_WFC_FLIGHT_MODE_SPN_FORMAT_IDX_INT, -1)4013 sDefaults.putInt(KEY_WFC_FLIGHT_MODE_SPN_FORMAT_IDX_INT, -1); sDefaults.putBoolean(KEY_WFC_SPN_USE_ROOT_LOCALE, false)4014 sDefaults.putBoolean(KEY_WFC_SPN_USE_ROOT_LOCALE, false); sDefaults.putString(KEY_WFC_EMERGENCY_ADDRESS_CARRIER_APP_STRING, "")4015 sDefaults.putString(KEY_WFC_EMERGENCY_ADDRESS_CARRIER_APP_STRING, ""); sDefaults.putBoolean(KEY_CONFIG_WIFI_DISABLE_IN_ECBM, false)4016 sDefaults.putBoolean(KEY_CONFIG_WIFI_DISABLE_IN_ECBM, false); sDefaults.putBoolean(KEY_CARRIER_NAME_OVERRIDE_BOOL, false)4017 sDefaults.putBoolean(KEY_CARRIER_NAME_OVERRIDE_BOOL, false); sDefaults.putString(KEY_CARRIER_NAME_STRING, "")4018 sDefaults.putString(KEY_CARRIER_NAME_STRING, ""); sDefaults.putBoolean(KEY_WFC_CARRIER_NAME_OVERRIDE_BY_PNN_BOOL, false)4019 sDefaults.putBoolean(KEY_WFC_CARRIER_NAME_OVERRIDE_BY_PNN_BOOL, false); sDefaults.putInt(KEY_SPN_DISPLAY_CONDITION_OVERRIDE_INT, -1)4020 sDefaults.putInt(KEY_SPN_DISPLAY_CONDITION_OVERRIDE_INT, -1); sDefaults.putStringArray(KEY_SPDI_OVERRIDE_STRING_ARRAY, null)4021 sDefaults.putStringArray(KEY_SPDI_OVERRIDE_STRING_ARRAY, null); sDefaults.putStringArray(KEY_PNN_OVERRIDE_STRING_ARRAY, null)4022 sDefaults.putStringArray(KEY_PNN_OVERRIDE_STRING_ARRAY, null); sDefaults.putStringArray(KEY_OPL_OVERRIDE_STRING_ARRAY, null)4023 sDefaults.putStringArray(KEY_OPL_OVERRIDE_STRING_ARRAY, null); sDefaults.putStringArray(KEY_EHPLMN_OVERRIDE_STRING_ARRAY, null)4024 sDefaults.putStringArray(KEY_EHPLMN_OVERRIDE_STRING_ARRAY, null); sDefaults.putBoolean(KEY_ALLOW_ERI_BOOL, false)4025 sDefaults.putBoolean(KEY_ALLOW_ERI_BOOL, false); sDefaults.putBoolean(KEY_ENABLE_CARRIER_DISPLAY_NAME_RESOLVER_BOOL, false)4026 sDefaults.putBoolean(KEY_ENABLE_CARRIER_DISPLAY_NAME_RESOLVER_BOOL, false); sDefaults.putString(KEY_SIM_COUNTRY_ISO_OVERRIDE_STRING, "")4027 sDefaults.putString(KEY_SIM_COUNTRY_ISO_OVERRIDE_STRING, ""); sDefaults.putString(KEY_CARRIER_CALL_SCREENING_APP_STRING, "")4028 sDefaults.putString(KEY_CARRIER_CALL_SCREENING_APP_STRING, ""); sDefaults.putString(KEY_CALL_REDIRECTION_SERVICE_COMPONENT_NAME_STRING, null)4029 sDefaults.putString(KEY_CALL_REDIRECTION_SERVICE_COMPONENT_NAME_STRING, null); sDefaults.putBoolean(KEY_CDMA_HOME_REGISTERED_PLMN_NAME_OVERRIDE_BOOL, false)4030 sDefaults.putBoolean(KEY_CDMA_HOME_REGISTERED_PLMN_NAME_OVERRIDE_BOOL, false); sDefaults.putString(KEY_CDMA_HOME_REGISTERED_PLMN_NAME_STRING, "")4031 sDefaults.putString(KEY_CDMA_HOME_REGISTERED_PLMN_NAME_STRING, ""); sDefaults.putBoolean(KEY_SUPPORT_DIRECT_FDN_DIALING_BOOL, false)4032 sDefaults.putBoolean(KEY_SUPPORT_DIRECT_FDN_DIALING_BOOL, false); sDefaults.putInt(KEY_FDN_NUMBER_LENGTH_LIMIT_INT, 20)4033 sDefaults.putInt(KEY_FDN_NUMBER_LENGTH_LIMIT_INT, 20); sDefaults.putBoolean(KEY_CARRIER_DEFAULT_DATA_ROAMING_ENABLED_BOOL, false)4034 sDefaults.putBoolean(KEY_CARRIER_DEFAULT_DATA_ROAMING_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_SKIP_CF_FAIL_TO_DISABLE_DIALOG_BOOL, false)4035 sDefaults.putBoolean(KEY_SKIP_CF_FAIL_TO_DISABLE_DIALOG_BOOL, false); sDefaults.putBoolean(KEY_SUPPORT_ENHANCED_CALL_BLOCKING_BOOL, true)4036 sDefaults.putBoolean(KEY_SUPPORT_ENHANCED_CALL_BLOCKING_BOOL, true); 4037 4038 // MMS defaults sDefaults.putBoolean(KEY_MMS_ALIAS_ENABLED_BOOL, false)4039 sDefaults.putBoolean(KEY_MMS_ALIAS_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL, true)4040 sDefaults.putBoolean(KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL, true); sDefaults.putBoolean(KEY_MMS_APPEND_TRANSACTION_ID_BOOL, false)4041 sDefaults.putBoolean(KEY_MMS_APPEND_TRANSACTION_ID_BOOL, false); sDefaults.putBoolean(KEY_MMS_GROUP_MMS_ENABLED_BOOL, true)4042 sDefaults.putBoolean(KEY_MMS_GROUP_MMS_ENABLED_BOOL, true); sDefaults.putBoolean(KEY_MMS_MMS_DELIVERY_REPORT_ENABLED_BOOL, false)4043 sDefaults.putBoolean(KEY_MMS_MMS_DELIVERY_REPORT_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_MMS_MMS_ENABLED_BOOL, true)4044 sDefaults.putBoolean(KEY_MMS_MMS_ENABLED_BOOL, true); sDefaults.putBoolean(KEY_MMS_MMS_READ_REPORT_ENABLED_BOOL, false)4045 sDefaults.putBoolean(KEY_MMS_MMS_READ_REPORT_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_MMS_MULTIPART_SMS_ENABLED_BOOL, true)4046 sDefaults.putBoolean(KEY_MMS_MULTIPART_SMS_ENABLED_BOOL, true); sDefaults.putBoolean(KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL, false)4047 sDefaults.putBoolean(KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL, false); sDefaults.putBoolean(KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL, false)4048 sDefaults.putBoolean(KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL, false); sDefaults.putBoolean(KEY_MMS_SHOW_CELL_BROADCAST_APP_LINKS_BOOL, true)4049 sDefaults.putBoolean(KEY_MMS_SHOW_CELL_BROADCAST_APP_LINKS_BOOL, true); sDefaults.putBoolean(KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL, true)4050 sDefaults.putBoolean(KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL, true); sDefaults.putBoolean(KEY_MMS_SUPPORT_HTTP_CHARSET_HEADER_BOOL, false)4051 sDefaults.putBoolean(KEY_MMS_SUPPORT_HTTP_CHARSET_HEADER_BOOL, false); sDefaults.putBoolean(KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL, true)4052 sDefaults.putBoolean(KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL, true); sDefaults.putBoolean(KEY_MMS_CLOSE_CONNECTION_BOOL, false)4053 sDefaults.putBoolean(KEY_MMS_CLOSE_CONNECTION_BOOL, false); sDefaults.putInt(KEY_MMS_ALIAS_MAX_CHARS_INT, 48)4054 sDefaults.putInt(KEY_MMS_ALIAS_MAX_CHARS_INT, 48); sDefaults.putInt(KEY_MMS_ALIAS_MIN_CHARS_INT, 2)4055 sDefaults.putInt(KEY_MMS_ALIAS_MIN_CHARS_INT, 2); sDefaults.putInt(KEY_MMS_HTTP_SOCKET_TIMEOUT_INT, 60 * 1000)4056 sDefaults.putInt(KEY_MMS_HTTP_SOCKET_TIMEOUT_INT, 60 * 1000); sDefaults.putInt(KEY_MMS_MAX_IMAGE_HEIGHT_INT, 480)4057 sDefaults.putInt(KEY_MMS_MAX_IMAGE_HEIGHT_INT, 480); sDefaults.putInt(KEY_MMS_MAX_IMAGE_WIDTH_INT, 640)4058 sDefaults.putInt(KEY_MMS_MAX_IMAGE_WIDTH_INT, 640); sDefaults.putInt(KEY_MMS_MAX_MESSAGE_SIZE_INT, 300 * 1024)4059 sDefaults.putInt(KEY_MMS_MAX_MESSAGE_SIZE_INT, 300 * 1024); sDefaults.putInt(KEY_MMS_MESSAGE_TEXT_MAX_SIZE_INT, -1)4060 sDefaults.putInt(KEY_MMS_MESSAGE_TEXT_MAX_SIZE_INT, -1); sDefaults.putInt(KEY_MMS_RECIPIENT_LIMIT_INT, Integer.MAX_VALUE)4061 sDefaults.putInt(KEY_MMS_RECIPIENT_LIMIT_INT, Integer.MAX_VALUE); sDefaults.putInt(KEY_MMS_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD_INT, -1)4062 sDefaults.putInt(KEY_MMS_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD_INT, -1); sDefaults.putInt(KEY_MMS_SMS_TO_MMS_TEXT_THRESHOLD_INT, -1)4063 sDefaults.putInt(KEY_MMS_SMS_TO_MMS_TEXT_THRESHOLD_INT, -1); sDefaults.putInt(KEY_MMS_SUBJECT_MAX_LENGTH_INT, 40)4064 sDefaults.putInt(KEY_MMS_SUBJECT_MAX_LENGTH_INT, 40); sDefaults.putString(KEY_MMS_EMAIL_GATEWAY_NUMBER_STRING, "")4065 sDefaults.putString(KEY_MMS_EMAIL_GATEWAY_NUMBER_STRING, ""); sDefaults.putString(KEY_MMS_HTTP_PARAMS_STRING, "")4066 sDefaults.putString(KEY_MMS_HTTP_PARAMS_STRING, ""); sDefaults.putString(KEY_MMS_NAI_SUFFIX_STRING, "")4067 sDefaults.putString(KEY_MMS_NAI_SUFFIX_STRING, ""); sDefaults.putString(KEY_MMS_UA_PROF_TAG_NAME_STRING, "x-wap-profile")4068 sDefaults.putString(KEY_MMS_UA_PROF_TAG_NAME_STRING, "x-wap-profile"); sDefaults.putString(KEY_MMS_UA_PROF_URL_STRING, "")4069 sDefaults.putString(KEY_MMS_UA_PROF_URL_STRING, ""); sDefaults.putString(KEY_MMS_USER_AGENT_STRING, "")4070 sDefaults.putString(KEY_MMS_USER_AGENT_STRING, ""); sDefaults.putBoolean(KEY_ALLOW_NON_EMERGENCY_CALLS_IN_ECM_BOOL, true)4071 sDefaults.putBoolean(KEY_ALLOW_NON_EMERGENCY_CALLS_IN_ECM_BOOL, true); sDefaults.putInt(KEY_EMERGENCY_SMS_MODE_TIMER_MS_INT, 0)4072 sDefaults.putInt(KEY_EMERGENCY_SMS_MODE_TIMER_MS_INT, 0); sDefaults.putBoolean(KEY_ALLOW_HOLD_CALL_DURING_EMERGENCY_BOOL, true)4073 sDefaults.putBoolean(KEY_ALLOW_HOLD_CALL_DURING_EMERGENCY_BOOL, true); sDefaults.putBoolean(KEY_USE_RCS_PRESENCE_BOOL, false)4074 sDefaults.putBoolean(KEY_USE_RCS_PRESENCE_BOOL, false); sDefaults.putBoolean(KEY_USE_RCS_SIP_OPTIONS_BOOL, false)4075 sDefaults.putBoolean(KEY_USE_RCS_SIP_OPTIONS_BOOL, false); sDefaults.putBoolean(KEY_FORCE_IMEI_BOOL, false)4076 sDefaults.putBoolean(KEY_FORCE_IMEI_BOOL, false); sDefaults.putInt( KEY_CDMA_ROAMING_MODE_INT, TelephonyManager.CDMA_ROAMING_MODE_RADIO_DEFAULT)4077 sDefaults.putInt( 4078 KEY_CDMA_ROAMING_MODE_INT, TelephonyManager.CDMA_ROAMING_MODE_RADIO_DEFAULT); sDefaults.putBoolean(KEY_SUPPORT_CDMA_1X_VOICE_CALLS_BOOL, true)4079 sDefaults.putBoolean(KEY_SUPPORT_CDMA_1X_VOICE_CALLS_BOOL, true); sDefaults.putString(KEY_RCS_CONFIG_SERVER_URL_STRING, "")4080 sDefaults.putString(KEY_RCS_CONFIG_SERVER_URL_STRING, ""); 4081 4082 // Carrier Signalling Receivers sDefaults.putString(KEY_CARRIER_SETUP_APP_STRING, "")4083 sDefaults.putString(KEY_CARRIER_SETUP_APP_STRING, ""); sDefaults.putStringArray(KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, new String[]{ "com.android.carrierdefaultapp/.CarrierDefaultBroadcastReceiver:" + "com.android.internal.telephony.CARRIER_SIGNAL_RESET" })4084 sDefaults.putStringArray(KEY_CARRIER_APP_WAKE_SIGNAL_CONFIG_STRING_ARRAY, 4085 new String[]{ 4086 "com.android.carrierdefaultapp/.CarrierDefaultBroadcastReceiver:" 4087 + "com.android.internal.telephony.CARRIER_SIGNAL_RESET" 4088 }); sDefaults.putStringArray(KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_ARRAY, null)4089 sDefaults.putStringArray(KEY_CARRIER_APP_NO_WAKE_SIGNAL_CONFIG_STRING_ARRAY, null); sDefaults.putBoolean(KEY_CARRIER_APP_REQUIRED_DURING_SIM_SETUP_BOOL, false)4090 sDefaults.putBoolean(KEY_CARRIER_APP_REQUIRED_DURING_SIM_SETUP_BOOL, false); 4091 4092 4093 // Default carrier app configurations sDefaults.putStringArray(KEY_CARRIER_DEFAULT_ACTIONS_ON_REDIRECTION_STRING_ARRAY, new String[]{ "9, 4, 1" })4094 sDefaults.putStringArray(KEY_CARRIER_DEFAULT_ACTIONS_ON_REDIRECTION_STRING_ARRAY, 4095 new String[]{ 4096 "9, 4, 1" 4097 //9: CARRIER_ACTION_REGISTER_NETWORK_AVAIL 4098 //4: CARRIER_ACTION_DISABLE_METERED_APNS 4099 //1: CARRIER_ACTION_SHOW_PORTAL_NOTIFICATION 4100 }); sDefaults.putStringArray(KEY_CARRIER_DEFAULT_ACTIONS_ON_RESET, new String[]{ "6, 8" })4101 sDefaults.putStringArray(KEY_CARRIER_DEFAULT_ACTIONS_ON_RESET, new String[]{ 4102 "6, 8" 4103 //6: CARRIER_ACTION_CANCEL_ALL_NOTIFICATIONS 4104 //8: CARRIER_ACTION_DISABLE_DEFAULT_URL_HANDLER 4105 }); sDefaults.putStringArray(KEY_CARRIER_DEFAULT_ACTIONS_ON_DEFAULT_NETWORK_AVAILABLE, new String[] { String.valueOf(false) + ": 7", String.valueOf(true) + ": 8" })4106 sDefaults.putStringArray(KEY_CARRIER_DEFAULT_ACTIONS_ON_DEFAULT_NETWORK_AVAILABLE, new String[] { 4107 String.valueOf(false) + ": 7", //7: CARRIER_ACTION_ENABLE_DEFAULT_URL_HANDLER 4108 String.valueOf(true) + ": 8" //8: CARRIER_ACTION_DISABLE_DEFAULT_URL_HANDLER 4109 }); sDefaults.putStringArray(KEY_CARRIER_DEFAULT_REDIRECTION_URL_STRING_ARRAY, null)4110 sDefaults.putStringArray(KEY_CARRIER_DEFAULT_REDIRECTION_URL_STRING_ARRAY, null); 4111 sDefaults.putInt(KEY_MONTHLY_DATA_CYCLE_DAY_INT, DATA_CYCLE_USE_PLATFORM_DEFAULT)4112 sDefaults.putInt(KEY_MONTHLY_DATA_CYCLE_DAY_INT, DATA_CYCLE_USE_PLATFORM_DEFAULT); sDefaults.putLong(KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT)4113 sDefaults.putLong(KEY_DATA_WARNING_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); sDefaults.putBoolean(KEY_DATA_WARNING_NOTIFICATION_BOOL, true)4114 sDefaults.putBoolean(KEY_DATA_WARNING_NOTIFICATION_BOOL, true); sDefaults.putBoolean(KEY_LIMITED_SIM_FUNCTION_NOTIFICATION_FOR_DSDS_BOOL, false)4115 sDefaults.putBoolean(KEY_LIMITED_SIM_FUNCTION_NOTIFICATION_FOR_DSDS_BOOL, false); sDefaults.putLong(KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT)4116 sDefaults.putLong(KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG, DATA_CYCLE_USE_PLATFORM_DEFAULT); sDefaults.putBoolean(KEY_DATA_LIMIT_NOTIFICATION_BOOL, true)4117 sDefaults.putBoolean(KEY_DATA_LIMIT_NOTIFICATION_BOOL, true); sDefaults.putBoolean(KEY_DATA_RAPID_NOTIFICATION_BOOL, true)4118 sDefaults.putBoolean(KEY_DATA_RAPID_NOTIFICATION_BOOL, true); 4119 4120 // Rat families: {GPRS, EDGE}, {EVDO, EVDO_A, EVDO_B}, {UMTS, HSPA, HSDPA, HSUPA, HSPAP}, 4121 // {LTE, LTE_CA} 4122 // Order is important - lowest precidence first sDefaults.putStringArray(KEY_RATCHET_RAT_FAMILIES, new String[]{"1,2","7,8,12","3,11,9,10,15","14,19"})4123 sDefaults.putStringArray(KEY_RATCHET_RAT_FAMILIES, 4124 new String[]{"1,2","7,8,12","3,11,9,10,15","14,19"}); sDefaults.putBoolean(KEY_TREAT_DOWNGRADED_VIDEO_CALLS_AS_VIDEO_CALLS_BOOL, false)4125 sDefaults.putBoolean(KEY_TREAT_DOWNGRADED_VIDEO_CALLS_AS_VIDEO_CALLS_BOOL, false); sDefaults.putBoolean(KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL, false)4126 sDefaults.putBoolean(KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL, false); sDefaults.putBoolean(KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL, true)4127 sDefaults.putBoolean(KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL, true); sDefaults.putBoolean(KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL, true)4128 sDefaults.putBoolean(KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL, true); sDefaults.putBoolean(KEY_ALLOW_HOLD_VIDEO_CALL_BOOL, true)4129