CarrierConfigManager
public
class
CarrierConfigManager
extends Object
| java.lang.Object | |
| ↳ | android.telephony.CarrierConfigManager |
Provides access to telephony configuration values that are carrier-specific.
Summary
Constants | |
|---|---|
String |
ACTION_CARRIER_CONFIG_CHANGED
This intent is broadcast by the system when carrier config changes. |
int |
DATA_CYCLE_THRESHOLD_DISABLED
Flag indicating that a data cycle threshold should be disabled. |
String |
EXTRA_SLOT_INDEX
Extra included in |
String |
EXTRA_SUBSCRIPTION_INDEX
Optional extra included in |
String |
KEY_ADDITIONAL_CALL_SETTING_BOOL
Does not display additional call setting for IMS phone based on GSM Phone |
String |
KEY_ALLOW_ADDING_APNS_BOOL
Allow user to add APNs |
String |
KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL
When true, indicates that adding a call is disabled when there is an ongoing video call or when there is an ongoing call on wifi which was downgraded from video and VoWifi is turned off. |
String |
KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL
Determines if the current device should allow emergency numbers to be logged in the Call Log. |
String |
KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL
Flag indicating whether to allow carrier video calls to emergency numbers. |
String |
KEY_ALLOW_LOCAL_DTMF_TONES_BOOL
Determine whether we want to play local DTMF tones in a call, or just let the radio/BP handle playing of the tones. |
String |
KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL
Flag indicating whether the carrier supports merging wifi calls when VoWIFI is disabled. |
String |
KEY_ALLOW_NON_EMERGENCY_CALLS_IN_ECM_BOOL
Determines whether the carrier supports making non-emergency phone calls while the phone is in emergency callback mode. |
String |
KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL
The default flag specifying whether "Turn on Notifications" option will be always shown in Settings->More->Emergency broadcasts menu regardless developer options is turned on or not. |
String |
KEY_APN_EXPAND_BOOL
Control whether users can edit APNs in Settings. |
String |
KEY_AUTO_RETRY_ENABLED_BOOL
Flag indicating if auto retry is enabled |
String |
KEY_CALL_BARRING_SUPPORTS_DEACTIVATE_ALL_BOOL
Flag indicating whether or not deactivating all call barring features via the "Call Barring" settings menu is supported. |
String |
KEY_CALL_BARRING_SUPPORTS_PASSWORD_CHANGE_BOOL
Flag indicating whether or not changing the call barring password via the "Call Barring" settings menu is supported. |
String |
KEY_CALL_BARRING_VISIBILITY_BOOL
Boolean indicating if the "Call barring" item is visible in the Call Settings menu. |
String |
KEY_CALL_FORWARDING_BLOCKS_WHILE_ROAMING_STRING_ARRAY
An array containing custom call forwarding number prefixes that will be blocked while the device is reporting that it is roaming. |
String |
KEY_CARRIER_ALLOW_TURNOFF_IMS_BOOL
Flag specifying whether IMS service can be turned off. |
String |
KEY_CARRIER_CALL_SCREENING_APP_STRING
The Component Name of a carrier-provided CallScreeningService implementation. |
String |
KEY_CARRIER_CONFIG_VERSION_STRING
Specifies a value that identifies the version of the carrier configuration that is currently in use. |
String |
KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGS
Data call setup permanent failure causes by the carrier |
String |
KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT
Default mode for WFC over IMS on home network:
|
String |
KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT
Default mode for WFC over IMS on roaming network. |
String |
KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL
The default flag specifying whether ETWS/CMAS test setting is forcibly disabled in Settings->More->Emergency broadcasts menu even though developer options is turned on. |
String |
KEY_CARRIER_IMS_GBA_REQUIRED_BOOL
Flag specifying whether Generic Bootstrapping Architecture capable SIM is required for IMS. |
String |
KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL
Flag specifying whether IMS instant lettering is available for the carrier. |
String |
KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING
When IMS instant lettering is available for a carrier (see
|
String |
KEY_CARRIER_INSTANT_LETTERING_ESCAPED_CHARS_STRING
When IMS instant lettering is available for a carrier (see
|
String |
KEY_CARRIER_INSTANT_LETTERING_INVALID_CHARS_STRING
When IMS instant lettering is available for a carrier (see
|
String |
KEY_CARRIER_INSTANT_LETTERING_LENGTH_LIMIT_INT
When IMS instant lettering is available for a carrier (see
|
String |
KEY_CARRIER_NAME_OVERRIDE_BOOL
Unconditionally override the carrier name string using #KEY_CARRIER_NAME_STRING. |
String |
KEY_CARRIER_NAME_STRING
String to identify carrier name in CarrierConfig app. |
String |
KEY_CARRIER_SETTINGS_ENABLE_BOOL
Display carrier settings menu if true |
String |
KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL
Flag indicating whether or not the carrier supports Supplementary Services over the UT interface for this subscription. |
String |
KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL
|
String |
KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL
Flag indicating whether or not the IMS MmTel UT capability requires carrier provisioning before it can be set as enabled. |
String |
KEY_CARRIER_VOLTE_AVAILABLE_BOOL
Flag specifying whether VoLTE should be available for carrier, independent of carrier provisioning. |
String |
KEY_CARRIER_VOLTE_PROVISIONED_BOOL
This flag specifies whether VoLTE availability is based on provisioning. |
String |
KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL
Flag specifying whether provisioning is required for VoLTE, Video Telephony, and WiFi Calling. |
String |
KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL
Flag specifying whether VoLTE TTY is supported. |
String |
KEY_CARRIER_VT_AVAILABLE_BOOL
Flag specifying whether video telephony is available for carrier. |
String |
KEY_CARRIER_VVM_PACKAGE_NAME_STRING
This constant was deprecated
in API level 26.
use |
String |
KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY
A list of the carrier's visual voicemail app package names to ensure that dialer visual voicemail and carrier visual voicemail are not active at the same time. |
String |
KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL
Flag specifying whether WFC over IMS should be available for carrier: independent of carrier provisioning. |
String |
KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL
Flag specifying whether WFC over IMS supports the "wifi only" option. |
String |
KEY_CDMA_3WAYCALL_FLASH_DELAY_INT
For carriers which require an empty flash to be sent before sending the normal 3-way calling flash, the duration in milliseconds of the empty flash to send. |
String |
KEY_CDMA_DTMF_TONE_DELAY_INT
Specifies the amount of gap to be added in millis between postdial DTMF tones. |
String |
KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered non roaming. |
String |
KEY_CDMA_ROAMING_MODE_INT
The CDMA roaming mode (aka CDMA system select). |
String |
KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered roaming. |
String |
KEY_CI_ACTION_ON_SYS_UPDATE_BOOL
Flag specifying whether an additional (client initiated) intent needs to be sent on System update |
String |
KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING
Extra to be included in the intent sent for additional action on System update |
String |
KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING
Value of extra included in intent sent for additional action on System update |
String |
KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING
Intent to be sent for the additional action on System update |
String |
KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING
Override the device's configuration for the ImsService to use for this SIM card. |
String |
KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING
Override the package that will manage |
String |
KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL
Flag that specifies to use the user's own phone number as the voicemail number when there is no pre-loaded voicemail number on the SIM card. |
String |
KEY_CSP_ENABLED_BOOL
If this is true, the SIM card (through Customer Service Profile EF file) will be able to prevent manual operator selection. |
String |
KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG
Controls the cellular data limit. |
String |
KEY_DATA_WARNING_THRESHOLD_BYTES_LONG
Controls the data usage warning. |
String |
KEY_DEFAULT_SIM_CALL_MANAGER_STRING
The default sim call manager to use when the default dialer doesn't implement one. |
String |
KEY_DEFAULT_VM_NUMBER_STRING
Where there is no preloaded voicemail number on a SIM card, specifies the carrier's default voicemail number. |
String |
KEY_DIAL_STRING_REPLACE_STRING_ARRAY
Specifies a map from dialstrings to replacements for roaming network service numbers which cannot be replaced on the carrier side. |
String |
KEY_DISABLE_CDMA_ACTIVATION_CODE_BOOL
Disables dialing "*228" (OTASP provisioning) on CDMA carriers where it is not supported or is potentially harmful by locking the SIM to 3G. |
String |
KEY_DISPLAY_HD_AUDIO_PROPERTY_BOOL
Determines whether High Definition audio property is displayed in the dialer UI. |
String |
KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL
When |
String |
KEY_DTMF_TYPE_ENABLED_BOOL
Flag indicating if dtmf tone type is enabled |
String |
KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT
The duration in seconds that platform call and message blocking is disabled after the user contacts emergency services. |
String |
KEY_EDITABLE_ENHANCED_4G_LTE_BOOL
Determine whether user can toggle Enhanced 4G LTE Mode in Settings. |
String |
KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL
Since the default voicemail number is empty, if a SIM card does not have a voicemail number available the user cannot use voicemail. |
String |
KEY_EDITABLE_VOICEMAIL_NUMBER_SETTING_BOOL
Determine whether user can edit voicemail number in Settings. |
String |
KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY
Indicates zero or more emergency number prefix(es), because some carrier requires if users dial an emergency number address with a specific prefix, the combination of the prefix and the address is also a valid emergency number to dial. |
String |
KEY_ENABLE_DIALER_KEY_VIBRATION_BOOL
If true, enable vibration (haptic feedback) for key presses in the EmergencyDialer activity. |
String |
KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL
Sets the default state for the "Enhanced 4G LTE" or "Advanced Calling" mode toggle set by the user. |
String |
KEY_FORCE_HOME_NETWORK_BOOL
Override the platform's notion of a network operator being considered non roaming. |
String |
KEY_GSM_DTMF_TONE_DELAY_INT
Specifies the amount of gap to be added in millis between postdial DTMF tones. |
String |
KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered not roaming. |
String |
KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered roaming. |
String |
KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL
Determines if device implements a noise suppression device for in call audio. |
String |
KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL
Control whether users can reach the carrier portions of Cellular Network Settings. |
String |
KEY_HIDE_ENHANCED_4G_LTE_BOOL
Determines whether the Enhanced 4G LTE toggle will be shown in the settings. |
String |
KEY_HIDE_IMS_APN_BOOL
Determine whether IMS apn can be shown. |
String |
KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL
Determine whether preferred network type can be shown. |
String |
KEY_HIDE_PRESET_APN_DETAILS_BOOL
Flag to hide Preset APN details. |
String |
KEY_HIDE_SIM_LOCK_SETTINGS_BOOL
Control whether users can reach the SIM lock settings. |
String |
KEY_IGNORE_SIM_NETWORK_LOCKED_EVENTS_BOOL
Flag indicating whether the Phone app should ignore EVENT_SIM_NETWORK_LOCKED events from the Sim. |
String |
KEY_IMS_CONFERENCE_SIZE_LIMIT_INT
Determines the maximum number of participants the carrier supports for a conference call. |
String |
KEY_IMS_DTMF_TONE_DELAY_INT
Specifies the amount of gap to be added in millis between DTMF tones. |
String |
KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL
Determines whether a maximum size limit for IMS conference calls is enforced on the device. |
String |
KEY_MDN_IS_ADDITIONAL_VOICEMAIL_NUMBER_BOOL
When checking if a given number is the voicemail number, if this flag is true then in addition to comparing the given number to the voicemail number, we also compare it to the mdn. |
String |
KEY_MMS_ALIAS_ENABLED_BOOL
|
String |
KEY_MMS_ALIAS_MAX_CHARS_INT
|
String |
KEY_MMS_ALIAS_MIN_CHARS_INT
|
String |
KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL
|
String |
KEY_MMS_APPEND_TRANSACTION_ID_BOOL
|
String |
KEY_MMS_EMAIL_GATEWAY_NUMBER_STRING
|
String |
KEY_MMS_GROUP_MMS_ENABLED_BOOL
|
String |
KEY_MMS_HTTP_PARAMS_STRING
|
String |
KEY_MMS_HTTP_SOCKET_TIMEOUT_INT
|
String |
KEY_MMS_MAX_IMAGE_HEIGHT_INT
|
String |
KEY_MMS_MAX_IMAGE_WIDTH_INT
|
String |
KEY_MMS_MAX_MESSAGE_SIZE_INT
|
String |
KEY_MMS_MESSAGE_TEXT_MAX_SIZE_INT
|
String |
KEY_MMS_MMS_DELIVERY_REPORT_ENABLED_BOOL
|
String |
KEY_MMS_MMS_ENABLED_BOOL
|
String |
KEY_MMS_MMS_READ_REPORT_ENABLED_BOOL
|
String |
KEY_MMS_MULTIPART_SMS_ENABLED_BOOL
|
String |
KEY_MMS_NAI_SUFFIX_STRING
|
String |
KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL
|
String |
KEY_MMS_RECIPIENT_LIMIT_INT
|
String |
KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL
|
String |
KEY_MMS_SHOW_CELL_BROADCAST_APP_LINKS_BOOL
|
String |
KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL
|
String |
KEY_MMS_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD_INT
|
String |
KEY_MMS_SMS_TO_MMS_TEXT_THRESHOLD_INT
|
String |
KEY_MMS_SUBJECT_MAX_LENGTH_INT
|
String |
KEY_MMS_SUPPORT_HTTP_CHARSET_HEADER_BOOL
|
String |
KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL
|
String |
KEY_MMS_UA_PROF_TAG_NAME_STRING
|
String |
KEY_MMS_UA_PROF_URL_STRING
|
String |
KEY_MMS_USER_AGENT_STRING
|
String |
KEY_MONTHLY_DATA_CYCLE_DAY_INT
The day of the month (1-31) on which the data cycle rolls over. |
String |
KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY
List of RIL radio technologies (See |
String |
KEY_OPERATOR_SELECTION_EXPAND_BOOL
Control whether users can choose a network operator. |
String |
KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_HYSTERESIS_TIME_LONG
Controls hysteresis time in milli seconds for which OpportunisticNetworkService will wait before switching data to a network. |
String |
KEY_OPPORTUNISTIC_NETWORK_ENTRY_OR_EXIT_HYSTERESIS_TIME_LONG
Controls hysteresis time in milli seconds for which OpportunisticNetworkService will wait before attaching to a network. |
String |
KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_BANDWIDTH_INT
Controls bandwidth threshold in Kbps at which OpportunisticNetworkService will decide whether the opportunistic network is good enough for internet data. |
String |
KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSRP_INT
Controls RSRP threshold at which OpportunisticNetworkService will decide whether the opportunistic network is good enough for internet data. |
String |
KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSSNR_INT
Controls RSSNR threshold at which OpportunisticNetworkService will decide whether the opportunistic network is good enough for internet data. |
String |
KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSRP_INT
Controls RSRP threshold below which OpportunisticNetworkService will decide whether the opportunistic network available is not good enough for internet data. |
String |
KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSSNR_INT
Controls RSSNR threshold below which OpportunisticNetworkService will decide whether the opportunistic network available is not good enough for internet data. |
String |
KEY_PREFER_2G_BOOL
Used in Cellular Network Settings for preferred network type. |
String |
KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY
A list of failure cause codes that will trigger a modem restart when telephony receiving one of those during data setup. |
String |
KEY_RCS_CONFIG_SERVER_URL_STRING
The RCS configuration server URL. |
String |
KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL
Flag to require or skip entitlement checks. |
String |
KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL
This constant was deprecated
in API level Q.
Use |
String |
KEY_RTT_SUPPORTED_BOOL
Flag indicating whether the carrier supports RTT over IMS. |
String |
KEY_SHOW_APN_SETTING_CDMA_BOOL
Show APN Settings for some CDMA carriers |
String |
KEY_SHOW_CALL_BLOCKING_DISABLED_NOTIFICATION_ALWAYS_BOOL
Flag specifying whether to show notification(call blocking disabled) when Enhanced Call Blocking(KEY_SUPPORT_ENHANCED_CALL_BLOCKING_BOOL) is enabled and making emergency call. |
String |
KEY_SHOW_CDMA_CHOICES_BOOL
Show cdma network mode choices 1x, 3G, global etc. |
String |
KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL
Flag specifying whether ICCID is showed in SIM Status screen, default to false. |
String |
KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL
If true, show an onscreen "Dial" button in the dialer. |
String |
KEY_SHOW_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL
Flag specifying whether the |
String |
KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL
Control whether users receive a simplified network settings UI and improved network selection. |
String |
KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL
Flag indicating whether the Phone app should provide a "Dismiss" button on the SIM network unlock screen. |
String |
KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL
Determines if the carrier requires converting the destination number before sending out an SMS. |
String |
KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL
Indicates whether the carrier supports 3gpp call forwarding MMI codes while roaming. |
String |
KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL
Flag indicating whether to support "Network default" option in Caller ID settings for Calling Line Identification Restriction (CLIR). |
String |
KEY_SUPPORT_CONFERENCE_CALL_BOOL
Determines whether conference calls are supported by a carrier. |
String |
KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL
Flag indicating whether or not sending emergency SMS messages over IMS is supported when in LTE/limited LTE (Emergency only) service mode.. |
String |
KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL
For IMS video over LTE calls, determines whether video pause signalling is supported. |
String |
KEY_SUPPORT_SWAP_AFTER_MERGE_BOOL
After a CDMA conference call is merged, the swap button should be displayed. |
String |
KEY_TREAT_DOWNGRADED_VIDEO_CALLS_AS_VIDEO_CALLS_BOOL
Flag indicating whether some telephony logic will treat a call which was formerly a video call as if it is still a video call. |
String |
KEY_USE_HFA_FOR_PROVISIONING_BOOL
CDMA activation goes through HFA |
String |
KEY_USE_OTASP_FOR_PROVISIONING_BOOL
CDMA activation goes through OTASP. |
String |
KEY_USE_RCS_PRESENCE_BOOL
Flag indicating whether the carrier supports RCS presence indication for video calls. |
String |
KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL
Determine whether the voicemail notification is persistent in the notification bar. |
String |
KEY_VOICE_PRIVACY_DISABLE_UI_BOOL
If true, removes the Voice Privacy option from Call Settings |
String |
KEY_VOLTE_REPLACEMENT_RAT_INT
If Voice Radio Technology is RIL_RADIO_TECHNOLOGY_LTE:14 or RIL_RADIO_TECHNOLOGY_UNKNOWN:0 this is the value that should be used instead. |
String |
KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL
Whether cellular data is required to access visual voicemail. |
String |
KEY_VVM_CLIENT_PREFIX_STRING
The default OMTP visual voicemail client prefix to use. |
String |
KEY_VVM_DESTINATION_NUMBER_STRING
The carrier number mobile outgoing (MO) sms messages are sent to. |
String |
KEY_VVM_DISABLED_CAPABILITIES_STRING_ARRAY
A set of capabilities that should not be used even if it is reported by the visual voicemail IMAP CAPABILITY command. |
String |
KEY_VVM_LEGACY_MODE_ENABLED_BOOL
Whether legacy mode should be used when the visual voicemail client is disabled. |
String |
KEY_VVM_PORT_NUMBER_INT
The port through which the mobile outgoing (MO) sms messages are sent through. |
String |
KEY_VVM_PREFETCH_BOOL
Whether to prefetch audio data on new voicemail arrival, defaulted to true. |
String |
KEY_VVM_SSL_ENABLED_BOOL
Whether to use SSL to connect to the visual voicemail IMAP server. |
String |
KEY_VVM_TYPE_STRING
The type of visual voicemail protocol the carrier adheres to. |
String |
KEY_WORLD_PHONE_BOOL
Flag indicating if the phone is a world phone |
Public methods | |
|---|---|
PersistableBundle
|
getConfig()
Gets the configuration values for the default subscription. |
PersistableBundle
|
getConfigForSubId(int subId)
Gets the configuration values for a particular subscription, which is associated with a specific SIM card. |
static
boolean
|
isConfigForIdentifiedCarrier(PersistableBundle bundle)
Determines whether a configuration |
void
|
notifyConfigChangedForSubId(int subId)
Calling this method triggers telephony services to fetch the current carrier configuration. |
Inherited methods | |
|---|---|
Constants
ACTION_CARRIER_CONFIG_CHANGED
public static final String ACTION_CARRIER_CONFIG_CHANGED
This intent is broadcast by the system when carrier config changes. An int is specified in
EXTRA_SLOT_INDEX to indicate the slot index that this is for. An optional int extra
EXTRA_SUBSCRIPTION_INDEX is included to indicate the subscription index if a valid
one is available for the slot index. An optional int extra
TelephonyManager#EXTRA_CARRIER_ID is included to indicate the carrier id for the
changed carrier configuration. An optional int extra
TelephonyManager#EXTRA_PRECISE_CARRIER_ID is included to indicate the precise
carrier id for the changed carrier configuration.
Constant Value: "android.telephony.action.CARRIER_CONFIG_CHANGED"
DATA_CYCLE_THRESHOLD_DISABLED
public static final int DATA_CYCLE_THRESHOLD_DISABLED
Flag indicating that a data cycle threshold should be disabled.
If KEY_DATA_WARNING_THRESHOLD_BYTES_LONG is set to this value, the platform's
default data warning, if one exists, will be disabled. A user selected data warning will not
be overridden.
If KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG is set to this value, the platform's
default data limit, if one exists, will be disabled. A user selected data limit will not be
overridden.
Constant Value: -2 (0xfffffffe)
EXTRA_SLOT_INDEX
public static final String EXTRA_SLOT_INDEX
Extra included in ACTION_CARRIER_CONFIG_CHANGED to indicate the slot index that the
broadcast is for.
Constant Value: "android.telephony.extra.SLOT_INDEX"
EXTRA_SUBSCRIPTION_INDEX
public static final String EXTRA_SUBSCRIPTION_INDEX
Optional extra included in ACTION_CARRIER_CONFIG_CHANGED to indicate the
subscription index that the broadcast is for, if a valid one is available.
Constant Value: "android.telephony.extra.SUBSCRIPTION_INDEX"
KEY_ADDITIONAL_CALL_SETTING_BOOL
public static final String KEY_ADDITIONAL_CALL_SETTING_BOOL
Does not display additional call setting for IMS phone based on GSM Phone
Constant Value: "additional_call_setting_bool"
KEY_ALLOW_ADDING_APNS_BOOL
public static final String KEY_ALLOW_ADDING_APNS_BOOL
Allow user to add APNs
Constant Value: "allow_adding_apns_bool"
KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL
public static final String KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL
When true, indicates that adding a call is disabled when there is an ongoing video call or when there is an ongoing call on wifi which was downgraded from video and VoWifi is turned off.
Constant Value: "allow_add_call_during_video_call"
KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL
public static final String KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL
Determines if the current device should allow emergency numbers to be logged in the Call Log. (Some carriers require that emergency calls *not* be logged, presumably to avoid the risk of accidental redialing from the call log UI. This is a good idea, so the default here is false.)
Constant Value: "allow_emergency_numbers_in_call_log_bool"
KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL
public static final String KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL
Flag indicating whether to allow carrier video calls to emergency numbers.
When true, video calls to emergency numbers will be allowed. When false,
video calls to emergency numbers will be initiated as audio-only calls instead.
Constant Value: "allow_emergency_video_calls_bool"
KEY_ALLOW_LOCAL_DTMF_TONES_BOOL
public static final String KEY_ALLOW_LOCAL_DTMF_TONES_BOOL
Determine whether we want to play local DTMF tones in a call, or just let the radio/BP handle playing of the tones.
Constant Value: "allow_local_dtmf_tones_bool"
KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL
public static final String KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL
Flag indicating whether the carrier supports merging wifi calls when VoWIFI is disabled. This can happen in the case of a carrier which allows offloading video calls to WIFI separately of whether voice over wifi is enabled. In such a scenario when two video calls are downgraded to voice, they remain over wifi. However, if VoWIFI is disabled, these calls cannot be merged.
Constant Value: "allow_merge_wifi_calls_when_vowifi_off_bool"
KEY_ALLOW_NON_EMERGENCY_CALLS_IN_ECM_BOOL
public static final String KEY_ALLOW_NON_EMERGENCY_CALLS_IN_ECM_BOOL
Determines whether the carrier supports making non-emergency phone calls while the phone is
in emergency callback mode. Default value is true, meaning that non-emergency calls
are allowed in emergency callback mode.
Constant Value: "allow_non_emergency_calls_in_ecm_bool"
KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL
public static final String KEY_ALWAYS_SHOW_EMERGENCY_ALERT_ONOFF_BOOL
The default flag specifying whether "Turn on Notifications" option will be always shown in Settings->More->Emergency broadcasts menu regardless developer options is turned on or not.
Constant Value: "always_show_emergency_alert_onoff_bool"
KEY_APN_EXPAND_BOOL
public static final String KEY_APN_EXPAND_BOOL
Control whether users can edit APNs in Settings.
Constant Value: "apn_expand_bool"
KEY_AUTO_RETRY_ENABLED_BOOL
public static final String KEY_AUTO_RETRY_ENABLED_BOOL
Flag indicating if auto retry is enabled
Constant Value: "auto_retry_enabled_bool"
KEY_CALL_BARRING_SUPPORTS_DEACTIVATE_ALL_BOOL
public static final String KEY_CALL_BARRING_SUPPORTS_DEACTIVATE_ALL_BOOL
Flag indicating whether or not deactivating all call barring features via the "Call Barring" settings menu is supported. If true, the option will be visible in the "Call Barring" settings menu. If false, the option will not be visible. Enabled by default.
Constant Value: "call_barring_supports_deactivate_all_bool"
KEY_CALL_BARRING_SUPPORTS_PASSWORD_CHANGE_BOOL
public static final String KEY_CALL_BARRING_SUPPORTS_PASSWORD_CHANGE_BOOL
Flag indicating whether or not changing the call barring password via the "Call Barring" settings menu is supported. If true, the option will be visible in the "Call Barring" settings menu. If false, the option will not be visible. Enabled by default.
Constant Value: "call_barring_supports_password_change_bool"
KEY_CALL_BARRING_VISIBILITY_BOOL
public static final String KEY_CALL_BARRING_VISIBILITY_BOOL
Boolean indicating if the "Call barring" item is visible in the Call Settings menu. If true, the "Call Barring" menu will be visible. If false, the menu will be gone. Disabled by default.
Constant Value: "call_barring_visibility_bool"
KEY_CALL_FORWARDING_BLOCKS_WHILE_ROAMING_STRING_ARRAY
public static final String KEY_CALL_FORWARDING_BLOCKS_WHILE_ROAMING_STRING_ARRAY
An array containing custom call forwarding number prefixes that will be blocked while the
device is reporting that it is roaming. By default, there are no custom call
forwarding prefixes and none of these numbers will be filtered. If one or more entries are
present, the system will not complete the call and display an error message.
To display a message to the user when call forwarding fails for 3gpp MMI codes while roaming,
use the KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL option instead.
Constant Value: "call_forwarding_blocks_while_roaming_string_array"
KEY_CARRIER_ALLOW_TURNOFF_IMS_BOOL
public static final String KEY_CARRIER_ALLOW_TURNOFF_IMS_BOOL
Flag specifying whether IMS service can be turned off. If false then the service will not be turned-off completely, but individual features can be disabled.
Constant Value: "carrier_allow_turnoff_ims_bool"
KEY_CARRIER_CALL_SCREENING_APP_STRING
public static final String KEY_CARRIER_CALL_SCREENING_APP_STRING
The Component Name of a carrier-provided CallScreeningService implementation. Telecom will
bind to CallScreeningService for ALL incoming calls and provide
the carrier
CallScreeningService with the opportunity to allow or block calls.
The String includes the package name/the class name.
Example:
Using ComponentName#flattenToString() to convert a ComponentName object to String.
Using ComponentName#unflattenFromString(String) to convert a String object to a
ComponentName.
Constant Value: "call_screening_app"
KEY_CARRIER_CONFIG_VERSION_STRING
public static final String KEY_CARRIER_CONFIG_VERSION_STRING
Specifies a value that identifies the version of the carrier configuration that is currently in use. This string is displayed on the UI. The format of the string is not specified.
Constant Value: "carrier_config_version_string"
KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGS
public static final String KEY_CARRIER_DATA_CALL_PERMANENT_FAILURE_STRINGS
Data call setup permanent failure causes by the carrier
Constant Value: "carrier_data_call_permanent_failure_strings"
KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT
public static final String KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT
Default mode for WFC over IMS on home network:
- 0: Wi-Fi only
- 1: prefer mobile network
- 2: prefer Wi-Fi
Constant Value: "carrier_default_wfc_ims_mode_int"
KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT
public static final String KEY_CARRIER_DEFAULT_WFC_IMS_ROAMING_MODE_INT
Default mode for WFC over IMS on roaming network.
See KEY_CARRIER_DEFAULT_WFC_IMS_MODE_INT for meaning of values.
Constant Value: "carrier_default_wfc_ims_roaming_mode_int"
KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL
public static final String KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL
The default flag specifying whether ETWS/CMAS test setting is forcibly disabled in Settings->More->Emergency broadcasts menu even though developer options is turned on.
Constant Value: "carrier_force_disable_etws_cmas_test_bool"
KEY_CARRIER_IMS_GBA_REQUIRED_BOOL
public static final String KEY_CARRIER_IMS_GBA_REQUIRED_BOOL
Flag specifying whether Generic Bootstrapping Architecture capable SIM is required for IMS.
Constant Value: "carrier_ims_gba_required_bool"
KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL
public static final String KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL
Flag specifying whether IMS instant lettering is available for the carrier. True if
instant lettering is available for the carrier, false otherwise.
Constant Value: "carrier_instant_lettering_available_bool"
KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING
public static final String KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING
When IMS instant lettering is available for a carrier (see
KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL), determines the character encoding
which will be used when determining the length of messages. Used in the InCall UI to limit
the number of characters the user may type. If empty-string, the instant lettering
message size limit will be enforced on a 1:1 basis. That is, each character will count
towards the messages size limit as a single bye. If a character encoding is specified, the
message size limit will be based on the number of bytes in the message per the specified
encoding.
Constant Value: "carrier_instant_lettering_encoding_string"
KEY_CARRIER_INSTANT_LETTERING_ESCAPED_CHARS_STRING
public static final String KEY_CARRIER_INSTANT_LETTERING_ESCAPED_CHARS_STRING
When IMS instant lettering is available for a carrier (see
KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL), determines a list of characters which
must be escaped with a backslash '\' character. Should be specified as a string containing
the characters to be escaped. For example to escape quote and backslash the string would be
a quote and a backslash.
Constant Value: "carrier_instant_lettering_escaped_chars_string"
KEY_CARRIER_INSTANT_LETTERING_INVALID_CHARS_STRING
public static final String KEY_CARRIER_INSTANT_LETTERING_INVALID_CHARS_STRING
When IMS instant lettering is available for a carrier (see
KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL), determines the list of characters
which may not be contained in messages. Should be specified as a regular expression suitable
for use with String#matches(String).
Constant Value: "carrier_instant_lettering_invalid_chars_string"
KEY_CARRIER_INSTANT_LETTERING_LENGTH_LIMIT_INT
public static final String KEY_CARRIER_INSTANT_LETTERING_LENGTH_LIMIT_INT
When IMS instant lettering is available for a carrier (see
KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL), the length limit for messages. Used
in the InCall UI to ensure the user cannot enter more characters than allowed by the carrier.
See also KEY_CARRIER_INSTANT_LETTERING_ENCODING_STRING for more information on how
the length of the message is calculated.
Constant Value: "carrier_instant_lettering_length_limit_int"
KEY_CARRIER_NAME_OVERRIDE_BOOL
public static final String KEY_CARRIER_NAME_OVERRIDE_BOOL
Unconditionally override the carrier name string using #KEY_CARRIER_NAME_STRING. If true, then the carrier name string will be #KEY_CARRIER_NAME_STRING, unconditionally.
If false, then the override will be performed conditionally and the #KEY_CARRIER_NAME_STRING will have the lowest-precedence; it will only be used in the event that the name string would otherwise be empty, allowing it to serve as a last-resort. If used, this value functions in place of the SPN on any/all ICC records for the corresponding subscription.
Constant Value: "carrier_name_override_bool"
KEY_CARRIER_NAME_STRING
public static final String KEY_CARRIER_NAME_STRING
String to identify carrier name in CarrierConfig app. This string overrides SPN if #KEY_CARRIER_NAME_OVERRIDE_BOOL is true; otherwise, it will be used if its value is provided and SPN is unavailable
Constant Value: "carrier_name_string"
KEY_CARRIER_SETTINGS_ENABLE_BOOL
public static final String KEY_CARRIER_SETTINGS_ENABLE_BOOL
Display carrier settings menu if true
Constant Value: "carrier_settings_enable_bool"
KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL
public static final String KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL
Flag indicating whether or not the carrier supports Supplementary Services over the UT
interface for this subscription.
If true, the device will use Supplementary Services over UT when provisioned (see
KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL). If false, this device will fallback to
circuit switch for supplementary services and will disable this capability for IMS entirely.
The default value for this key is true.
Constant Value: "carrier_supports_ss_over_ut_bool"
KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL
public static final String KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL
Constant Value: "carrier_use_ims_first_for_emergency_bool"
KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL
public static final String KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL
Flag indicating whether or not the IMS MmTel UT capability requires carrier provisioning
before it can be set as enabled.
If true, the UT capability will be set to false for the newly loaded subscription
and will require the carrier provisioning app to set the persistent provisioning result.
If false, the platform will not wait for provisioning status updates for the UT capability
and enable the UT over IMS capability for the subscription when the subscription is loaded.
The default value for this key is false.
Constant Value: "carrier_ut_provisioning_required_bool"
KEY_CARRIER_VOLTE_AVAILABLE_BOOL
public static final String KEY_CARRIER_VOLTE_AVAILABLE_BOOL
Flag specifying whether VoLTE should be available for carrier, independent of carrier provisioning. If false: hard disabled. If true: then depends on carrier provisioning, availability, etc.
Constant Value: "carrier_volte_available_bool"
KEY_CARRIER_VOLTE_PROVISIONED_BOOL
public static final String KEY_CARRIER_VOLTE_PROVISIONED_BOOL
This flag specifies whether VoLTE availability is based on provisioning. By default this is false.
Constant Value: "carrier_volte_provisioned_bool"
KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL
public static final String KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL
Flag specifying whether provisioning is required for VoLTE, Video Telephony, and WiFi Calling.
Constant Value: "carrier_volte_provisioning_required_bool"
KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL
public static final String KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL
Flag specifying whether VoLTE TTY is supported.
Constant Value: "carrier_volte_tty_supported_bool"
KEY_CARRIER_VT_AVAILABLE_BOOL
public static final String KEY_CARRIER_VT_AVAILABLE_BOOL
Flag specifying whether video telephony is available for carrier. If false: hard disabled. If true: then depends on carrier provisioning, availability, etc.
Constant Value: "carrier_vt_available_bool"
KEY_CARRIER_VVM_PACKAGE_NAME_STRING
public static final String KEY_CARRIER_VVM_PACKAGE_NAME_STRING
This constant was deprecated
in API level 26.
use KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY.
The package name of the carrier's visual voicemail app to ensure that dialer visual voicemail and carrier visual voicemail are not active at the same time.
Constant Value: "carrier_vvm_package_name_string"
KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY
public static final String KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY
A list of the carrier's visual voicemail app package names to ensure that dialer visual voicemail and carrier visual voicemail are not active at the same time.
Constant Value: "carrier_vvm_package_name_string_array"
KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL
public static final String KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL
Flag specifying whether WFC over IMS should be available for carrier: independent of carrier provisioning. If false: hard disabled. If true: then depends on carrier provisioning, availability etc.
Constant Value: "carrier_wfc_ims_available_bool"
KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL
public static final String KEY_CARRIER_WFC_SUPPORTS_WIFI_ONLY_BOOL
Flag specifying whether WFC over IMS supports the "wifi only" option. If false, the wifi calling settings will not include an option for "wifi only". If true, the wifi calling settings will include an option for "wifi only"
By default, it is assumed that WFC supports "wifi only".
Constant Value: "carrier_wfc_supports_wifi_only_bool"
KEY_CDMA_3WAYCALL_FLASH_DELAY_INT
public static final String KEY_CDMA_3WAYCALL_FLASH_DELAY_INT
For carriers which require an empty flash to be sent before sending the normal 3-way calling
flash, the duration in milliseconds of the empty flash to send. When 0, no empty
flash is sent.
Constant Value: "cdma_3waycall_flash_delay_int"
KEY_CDMA_DTMF_TONE_DELAY_INT
public static final String KEY_CDMA_DTMF_TONE_DELAY_INT
Specifies the amount of gap to be added in millis between postdial DTMF tones. When a non-zero value is specified, the UE shall wait for the specified amount of time before it sends out successive DTMF tones on the network.
Constant Value: "cdma_dtmf_tone_delay_int"
KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY
public static final String KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered non roaming. Value is string array of SIDs to be considered not roaming for 3GPP2 RATs.
Constant Value: "cdma_nonroaming_networks_string_array"
KEY_CDMA_ROAMING_MODE_INT
public static final String KEY_CDMA_ROAMING_MODE_INT
The CDMA roaming mode (aka CDMA system select).
The value should be one of the CDMA_ROAMING_MODE_ constants in TelephonyManager.
Values other than TelephonyManager#CDMA_ROAMING_MODE_RADIO_DEFAULT (which is the
default) will take precedence over user selection.
See also:
Constant Value: "cdma_roaming_mode_int"
KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY
public static final String KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered roaming. Value is string array of SIDs to be considered roaming for 3GPP2 RATs.
Constant Value: "cdma_roaming_networks_string_array"
KEY_CI_ACTION_ON_SYS_UPDATE_BOOL
public static final String KEY_CI_ACTION_ON_SYS_UPDATE_BOOL
Flag specifying whether an additional (client initiated) intent needs to be sent on System update
Constant Value: "ci_action_on_sys_update_bool"
KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING
public static final String KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING
Extra to be included in the intent sent for additional action on System update
Constant Value: "ci_action_on_sys_update_extra_string"
KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING
public static final String KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING
Value of extra included in intent sent for additional action on System update
Constant Value: "ci_action_on_sys_update_extra_val_string"
KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING
public static final String KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING
Intent to be sent for the additional action on System update
Constant Value: "ci_action_on_sys_update_intent_string"
KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING
public static final String KEY_CONFIG_IMS_PACKAGE_OVERRIDE_STRING
Override the device's configuration for the ImsService to use for this SIM card.
Constant Value: "config_ims_package_override_string"
KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING
public static final String KEY_CONFIG_PLANS_PACKAGE_OVERRIDE_STRING
Override the package that will manage SubscriptionPlan
information instead of the CarrierService that defines this
value.
See also:
Constant Value: "config_plans_package_override_string"
KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL
public static final String KEY_CONFIG_TELEPHONY_USE_OWN_NUMBER_FOR_VOICEMAIL_BOOL
Flag that specifies to use the user's own phone number as the voicemail number when there is no pre-loaded voicemail number on the SIM card.
KEY_DEFAULT_VM_NUMBER_STRING takes precedence over this flag.
If false, the system default (*86) will be used instead.
Constant Value: "config_telephony_use_own_number_for_voicemail_bool"
KEY_CSP_ENABLED_BOOL
public static final String KEY_CSP_ENABLED_BOOL
If this is true, the SIM card (through Customer Service Profile EF file) will be able to prevent manual operator selection. If false, this SIM setting will be ignored and manual operator selection will always be available. See CPHS4_2.WW6, CPHS B.4.7.1 for more information
Constant Value: "csp_enabled_bool"
KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG
public static final String KEY_DATA_LIMIT_THRESHOLD_BYTES_LONG
Controls the cellular data limit.
If the user uses more than this amount of data in their billing cycle, as defined by
KEY_MONTHLY_DATA_CYCLE_DAY_INT, cellular data will be turned off by the user's
phone. If the value is set to DATA_CYCLE_THRESHOLD_DISABLED, the data limit will be
disabled.
This setting may be overridden by explicit user choice. By default, the platform value will be used.
Constant Value: "data_limit_threshold_bytes_long"
KEY_DATA_WARNING_THRESHOLD_BYTES_LONG
public static final String KEY_DATA_WARNING_THRESHOLD_BYTES_LONG
Controls the data usage warning.
If the user uses more than this amount of data in their billing cycle, as defined by
KEY_MONTHLY_DATA_CYCLE_DAY_INT, the user will be alerted about the usage.
If the value is set to DATA_CYCLE_THRESHOLD_DISABLED, the data usage warning will
be disabled.
This setting may be overridden by explicit user choice. By default, the platform value will be used.
Constant Value: "data_warning_threshold_bytes_long"
KEY_DEFAULT_SIM_CALL_MANAGER_STRING
public static final String KEY_DEFAULT_SIM_CALL_MANAGER_STRING
The default sim call manager to use when the default dialer doesn't implement one. A sim call manager can control and route outgoing and incoming phone calls, even if they're placed using another connection service (PSTN, for example).
Constant Value: "default_sim_call_manager_string"
KEY_DEFAULT_VM_NUMBER_STRING
public static final String KEY_DEFAULT_VM_NUMBER_STRING
Where there is no preloaded voicemail number on a SIM card, specifies the carrier's default voicemail number. When empty string, no default voicemail number is specified.
Constant Value: "default_vm_number_string"
KEY_DIAL_STRING_REPLACE_STRING_ARRAY
public static final String KEY_DIAL_STRING_REPLACE_STRING_ARRAY
Specifies a map from dialstrings to replacements for roaming network service numbers which cannot be replaced on the carrier side.
Individual entries have the format: [dialstring to replace]:[replacement]
Constant Value: "dial_string_replace_string_array"
KEY_DISABLE_CDMA_ACTIVATION_CODE_BOOL
public static final String KEY_DISABLE_CDMA_ACTIVATION_CODE_BOOL
Disables dialing "*228" (OTASP provisioning) on CDMA carriers where it is not supported or is potentially harmful by locking the SIM to 3G.
Constant Value: "disable_cdma_activation_code_bool"
KEY_DISPLAY_HD_AUDIO_PROPERTY_BOOL
public static final String KEY_DISPLAY_HD_AUDIO_PROPERTY_BOOL
Determines whether High Definition audio property is displayed in the dialer UI.
If false, remove the HD audio property from the connection so that HD audio related
UI is not displayed. If true, keep HD audio property as it is configured.
Constant Value: "display_hd_audio_property_bool"
KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL
public static final String KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL
When true, if the user is in an ongoing video call over WIFI and answers an incoming
audio call, the video call will be disconnected before the audio call is answered. This is
in contrast to the usual expected behavior where a foreground video call would be put into
the background and held when an incoming audio call is answered.
Constant Value: "drop_video_call_when_answering_audio_call_bool"
KEY_DTMF_TYPE_ENABLED_BOOL
public static final String KEY_DTMF_TYPE_ENABLED_BOOL
Flag indicating if dtmf tone type is enabled
Constant Value: "dtmf_type_enabled_bool"
KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT
public static final String KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT
The duration in seconds that platform call and message blocking is disabled after the user
contacts emergency services. Platform considers values for below cases:
1) 0 <= VALUE <= 604800(one week): the value will be used as the duration directly.
2) VALUE > 604800(one week): will use the default value as duration instead.
3) VALUE < 0: block will be disabled forever until user re-eanble block manually,
the suggested value to disable forever is -1.
See android.provider.BlockedNumberContract#notifyEmergencyContact(Context)
See android.provider.BlockedNumberContract#isBlocked(Context, String).
Constant Value: "duration_blocking_disabled_after_emergency_int"
KEY_EDITABLE_ENHANCED_4G_LTE_BOOL
public static final String KEY_EDITABLE_ENHANCED_4G_LTE_BOOL
Determine whether user can toggle Enhanced 4G LTE Mode in Settings.
Constant Value: "editable_enhanced_4g_lte_bool"
KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL
public static final String KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL
Since the default voicemail number is empty, if a SIM card does not have a voicemail number available the user cannot use voicemail. This flag allows the user to edit the voicemail number in such cases, and is false by default.
Constant Value: "editable_voicemail_number_bool"
KEY_EDITABLE_VOICEMAIL_NUMBER_SETTING_BOOL
public static final String KEY_EDITABLE_VOICEMAIL_NUMBER_SETTING_BOOL
Determine whether user can edit voicemail number in Settings.
Constant Value: "editable_voicemail_number_setting_bool"
KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY
public static final String KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY
Indicates zero or more emergency number prefix(es), because some carrier requires if users dial an emergency number address with a specific prefix, the combination of the prefix and the address is also a valid emergency number to dial. For example, an emergency number prefix is 318, and the emergency number is 911. Both 318911 and 911 can be dialed by users for emergency call. An empty array of string indicates that current carrier does not have this requirement.
Constant Value: "emergency_number_prefix_string_array"
KEY_ENABLE_DIALER_KEY_VIBRATION_BOOL
public static final String KEY_ENABLE_DIALER_KEY_VIBRATION_BOOL
If true, enable vibration (haptic feedback) for key presses in the EmergencyDialer activity. The pattern is set on a per-platform basis using config_virtualKeyVibePattern. To be consistent with the regular Dialer, this value should agree with the corresponding values from config.xml under apps/Contacts.
Constant Value: "enable_dialer_key_vibration_bool"
KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL
public static final String KEY_ENHANCED_4G_LTE_ON_BY_DEFAULT_BOOL
Sets the default state for the "Enhanced 4G LTE" or "Advanced Calling" mode toggle set by the
user. When this is true, this mode by default is on, otherwise if false,
this mode by default is off.
Constant Value: "enhanced_4g_lte_on_by_default_bool"
KEY_FORCE_HOME_NETWORK_BOOL
public static final String KEY_FORCE_HOME_NETWORK_BOOL
Override the platform's notion of a network operator being considered non roaming. If true all networks are considered as home network a.k.a non-roaming. When false, the 2 pairs of CMDA and GSM roaming/non-roaming arrays are consulted.
See also:
Constant Value: "force_home_network_bool"
KEY_GSM_DTMF_TONE_DELAY_INT
public static final String KEY_GSM_DTMF_TONE_DELAY_INT
Specifies the amount of gap to be added in millis between postdial DTMF tones. When a non-zero value is specified, the UE shall wait for the specified amount of time before it sends out successive DTMF tones on the network.
Constant Value: "gsm_dtmf_tone_delay_int"
KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
public static final String KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered not roaming. Value is string array of MCCMNCs to be considered not roaming for 3GPP RATs.
Constant Value: "gsm_nonroaming_networks_string_array"
KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
public static final String KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
Override the platform's notion of a network operator being considered roaming. Value is string array of MCCMNCs to be considered roaming for 3GPP RATs.
Constant Value: "gsm_roaming_networks_string_array"
KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL
public static final String KEY_HAS_IN_CALL_NOISE_SUPPRESSION_BOOL
Determines if device implements a noise suppression device for in call audio.
Constant Value: "has_in_call_noise_suppression_bool"
KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL
public static final String KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL
Control whether users can reach the carrier portions of Cellular Network Settings.
Constant Value: "hide_carrier_network_settings_bool"
KEY_HIDE_ENHANCED_4G_LTE_BOOL
public static final String KEY_HIDE_ENHANCED_4G_LTE_BOOL
Determines whether the Enhanced 4G LTE toggle will be shown in the settings. When this
option is true, the toggle will be hidden regardless of whether the device and
carrier supports 4G LTE or not.
Constant Value: "hide_enhanced_4g_lte_bool"
KEY_HIDE_IMS_APN_BOOL
public static final String KEY_HIDE_IMS_APN_BOOL
Determine whether IMS apn can be shown.
Constant Value: "hide_ims_apn_bool"
KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL
public static final String KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL
Determine whether preferred network type can be shown.
Constant Value: "hide_preferred_network_type_bool"
KEY_HIDE_PRESET_APN_DETAILS_BOOL
public static final String KEY_HIDE_PRESET_APN_DETAILS_BOOL
Flag to hide Preset APN details. If true, user cannot enter ApnEditor view of Preset APN, and cannot view details of the APN. If false, user can enter ApnEditor view of Preset APN. Default value is false.
Constant Value: "hide_preset_apn_details_bool"
KEY_HIDE_SIM_LOCK_SETTINGS_BOOL
public static final String KEY_HIDE_SIM_LOCK_SETTINGS_BOOL
Control whether users can reach the SIM lock settings.
Constant Value: "hide_sim_lock_settings_bool"
KEY_IGNORE_SIM_NETWORK_LOCKED_EVENTS_BOOL
public static final String KEY_IGNORE_SIM_NETWORK_LOCKED_EVENTS_BOOL
Flag indicating whether the Phone app should ignore EVENT_SIM_NETWORK_LOCKED events from the Sim. If true, this will prevent the IccNetworkDepersonalizationPanel from being shown, and effectively disable the "Sim network lock" feature.
Constant Value: "ignore_sim_network_locked_events_bool"
KEY_IMS_CONFERENCE_SIZE_LIMIT_INT
public static final String KEY_IMS_CONFERENCE_SIZE_LIMIT_INT
Determines the maximum number of participants the carrier supports for a conference call.
This number is exclusive of the current device. A conference between 3 devices, for example,
would have a size limit of 2 participants.
Enforced when KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL is true.
Constant Value: "ims_conference_size_limit_int"
KEY_IMS_DTMF_TONE_DELAY_INT
public static final String KEY_IMS_DTMF_TONE_DELAY_INT
Specifies the amount of gap to be added in millis between DTMF tones. When a non-zero value is specified, the UE shall wait for the specified amount of time before it sends out successive DTMF tones on the network.
Constant Value: "ims_dtmf_tone_delay_int"
KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL
public static final String KEY_IS_IMS_CONFERENCE_SIZE_ENFORCED_BOOL
Determines whether a maximum size limit for IMS conference calls is enforced on the device.
When true, IMS conference calls will be limited to at most
KEY_IMS_CONFERENCE_SIZE_LIMIT_INT participants. When false, no attempt is made
to limit the number of participants in a conference (the carrier will raise an error when an
attempt is made to merge too many participants into a conference).
Constant Value: "is_ims_conference_size_enforced_bool"
KEY_MDN_IS_ADDITIONAL_VOICEMAIL_NUMBER_BOOL
public static final String KEY_MDN_IS_ADDITIONAL_VOICEMAIL_NUMBER_BOOL
When checking if a given number is the voicemail number, if this flag is true then in addition to comparing the given number to the voicemail number, we also compare it to the mdn. If this flag is false, the given number is only compared to the voicemail number. By default this value is false.
Constant Value: "mdn_is_additional_voicemail_number_bool"
KEY_MMS_ALIAS_ENABLED_BOOL
public static final String KEY_MMS_ALIAS_ENABLED_BOOL
Constant Value: "aliasEnabled"
KEY_MMS_ALIAS_MAX_CHARS_INT
public static final String KEY_MMS_ALIAS_MAX_CHARS_INT
Constant Value: "aliasMaxChars"
KEY_MMS_ALIAS_MIN_CHARS_INT
public static final String KEY_MMS_ALIAS_MIN_CHARS_INT
Constant Value: "aliasMinChars"
KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL
public static final String KEY_MMS_ALLOW_ATTACH_AUDIO_BOOL
Constant Value: "allowAttachAudio"
KEY_MMS_APPEND_TRANSACTION_ID_BOOL
public static final String KEY_MMS_APPEND_TRANSACTION_ID_BOOL
Constant Value: "enabledTransID"
KEY_MMS_EMAIL_GATEWAY_NUMBER_STRING
public static final String KEY_MMS_EMAIL_GATEWAY_NUMBER_STRING
Constant Value: "emailGatewayNumber"
KEY_MMS_GROUP_MMS_ENABLED_BOOL
public static final String KEY_MMS_GROUP_MMS_ENABLED_BOOL
Constant Value: "enableGroupMms"
KEY_MMS_HTTP_PARAMS_STRING
public static final String KEY_MMS_HTTP_PARAMS_STRING
Constant Value: "httpParams"
KEY_MMS_HTTP_SOCKET_TIMEOUT_INT
public static final String KEY_MMS_HTTP_SOCKET_TIMEOUT_INT
Constant Value: "httpSocketTimeout"
KEY_MMS_MAX_IMAGE_HEIGHT_INT
public static final String KEY_MMS_MAX_IMAGE_HEIGHT_INT
Constant Value: "maxImageHeight"
KEY_MMS_MAX_IMAGE_WIDTH_INT
public static final String KEY_MMS_MAX_IMAGE_WIDTH_INT
Constant Value: "maxImageWidth"
KEY_MMS_MAX_MESSAGE_SIZE_INT
public static final String KEY_MMS_MAX_MESSAGE_SIZE_INT
Constant Value: "maxMessageSize"
KEY_MMS_MESSAGE_TEXT_MAX_SIZE_INT
public static final String KEY_MMS_MESSAGE_TEXT_MAX_SIZE_INT
Constant Value: "maxMessageTextSize"
KEY_MMS_MMS_DELIVERY_REPORT_ENABLED_BOOL
public static final String KEY_MMS_MMS_DELIVERY_REPORT_ENABLED_BOOL
Constant Value: "enableMMSDeliveryReports"
KEY_MMS_MMS_ENABLED_BOOL
public static final String KEY_MMS_MMS_ENABLED_BOOL
Constant Value: "enabledMMS"
KEY_MMS_MMS_READ_REPORT_ENABLED_BOOL
public static final String KEY_MMS_MMS_READ_REPORT_ENABLED_BOOL
Constant Value: "enableMMSReadReports"
KEY_MMS_MULTIPART_SMS_ENABLED_BOOL
public static final String KEY_MMS_MULTIPART_SMS_ENABLED_BOOL
Constant Value: "enableMultipartSMS"
KEY_MMS_NAI_SUFFIX_STRING
public static final String KEY_MMS_NAI_SUFFIX_STRING
Constant Value: "naiSuffix"
KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL
public static final String KEY_MMS_NOTIFY_WAP_MMSC_ENABLED_BOOL
Constant Value: "enabledNotifyWapMMSC"
KEY_MMS_RECIPIENT_LIMIT_INT
public static final String KEY_MMS_RECIPIENT_LIMIT_INT
Constant Value: "recipientLimit"
KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL
public static final String KEY_MMS_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES_BOOL
Constant Value: "sendMultipartSmsAsSeparateMessages"
KEY_MMS_SHOW_CELL_BROADCAST_APP_LINKS_BOOL
public static final String KEY_MMS_SHOW_CELL_BROADCAST_APP_LINKS_BOOL
Constant Value: "config_cellBroadcastAppLinks"
KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL
public static final String KEY_MMS_SMS_DELIVERY_REPORT_ENABLED_BOOL
Constant Value: "enableSMSDeliveryReports"
KEY_MMS_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD_INT
public static final String KEY_MMS_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD_INT
Constant Value: "smsToMmsTextLengthThreshold"
KEY_MMS_SMS_TO_MMS_TEXT_THRESHOLD_INT
public static final String KEY_MMS_SMS_TO_MMS_TEXT_THRESHOLD_INT
Constant Value: "smsToMmsTextThreshold"
KEY_MMS_SUBJECT_MAX_LENGTH_INT
public static final String KEY_MMS_SUBJECT_MAX_LENGTH_INT
Constant Value: "maxSubjectLength"
KEY_MMS_SUPPORT_HTTP_CHARSET_HEADER_BOOL
public static final String KEY_MMS_SUPPORT_HTTP_CHARSET_HEADER_BOOL
Constant Value: "supportHttpCharsetHeader"
KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL
public static final String KEY_MMS_SUPPORT_MMS_CONTENT_DISPOSITION_BOOL
Constant Value: "supportMmsContentDisposition"
KEY_MMS_UA_PROF_TAG_NAME_STRING
public static final String KEY_MMS_UA_PROF_TAG_NAME_STRING
Constant Value: "uaProfTagName"
KEY_MMS_UA_PROF_URL_STRING
public static final String KEY_MMS_UA_PROF_URL_STRING
Constant Value: "uaProfUrl"
KEY_MMS_USER_AGENT_STRING
public static final String KEY_MMS_USER_AGENT_STRING
Constant Value: "userAgent"
KEY_MONTHLY_DATA_CYCLE_DAY_INT
public static final String KEY_MONTHLY_DATA_CYCLE_DAY_INT
The day of the month (1-31) on which the data cycle rolls over.
If the current month does not have this day, the cycle will roll over at the start of the next month.
This setting may be still overridden by explicit user choice. By default, the platform value will be used.
Constant Value: "monthly_data_cycle_day_int"
KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY
public static final String KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY
List of RIL radio technologies (See ServiceState RIL_RADIO_TECHNOLOGY_*
constants) which support only a single data connection at a time. Some carriers do not
support multiple pdp on UMTS.
Constant Value: "only_single_dc_allowed_int_array"
KEY_OPERATOR_SELECTION_EXPAND_BOOL
public static final String KEY_OPERATOR_SELECTION_EXPAND_BOOL
Control whether users can choose a network operator.
Constant Value: "operator_selection_expand_bool"
KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_HYSTERESIS_TIME_LONG
public static final String KEY_OPPORTUNISTIC_NETWORK_DATA_SWITCH_HYSTERESIS_TIME_LONG
Controls hysteresis time in milli seconds for which OpportunisticNetworkService will wait before switching data to a network.
Constant Value: "opportunistic_network_data_switch_hysteresis_time_long"
KEY_OPPORTUNISTIC_NETWORK_ENTRY_OR_EXIT_HYSTERESIS_TIME_LONG
public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_OR_EXIT_HYSTERESIS_TIME_LONG
Controls hysteresis time in milli seconds for which OpportunisticNetworkService will wait before attaching to a network.
Constant Value: "opportunistic_network_entry_or_exit_hysteresis_time_long"
KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_BANDWIDTH_INT
public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_BANDWIDTH_INT
Controls bandwidth threshold in Kbps at which OpportunisticNetworkService will decide whether the opportunistic network is good enough for internet data.
Constant Value: "opportunistic_network_entry_threshold_bandwidth_int"
KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSRP_INT
public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSRP_INT
Controls RSRP threshold at which OpportunisticNetworkService will decide whether the opportunistic network is good enough for internet data.
Constant Value: "opportunistic_network_entry_threshold_rsrp_int"
KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSSNR_INT
public static final String KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSSNR_INT
Controls RSSNR threshold at which OpportunisticNetworkService will decide whether the opportunistic network is good enough for internet data.
Constant Value: "opportunistic_network_entry_threshold_rssnr_int"
KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSRP_INT
public static final String KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSRP_INT
Controls RSRP threshold below which OpportunisticNetworkService will decide whether the opportunistic network available is not good enough for internet data.
Constant Value: "opportunistic_network_exit_threshold_rsrp_int"
KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSSNR_INT
public static final String KEY_OPPORTUNISTIC_NETWORK_EXIT_THRESHOLD_RSSNR_INT
Controls RSSNR threshold below which OpportunisticNetworkService will decide whether the opportunistic network available is not good enough for internet data.
Constant Value: "opportunistic_network_exit_threshold_rssnr_int"
KEY_PREFER_2G_BOOL
public static final String KEY_PREFER_2G_BOOL
Used in Cellular Network Settings for preferred network type.
Constant Value: "prefer_2g_bool"
KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY
public static final String KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY
A list of failure cause codes that will trigger a modem restart when telephony receiving one of those during data setup. The cause codes are defined in 3GPP TS 24.008 Annex I and TS 24.301 Annex B.
Constant Value: "radio_restart_failure_causes_int_array"
KEY_RCS_CONFIG_SERVER_URL_STRING
public static final String KEY_RCS_CONFIG_SERVER_URL_STRING
The RCS configuration server URL. This URL is used to initiate RCS provisioning.
Constant Value: "rcs_config_server_url_string"
KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL
public static final String KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL
Flag to require or skip entitlement checks. If true, entitlement checks will be executed if device has been configured for it, If false, entitlement checks will be skipped.
Constant Value: "require_entitlement_checks_bool"
KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL
public static final String KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL
This constant was deprecated
in API level Q.
Use KEY_RADIO_RESTART_FAILURE_CAUSES_INT_ARRAY instead
Flag indicating whether radio is to be restarted on error PDP_FAIL_REGULAR_DEACTIVATION This is false by default.
Constant Value: "restart_radio_on_pdp_fail_regular_deactivation_bool"
KEY_RTT_SUPPORTED_BOOL
public static final String KEY_RTT_SUPPORTED_BOOL
Flag indicating whether the carrier supports RTT over IMS.
Constant Value: "rtt_supported_bool"
KEY_SHOW_APN_SETTING_CDMA_BOOL
public static final String KEY_SHOW_APN_SETTING_CDMA_BOOL
Show APN Settings for some CDMA carriers
Constant Value: "show_apn_setting_cdma_bool"
KEY_SHOW_CALL_BLOCKING_DISABLED_NOTIFICATION_ALWAYS_BOOL
public static final String KEY_SHOW_CALL_BLOCKING_DISABLED_NOTIFICATION_ALWAYS_BOOL
Flag specifying whether to show notification(call blocking disabled) when Enhanced Call Blocking(KEY_SUPPORT_ENHANCED_CALL_BLOCKING_BOOL) is enabled and making emergency call. When true, notification is shown always. When false, notification is shown only when any setting of "Enhanced Blocked number" is enabled.
Constant Value: "show_call_blocking_disabled_notification_always_bool"
KEY_SHOW_CDMA_CHOICES_BOOL
public static final String KEY_SHOW_CDMA_CHOICES_BOOL
Show cdma network mode choices 1x, 3G, global etc.
Constant Value: "show_cdma_choices_bool"
KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL
public static final String KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL
Flag specifying whether ICCID is showed in SIM Status screen, default to false.
Constant Value: "show_iccid_in_sim_status_bool"
KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL
public static final String KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL
If true, show an onscreen "Dial" button in the dialer. In practice this is used on all platforms, even the ones with hard SEND/END keys, but for maximum flexibility it's controlled by a flag here (which can be overridden on a per-product basis.)
Constant Value: "show_onscreen_dial_button_bool"
KEY_SHOW_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL
public static final String KEY_SHOW_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL
Flag specifying whether the SignalStrength is shown in the SIM
Status screen. The default value is true.
Constant Value: "show_signal_strength_in_sim_status_bool"
KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL
public static final String KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL
Control whether users receive a simplified network settings UI and improved network selection.
Constant Value: "simplified_network_settings_bool"
KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL
public static final String KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL
Flag indicating whether the Phone app should provide a "Dismiss" button on the SIM network unlock screen. The default value is true. If set to false, there will be *no way* to dismiss the SIM network unlock screen if you don't enter the correct unlock code. (One important consequence: there will be no way to make an Emergency Call if your SIM is network-locked and you don't know the PIN.)
Constant Value: "sim_network_unlock_allow_dismiss_bool"
KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL
public static final String KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL
Determines if the carrier requires converting the destination number before sending out an SMS. Certain networks and numbering plans require different formats.
Constant Value: "sms_requires_destination_number_conversion_bool"
KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL
public static final String KEY_SUPPORT_3GPP_CALL_FORWARDING_WHILE_ROAMING_BOOL
Indicates whether the carrier supports 3gpp call forwarding MMI codes while roaming. If false, the user will be notified that call forwarding is not available when the MMI code fails.
Constant Value: "support_3gpp_call_forwarding_while_roaming_bool"
KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL
public static final String KEY_SUPPORT_CLIR_NETWORK_DEFAULT_BOOL
Flag indicating whether to support "Network default" option in Caller ID settings for Calling Line Identification Restriction (CLIR).
Constant Value: "support_clir_network_default_bool"
KEY_SUPPORT_CONFERENCE_CALL_BOOL
public static final String KEY_SUPPORT_CONFERENCE_CALL_BOOL
Determines whether conference calls are supported by a carrier. When true,
conference calling is supported, false otherwise.
Constant Value: "support_conference_call_bool"
KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL
public static final String KEY_SUPPORT_EMERGENCY_SMS_OVER_IMS_BOOL
Flag indicating whether or not sending emergency SMS messages over IMS is supported when in LTE/limited LTE (Emergency only) service mode..
Constant Value: "support_emergency_sms_over_ims_bool"
KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL
public static final String KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL
For IMS video over LTE calls, determines whether video pause signalling is supported.
Constant Value: "support_pause_ims_video_calls_bool"
KEY_SUPPORT_SWAP_AFTER_MERGE_BOOL
public static final String KEY_SUPPORT_SWAP_AFTER_MERGE_BOOL
After a CDMA conference call is merged, the swap button should be displayed.
Constant Value: "support_swap_after_merge_bool"
KEY_TREAT_DOWNGRADED_VIDEO_CALLS_AS_VIDEO_CALLS_BOOL
public static final String KEY_TREAT_DOWNGRADED_VIDEO_CALLS_AS_VIDEO_CALLS_BOOL
Flag indicating whether some telephony logic will treat a call which was formerly a video
call as if it is still a video call. When true:
Logic which will automatically drop a video call which takes place over WIFI when a
voice call is answered (see KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL.
Logic which determines whether the user can use TTY calling.
Constant Value: "treat_downgraded_video_calls_as_video_calls_bool"
KEY_USE_HFA_FOR_PROVISIONING_BOOL
public static final String KEY_USE_HFA_FOR_PROVISIONING_BOOL
CDMA activation goes through HFA
Constant Value: "use_hfa_for_provisioning_bool"
KEY_USE_OTASP_FOR_PROVISIONING_BOOL
public static final String KEY_USE_OTASP_FOR_PROVISIONING_BOOL
CDMA activation goes through OTASP.
TODO: This should be combined with config_use_hfa_for_provisioning and implemented as an enum (NONE, HFA, OTASP).
Constant Value: "use_otasp_for_provisioning_bool"
KEY_USE_RCS_PRESENCE_BOOL
public static final String KEY_USE_RCS_PRESENCE_BOOL
Flag indicating whether the carrier supports RCS presence indication for video calls. When
true, the carrier supports RCS presence indication for video calls. When presence
is supported, the device should use the
ContactsContract.DataColumns.CARRIER_PRESENCE bit mask and set the
ContactsContract.DataColumns.CARRIER_PRESENCE_VT_CAPABLE bit to indicate
whether each contact supports video calling. The UI is made aware that presence is enabled
via PhoneAccount.CAPABILITY_VIDEO_CALLING_RELIES_ON_PRESENCE
and can choose to hide or show the video calling icon based on whether a contact supports
video.
Constant Value: "use_rcs_presence_bool"
KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL
public static final String KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL
Determine whether the voicemail notification is persistent in the notification bar. If true, the voicemail notifications cannot be dismissed from the notification bar.
Constant Value: "voicemail_notification_persistent_bool"
KEY_VOICE_PRIVACY_DISABLE_UI_BOOL
public static final String KEY_VOICE_PRIVACY_DISABLE_UI_BOOL
If true, removes the Voice Privacy option from Call Settings
Constant Value: "voice_privacy_disable_ui_bool"
KEY_VOLTE_REPLACEMENT_RAT_INT
public static final String KEY_VOLTE_REPLACEMENT_RAT_INT
If Voice Radio Technology is RIL_RADIO_TECHNOLOGY_LTE:14 or RIL_RADIO_TECHNOLOGY_UNKNOWN:0 this is the value that should be used instead. A configuration value of RIL_RADIO_TECHNOLOGY_UNKNOWN:0 means there is no replacement value and that the default assumption for phone type (GSM) should be used.
Constant Value: "volte_replacement_rat_int"
KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL
public static final String KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL
Whether cellular data is required to access visual voicemail.
Constant Value: "vvm_cellular_data_required_bool"
KEY_VVM_CLIENT_PREFIX_STRING
public static final String KEY_VVM_CLIENT_PREFIX_STRING
The default OMTP visual voicemail client prefix to use. Defaulted to "//VVM"
Constant Value: "vvm_client_prefix_string"
KEY_VVM_DESTINATION_NUMBER_STRING
public static final String KEY_VVM_DESTINATION_NUMBER_STRING
The carrier number mobile outgoing (MO) sms messages are sent to.
Constant Value: "vvm_destination_number_string"
KEY_VVM_DISABLED_CAPABILITIES_STRING_ARRAY
public static final String KEY_VVM_DISABLED_CAPABILITIES_STRING_ARRAY
A set of capabilities that should not be used even if it is reported by the visual voicemail IMAP CAPABILITY command.
Constant Value: "vvm_disabled_capabilities_string_array"
KEY_VVM_LEGACY_MODE_ENABLED_BOOL
public static final String KEY_VVM_LEGACY_MODE_ENABLED_BOOL
Whether legacy mode should be used when the visual voicemail client is disabled.
Legacy mode is a mode that on the carrier side visual voicemail is still activated, but on the client side all network operations are disabled. SMSs are still monitored so a new message SYNC SMS will be translated to show a message waiting indicator, like traditional voicemails.
This is for carriers that does not support VVM deactivation so voicemail can continue to function without the data cost.
Constant Value: "vvm_legacy_mode_enabled_bool"
KEY_VVM_PORT_NUMBER_INT
public static final String KEY_VVM_PORT_NUMBER_INT
The port through which the mobile outgoing (MO) sms messages are sent through.
Constant Value: "vvm_port_number_int"
KEY_VVM_PREFETCH_BOOL
public static final String KEY_VVM_PREFETCH_BOOL
Whether to prefetch audio data on new voicemail arrival, defaulted to true.
Constant Value: "vvm_prefetch_bool"
KEY_VVM_SSL_ENABLED_BOOL
public static final String KEY_VVM_SSL_ENABLED_BOOL
Whether to use SSL to connect to the visual voicemail IMAP server. Defaulted to false.
Constant Value: "vvm_ssl_enabled_bool"
KEY_VVM_TYPE_STRING
public static final String KEY_VVM_TYPE_STRING
The type of visual voicemail protocol the carrier adheres to. See TelephonyManager
for possible values. For example TelephonyManager#VVM_TYPE_OMTP.
Constant Value: "vvm_type_string"
KEY_WORLD_PHONE_BOOL
public static final String KEY_WORLD_PHONE_BOOL
Flag indicating if the phone is a world phone
Constant Value: "world_phone_bool"
Public methods
getConfig
public PersistableBundle getConfig ()
Gets the configuration values for the default subscription. After using this method to get
the configuration bundle, isConfigForIdentifiedCarrier(android.os.PersistableBundle) should be
called to confirm whether any carrier specific configuration has been applied.
Requires Permission:
READ_PHONE_STATE
| Returns | |
|---|---|
PersistableBundle |
This value may be null. |
See also:
getConfigForSubId
public PersistableBundle getConfigForSubId (int subId)
Gets the configuration values for a particular subscription, which is associated with a
specific SIM card. If an invalid subId is used, the returned config will contain default
values. After using this method to get the configuration bundle,
isConfigForIdentifiedCarrier(android.os.PersistableBundle) should be called to confirm whether
any carrier specific configuration has been applied.
Requires Permission:
READ_PHONE_STATE
| Parameters | |
|---|---|
subId |
int: the subscription ID, normally obtained from SubscriptionManager. |
| Returns | |
|---|---|
PersistableBundle |
A PersistableBundle containing the config for the given subId, or default
values for an invalid subId.
This value may be null. |
isConfigForIdentifiedCarrier
public static boolean isConfigForIdentifiedCarrier (PersistableBundle bundle)
Determines whether a configuration PersistableBundle obtained from
getConfig() or getConfigForSubId(int) corresponds to an identified carrier.
When an app receives the CarrierConfigManager#ACTION_CARRIER_CONFIG_CHANGED
broadcast which informs it that the carrier configuration has changed, it is possible
that another reload of the carrier configuration has begun since the intent was sent.
In this case, the carrier configuration the app fetches (e.g. via getConfig())
may not represent the configuration for the current carrier. It should be noted that it
does not necessarily mean the configuration belongs to current carrier when this function
return true because it may belong to another previous identified carrier. Users should
always call getConfig() or getConfigForSubId(int) after receiving the
broadcast ACTION_CARRIER_CONFIG_CHANGED.
After using getConfig() or getConfigForSubId(int) an app should always
use this method to confirm whether any carrier specific configuration has been applied.
Especially when an app misses the broadcast ACTION_CARRIER_CONFIG_CHANGED but it
still needs to get the current configuration, it must use this method to verify whether the
configuration is default or carrier overridden.
| Parameters | |
|---|---|
bundle |
PersistableBundle: the configuration bundle to be checked. |
| Returns | |
|---|---|
boolean |
boolean true if any carrier specific configuration bundle has been applied, false otherwise or the bundle is null. |
notifyConfigChangedForSubId
public void notifyConfigChangedForSubId (int subId)
Calling this method triggers telephony services to fetch the current carrier configuration.
Normally this does not need to be called because the platform reloads config on its own. This should be called by a carrier service app if it wants to update config at an arbitrary moment.
Requires that the calling app has carrier privileges.
This method returns before the reload has completed, and
CarrierService.onLoadConfig(CarrierIdentifier) will be called from an
arbitrary thread.
| Parameters | |
|---|---|
subId |
int |
See also: