public static final class Settings.Global extends Settings.NameValueTable
Modifier and Type | Field and Description |
---|---|
static String |
ADB_ENABLED
Whether ADB is enabled.
|
static String |
ADD_USERS_WHEN_LOCKED
Whether users are allowed to add more users or guest from lockscreen.
|
static String |
AIRPLANE_MODE_ON
Whether Airplane Mode is on.
|
static String |
AIRPLANE_MODE_RADIOS
A comma separated list of radios that need to be disabled when airplane mode
is on.
|
static String |
AIRPLANE_MODE_TOGGLEABLE_RADIOS
A comma separated list of radios that should to be disabled when airplane mode
is on, but can be manually reenabled by the user.
|
static String |
ALARM_MANAGER_CONSTANTS
Alarm manager specific settings.
|
static String |
ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED
Allows switching users when system user is locked.
|
static String |
ALWAYS_FINISH_ACTIVITIES
If not 0, the activity manager will aggressively finish activities and
processes as soon as they are no longer needed.
|
static String |
ANIMATOR_DURATION_SCALE
Scaling factor for Animator-based animations.
|
static String |
APN_DB_UPDATE_CONTENT_URL
URL for apn_db updates
|
static String |
APN_DB_UPDATE_METADATA_URL
URL for apn_db update metadata
|
static String |
APP_IDLE_CONSTANTS
App standby (app idle) specific settings.
|
static String |
ASSISTED_GPS_ENABLED
Whether assisted GPS should be enabled or not.
|
static String |
AUDIO_SAFE_VOLUME_STATE
Persisted safe headphone volume management state by AudioService
|
static String |
AUTO_TIME
Value to specify if the user prefers the date, time and time zone
to be automatically fetched from the network (NITZ). 1=yes, 0=no
|
static String |
AUTO_TIME_ZONE
Value to specify if the user prefers the time zone
to be automatically fetched from the network (NITZ). 1=yes, 0=no
|
static String |
BATTERY_DISCHARGE_DURATION_THRESHOLD
Threshold values for the duration and level of a discharge cycle,
under which we log discharge cycle info.
|
static String |
BATTERY_DISCHARGE_THRESHOLD |
static String |
BLE_SCAN_ALWAYS_AVAILABLE
Settings to allow BLE scans to be enabled even when Bluetooth is turned off for
connectivity.
|
static String |
BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX |
static String |
BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX |
static String |
BLUETOOTH_DISABLED_PROFILES
A Long representing a bitmap of profiles that should be disabled when bluetooth starts.
|
static String |
BLUETOOTH_HEADSET_PRIORITY_PREFIX |
static String |
BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX |
static String |
BLUETOOTH_INTEROPERABILITY_LIST
A semi-colon separated list of Bluetooth interoperability workarounds.
|
static String |
BLUETOOTH_MAP_PRIORITY_PREFIX |
static String |
BLUETOOTH_ON
Whether bluetooth is enabled/disabled
0=disabled. 1=enabled.
|
static String |
BLUETOOTH_PBAP_CLIENT_PRIORITY_PREFIX |
static String |
BLUETOOTH_SAP_PRIORITY_PREFIX |
static String |
BOOT_COUNT
Boot count since the device starts running APK level 24.
|
static String |
BUGREPORT_IN_POWER_MENU
When the user has enable the option to have a "bug report" command
in the power menu.
|
static String |
CALL_AUTO_RETRY
CDMA only settings
Whether the auto retry is enabled.
|
static String |
CAPTIVE_PORTAL_DETECTION_ENABLED
Setting to turn off captive portal detection.
|
static String |
CAPTIVE_PORTAL_FALLBACK_URL
The URL used for fallback HTTP captive portal detection when previous HTTP
and HTTPS captive portal detection attemps did not return a conclusive answer.
|
static String |
CAPTIVE_PORTAL_HTTP_URL
The URL used for HTTP captive portal detection upon a new connection.
|
static String |
CAPTIVE_PORTAL_HTTPS_URL
The URL used for HTTPS captive portal detection upon a new connection.
|
static String |
CAPTIVE_PORTAL_SERVER
The server used for captive portal detection upon a new conection.
|
static String |
CAPTIVE_PORTAL_USE_HTTPS
Whether to use HTTPS for network validation.
|
static String |
CAPTIVE_PORTAL_USER_AGENT
Which User-Agent string to use in the header of the captive portal detection probes.
|
static String |
CAR_DOCK_SOUND
URI for the car dock "in" event sound.
|
static String |
CAR_UNDOCK_SOUND
URI for the car dock "out" event sound.
|
static String |
CARRIER_APP_WHITELIST
List of carrier apps which are whitelisted to prompt the user for install when
a sim card with matching uicc carrier privilege rules is inserted.
|
static String |
CDMA_CELL_BROADCAST_SMS
CDMA Cell Broadcast SMS
0 = CDMA Cell Broadcast SMS disabled
1 = CDMA Cell Broadcast SMS enabled
|
static String |
CDMA_ROAMING_MODE
The CDMA roaming mode 0 = Home Networks, CDMA default
1 = Roaming on Affiliated networks
2 = Roaming on any networks
|
static String |
CDMA_SUBSCRIPTION_MODE
The CDMA subscription mode 0 = RUIM/SIM (default)
1 = NV
|
static String |
CELL_ON
Whether cell is enabled/disabled
|
static String |
CERT_PIN_UPDATE_CONTENT_URL
URL for cert pinlist updates
|
static String |
CERT_PIN_UPDATE_METADATA_URL
URL for cert pinlist updates
|
static String |
CHARGING_SOUNDS_ENABLED
Whether to play a sound for charging events.
|
static String |
COMPATIBILITY_MODE
If 0, the compatibility mode is off for all applications.
|
static String |
CONNECTIVITY_CHANGE_DELAY
The number of milliseconds to delay before sending out
ConnectivityManager.CONNECTIVITY_ACTION broadcasts. |
static String |
CONNECTIVITY_SAMPLING_INTERVAL_IN_SECONDS
Network sampling interval, in seconds.
|
static String |
CONTACT_METADATA_SYNC
Deprecated.
|
static String |
CONTACT_METADATA_SYNC_ENABLED
Whether to enable contacts metadata syncing or not
The value 1 - enable, 0 - disable
|
static Uri |
CONTENT_URI
The content:// style URL for global secure settings items.
|
static String |
DATA_ACTIVITY_TIMEOUT_MOBILE
Inactivity timeout to track mobile data activity.
|
static String |
DATA_ACTIVITY_TIMEOUT_WIFI
Timeout to tracking Wifi data activity.
|
static String |
DATA_ROAMING
Whether or not data roaming is enabled. (0 = false, 1 = true)
|
static String |
DATA_STALL_ALARM_AGGRESSIVE_DELAY_IN_MS
The number of milliseconds to delay when checking for data stalls during
aggressive detection.
|
static String |
DATA_STALL_ALARM_NON_AGGRESSIVE_DELAY_IN_MS
The number of milliseconds to delay when checking for data stalls during
non-aggressive detection.
|
static String |
DATABASE_DOWNGRADE_REASON
The reason for the settings database being downgraded.
|
static String |
DEBUG_APP
Name of an application package to be debugged.
|
static String |
DEBUG_VIEW_ATTRIBUTES
Whether Views are allowed to save their attribute data.
|
static String |
DEFAULT_DNS_SERVER
Setting for default DNS in case nobody suggests one
|
static String |
DEFAULT_INSTALL_LOCATION
Default install location value.
0 = auto, let system decide
1 = internal
2 = sdcard
|
static String |
DESK_DOCK_SOUND
URI for the desk dock "in" event sound.
|
static String |
DESK_UNDOCK_SOUND
URI for the desk dock "out" event sound.
|
static String |
DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT
Whether to enable experimental freeform support for windows.
|
static String |
DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES
Whether any activity can be resized.
|
static String |
DEVELOPMENT_FORCE_RTL
Developer setting to force RTL layout.
|
static String |
DEVELOPMENT_SETTINGS_ENABLED
Whether user has enabled development settings.
|
static String |
DEVICE_DEMO_MODE
Whether this device is currently in retail demo mode.
|
static String |
DEVICE_IDLE_CONSTANTS
Device Idle (Doze) specific settings.
|
static String |
DEVICE_IDLE_CONSTANTS_WATCH
Device Idle (Doze) specific settings for watches.
|
static String |
DEVICE_NAME
The name of the device
|
static String |
DEVICE_PROVISIONED
Whether the device has been provisioned (0 = false, 1 = true).
|
static String |
DEVICE_PROVISIONING_MOBILE_DATA_ENABLED
Whether mobile data should be allowed while the device is being provisioned.
|
static String |
DISK_FREE_CHANGE_REPORTING_THRESHOLD
Threshold for the amount of change in disk free space required to
report the amount of free space.
|
static String |
DISPLAY_SCALING_FORCE
The saved value for WindowManagerService.setForcedDisplayScalingMode().
0 or unset if scaling is automatic, 1 if scaling is disabled.
|
static String |
DISPLAY_SIZE_FORCED
The saved value for WindowManagerService.setForcedDisplaySize().
|
static String |
DNS_RESOLVER_MAX_SAMPLES
Maximum number taken into account for statistics purposes in the system DNS resolver.
|
static String |
DNS_RESOLVER_MIN_SAMPLES
Minimum number of samples needed for statistics to be considered meaningful in the
system DNS resolver.
|
static String |
DNS_RESOLVER_SAMPLE_VALIDITY_SECONDS
Sample validity in seconds to configure for the system DNS resolver.
|
static String |
DNS_RESOLVER_SUCCESS_THRESHOLD_PERCENT
Success threshold in percent for use with the system DNS resolver.
|
static String |
DOCK_AUDIO_MEDIA_ENABLED
Use Dock audio output for media:
0 = disabled
1 = enabled
|
static String |
DOCK_SOUNDS_ENABLED
Whether to play a sound for dock events.
|
static String |
DOWNLOAD_MAX_BYTES_OVER_MOBILE
The maximum size, in bytes, of a download that the download manager will transfer over
a non-wifi connection.
|
static String |
DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE
The recommended maximum size, in bytes, of a download that the download manager should
transfer over a non-wifi connection.
|
static String |
DROPBOX_AGE_SECONDS
Maximum age of entries kept by
DropBoxManager . |
static String |
DROPBOX_MAX_FILES
Maximum number of entry files which
DropBoxManager will keep
around. |
static String |
DROPBOX_QUOTA_KB
Maximum amount of disk space used by
DropBoxManager no matter
what. |
static String |
DROPBOX_QUOTA_PERCENT
Percent of free disk (excluding reserve) which
DropBoxManager
will use. |
static String |
DROPBOX_RESERVE_PERCENT
Percent of total disk which
DropBoxManager will never dip
into. |
static String |
DROPBOX_TAG_PREFIX
Prefix for per-tag dropbox disable/enable settings.
|
static String |
EMERGENCY_AFFORDANCE_NEEDED
A setting that can be read whether the emergency affordance is currently needed.
|
static String |
EMERGENCY_TONE
CDMA only settings
Emergency Tone 0 = Off
1 = Alert
2 = Vibrate
|
static String |
ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED
Setting whether the global gesture for enabling accessibility is enabled.
|
static String |
ENABLE_CELLULAR_ON_BOOT
Whether to enable cellular on boot.
|
static String |
ENABLE_EPHEMERAL_FEATURE
Toggle to enable/disable the entire ephemeral feature.
|
static String |
ENCODED_SURROUND_OUTPUT
Set to ENCODED_SURROUND_OUTPUT_AUTO,
ENCODED_SURROUND_OUTPUT_NEVER or
ENCODED_SURROUND_OUTPUT_ALWAYS
|
static int |
ENCODED_SURROUND_OUTPUT_ALWAYS
AC3, DTS or IEC61937 are ALWAYS available, even if they
are not detected by the hardware.
|
static int |
ENCODED_SURROUND_OUTPUT_AUTO
The surround sound formats AC3, DTS or IEC61937 are
available for use if they are detected.
|
static int |
ENCODED_SURROUND_OUTPUT_NEVER
AC3, DTS or IEC61937 are NEVER available, even if they
are detected by the hardware.
|
static String |
ENHANCED_4G_MODE_ENABLED
Whether the Volte is enabled
Type: int (0 for false, 1 for true)
|
static String |
EPHEMERAL_COOKIE_MAX_SIZE_BYTES
Ephemeral app cookie max size in bytes.
|
static String |
EPHEMERAL_HASH_PREFIX_COUNT
Number of hash prefixes to send during ephemeral resolution.
|
static String |
EPHEMERAL_HASH_PREFIX_MASK
A mask applied to the ephemeral hash to generate the hash prefix.
|
static String |
ERROR_LOGCAT_PREFIX
Lines of logcat to include with system crash/ANR/etc. reports, as a
prefix of the dropbox tag of the report type.
|
static String |
FANCY_IME_ANIMATIONS
Scaling factor for normal window animations.
|
static String |
FORCE_ALLOW_ON_EXTERNAL
Whether any package can be on external storage.
|
static String |
FSTRIM_MANDATORY_INTERVAL
Time since last fstrim (milliseconds) after which we force one to happen
during device startup.
|
static String |
GLOBAL_HTTP_PROXY_EXCLUSION_LIST
Exclusion list for global proxy.
|
static String |
GLOBAL_HTTP_PROXY_HOST
Host name for global http proxy.
|
static String |
GLOBAL_HTTP_PROXY_PAC
The location PAC File for the proxy.
|
static String |
GLOBAL_HTTP_PROXY_PORT
Integer host port for global http proxy.
|
static String |
GPRS_REGISTER_CHECK_PERIOD_MS
The interval in milliseconds at which to check gprs registration
after the first registration mismatch of gprs and voice service,
to detect possible data network registration problems.
|
static String |
HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED
Whether TV will also turn off other CEC devices when it goes to standby mode
|
static String |
HDMI_CONTROL_AUTO_WAKEUP_ENABLED
Whether TV will automatically turn on upon reception of the CEC command
<Text View On> or <Image View On>. (0 = false, 1 = true)
|
static String |
HDMI_CONTROL_ENABLED
Whether HDMI control shall be enabled.
|
static String |
HDMI_SYSTEM_AUDIO_ENABLED
Whether HDMI system audio is enabled.
|
static String |
HEADS_UP_NOTIFICATIONS_ENABLED
Defines global heads up toggle.
|
static int |
HEADS_UP_OFF |
static int |
HEADS_UP_ON |
static String |
HTTP_PROXY
Host name and port for global http proxy.
|
static String |
INET_CONDITION_DEBOUNCE_DOWN_DELAY
ms during which to consume extra events related to Inet connection
condtion after a transtion to partly-connected
|
static String |
INET_CONDITION_DEBOUNCE_UP_DELAY
ms during which to consume extra events related to Inet connection
condition after a transtion to fully-connected
|
static String |
INSTALL_NON_MARKET_APPS
Deprecated.
Use
Settings.Secure.INSTALL_NON_MARKET_APPS instead |
static String |
INTENT_FIREWALL_UPDATE_CONTENT_URL
URL for intent firewall updates
|
static String |
INTENT_FIREWALL_UPDATE_METADATA_URL
URL for intent firewall update metadata
|
static String |
JOB_SCHEDULER_CONSTANTS
Job scheduler specific settings.
|
static String |
LENIENT_BACKGROUND_CHECK |
static String |
LOCK_SOUND
URI for the "device locked" (keyguard shown) sound.
|
static String |
LOW_BATTERY_SOUND
URI for the low battery sound file.
|
static String |
LOW_BATTERY_SOUND_TIMEOUT
Milliseconds after screen-off after which low battery sounds will be silenced.
|
static String |
LOW_POWER_MODE
If 1 low power mode is enabled.
|
static String |
LOW_POWER_MODE_TRIGGER_LEVEL
Battery level [1-99] at which low power mode automatically turns on.
|
static String |
LTE_SERVICE_FORCED
Whether user can enable/disable LTE as a preferred network.
|
static String |
MAX_NOTIFICATION_ENQUEUE_RATE
The maximum allowed notification enqueue rate in Hertz.
|
static String |
MDC_INITIAL_MAX_RETRY
The value passed to a Mobile DataConnection via bringUp which defines the
number of retries to preform when setting up the initial connection.
|
static String |
MHL_INPUT_SWITCHING_ENABLED
Whether TV will switch to MHL port when a mobile device is plugged in
|
static String |
MHL_POWER_CHARGE_ENABLED
Whether TV will charge the mobile device connected at MHL port. (0 = false, 1 = true)
|
static String |
MOBILE_DATA
Whether mobile data connections are allowed by the user.
|
static String |
MOBILE_DATA_ALWAYS_ON
Whether the mobile data connection should remain active even when higher
priority networks like WiFi are active, to help make network switching faster.
|
static String |
MODE_RINGER
Ringer mode.
|
static String |
MULTI_SIM_DATA_CALL_SUBSCRIPTION
Subscription to be used for data call on a multi sim device.
|
static String |
MULTI_SIM_SMS_PROMPT
Used to provide option to user to select subscription during send SMS.
|
static String |
MULTI_SIM_SMS_SUBSCRIPTION
Subscription to be used for SMS on a multi sim device.
|
static String[] |
MULTI_SIM_USER_PREFERRED_SUBS
User preferred subscriptions setting.
|
static String |
MULTI_SIM_VOICE_CALL_SUBSCRIPTION
Subscription to be used for voice call on a multi sim device.
|
static String |
MULTI_SIM_VOICE_PROMPT
Used to provide option to user to select subscription during dial.
|
static String |
NETSTATS_DEV_BUCKET_DURATION |
static String |
NETSTATS_DEV_DELETE_AGE |
static String |
NETSTATS_DEV_PERSIST_BYTES |
static String |
NETSTATS_DEV_ROTATE_AGE |
static String |
NETSTATS_ENABLED |
static String |
NETSTATS_GLOBAL_ALERT_BYTES |
static String |
NETSTATS_POLL_INTERVAL |
static String |
NETSTATS_SAMPLE_ENABLED |
static String |
NETSTATS_TIME_CACHE_MAX_AGE |
static String |
NETSTATS_UID_BUCKET_DURATION |
static String |
NETSTATS_UID_DELETE_AGE |
static String |
NETSTATS_UID_PERSIST_BYTES |
static String |
NETSTATS_UID_ROTATE_AGE |
static String |
NETSTATS_UID_TAG_BUCKET_DURATION |
static String |
NETSTATS_UID_TAG_DELETE_AGE |
static String |
NETSTATS_UID_TAG_PERSIST_BYTES |
static String |
NETSTATS_UID_TAG_ROTATE_AGE |
static String |
NETWORK_AVOID_BAD_WIFI
Whether to automatically switch away from wifi networks that lose Internet access.
|
static String |
NETWORK_PREFERENCE
User preference for which network(s) should be used.
|
static String |
NETWORK_SCORER_APP
Which package name to use for network scoring.
|
static String |
NETWORK_SCORING_PROVISIONED
Whether the NetworkScoringService has been first initialized.
|
static String |
NETWORK_SWITCH_NOTIFICATION_DAILY_LIMIT
The maximum number of notifications shown in 24 hours when switching networks.
|
static String |
NETWORK_SWITCH_NOTIFICATION_RATE_LIMIT_MILLIS
The minimum time in milliseconds between notifications when switching networks.
|
static String |
NEW_CONTACT_AGGREGATOR
Whether to enable new contacts aggregator or not.
|
static String |
NITZ_UPDATE_DIFF
If the NITZ_UPDATE_DIFF time is exceeded then an automatic adjustment
to SystemClock will be allowed even if NITZ_UPDATE_SPACING has not been
exceeded.
|
static String |
NITZ_UPDATE_SPACING
The length of time in milli-seconds that automatic small adjustments to
SystemClock are ignored if NITZ_UPDATE_DIFF is not exceeded.
|
static String |
NSD_ON
Whether network service discovery is enabled.
|
static String |
NTP_SERVER
Preferred NTP server.
|
static String |
NTP_TIMEOUT
Timeout in milliseconds to wait for NTP server.
|
static String |
OTA_DISABLE_AUTOMATIC_UPDATE
Whether to disable the automatic scheduling of system updates.
1 = system updates won't be automatically scheduled (will always
present notification instead).
0 = system updates will be automatically scheduled.
|
static String |
OVERLAY_DISPLAY_DEVICES
Overlay display devices setting.
|
static String |
PAC_CHANGE_DELAY
The series of successively longer delays used in retrying to download PAC file.
|
static String |
PACKAGE_VERIFIER_DEFAULT_RESPONSE
Default response code for package verification.
|
static String |
PACKAGE_VERIFIER_ENABLE
Whether the package manager should send package verification broadcasts for verifiers to
review apps prior to installation.
1 = request apps to be verified prior to installation, if a verifier exists.
0 = do not verify apps before installation
|
static String |
PACKAGE_VERIFIER_INCLUDE_ADB
Run package verification on apps installed through ADB/ADT/USB
1 = perform package verification on ADB installs (default)
0 = bypass package verification on ADB installs
|
static String |
PACKAGE_VERIFIER_SETTING_VISIBLE
Show package verification setting in the Settings app.
1 = show (default)
0 = hide
|
static String |
PACKAGE_VERIFIER_TIMEOUT
Timeout for package verification.
|
static String |
PDP_WATCHDOG_ERROR_POLL_COUNT
The number of polls to perform (at
PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS )
after hitting PDP_WATCHDOG_TRIGGER_PACKET_COUNT before
attempting data connection recovery. |
static String |
PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS
The interval in milliseconds at which to check packet counts on the
mobile data interface after
PDP_WATCHDOG_TRIGGER_PACKET_COUNT
outgoing packets has been reached without incoming packets. |
static String |
PDP_WATCHDOG_LONG_POLL_INTERVAL_MS
The interval in milliseconds at which to check packet counts on the
mobile data interface when screen is off, to detect possible data
connection problems.
|
static String |
PDP_WATCHDOG_MAX_PDP_RESET_FAIL_COUNT
The number of failed PDP reset attempts before moving to something more
drastic: re-registering to the network.
|
static String |
PDP_WATCHDOG_POLL_INTERVAL_MS
The interval in milliseconds at which to check packet counts on the
mobile data interface when screen is on, to detect possible data
connection problems.
|
static String |
PDP_WATCHDOG_TRIGGER_PACKET_COUNT
The number of outgoing packets sent without seeing an incoming packet
that triggers a countdown (of
PDP_WATCHDOG_ERROR_POLL_COUNT
device is logged to the event log |
static String |
POLICY_CONTROL
Defines global runtime overrides to window policy.
|
static String |
POWER_SOUNDS_ENABLED
Whether to play a sound for low-battery alerts.
|
static String |
PREFERRED_NETWORK_MODE
See RIL_PreferredNetworkType in ril.h
|
static String |
PROVISIONING_APN_ALARM_DELAY_IN_MS
The number of milliseconds to allow the provisioning apn to remain active
|
static String |
RADIO_BLUETOOTH
Constant for use in AIRPLANE_MODE_RADIOS to specify Bluetooth radio.
|
static String |
RADIO_CELL
Constant for use in AIRPLANE_MODE_RADIOS to specify Cellular radio.
|
static String |
RADIO_NFC
Constant for use in AIRPLANE_MODE_RADIOS to specify NFC radio.
|
static String |
RADIO_WIFI
Constant for use in AIRPLANE_MODE_RADIOS to specify Wi-Fi radio.
|
static String |
RADIO_WIMAX |
static String |
READ_EXTERNAL_STORAGE_ENFORCED_DEFAULT |
static String |
REQUIRE_PASSWORD_TO_DECRYPT
Whether the user wants to be prompted for password to decrypt the device on boot.
|
static String |
RETAIL_DEMO_MODE_CONSTANTS
Retail mode specific settings.
|
static String |
SAFE_BOOT_DISALLOWED
Whether the safe boot is disallowed.
|
static String |
SAMPLING_PROFILER_MS
A positive value indicates how often the SamplingProfiler
should take snapshots.
|
static String |
SELINUX_STATUS
SELinux enforcement status.
|
static String |
SELINUX_UPDATE_CONTENT_URL
URL for selinux (mandatory access control) updates
|
static String |
SELINUX_UPDATE_METADATA_URL
URL for selinux (mandatory access control) update metadata
|
static String |
SEND_ACTION_APP_ERROR
Flag for allowing ActivityManagerService to send ACTION_APP_ERROR
intents on application crashes and ANRs.
|
static String |
SET_GLOBAL_HTTP_PROXY
Enables the UI setting to allow the user to specify the global HTTP
proxy and associated exclusion list.
|
static String |
SET_INSTALL_LOCATION
Let user pick default install location.
|
static String[] |
SETTINGS_TO_BACKUP
Settings to backup.
|
static String |
SETUP_PREPAID_DATA_SERVICE_URL
URL to open browser on to allow user to manage a prepay account
|
static String |
SETUP_PREPAID_DETECTION_REDIR_HOST
Host to check for a redirect to after an attempt to GET
SETUP_PREPAID_DETECTION_TARGET_URL.
|
static String |
SETUP_PREPAID_DETECTION_TARGET_URL
URL to attempt a GET on to see if this is a prepay device
|
static String |
SHORTCUT_MANAGER_CONSTANTS
ShortcutManager specific settings.
|
static String |
SHOW_PROCESSES
Deprecated.
This functionality is no longer available as of
Build.VERSION_CODES.N_MR1 . |
static String |
SMS_OUTGOING_CHECK_INTERVAL_MS
The interval in milliseconds at which to check the number of SMS sent out without asking
for use permit, to limit the un-authorized SMS usage.
|
static String |
SMS_OUTGOING_CHECK_MAX_COUNT
The number of outgoing SMS sent without asking for user permit (of
SMS_OUTGOING_CHECK_INTERVAL_MS |
static String |
SMS_SHORT_CODE_CONFIRMATION
Used to disable SMS short code confirmation - defaults to true.
|
static String |
SMS_SHORT_CODE_RULE
Used to select which country we use to determine premium sms codes.
|
static String |
SMS_SHORT_CODES_UPDATE_CONTENT_URL
URL for sms short code updates
|
static String |
SMS_SHORT_CODES_UPDATE_METADATA_URL
URL for sms short code update metadata
|
static String |
STAY_ON_WHILE_PLUGGED_IN
Whether we keep the device on while the device is plugged in.
|
static String |
STORAGE_BENCHMARK_INTERVAL |
static String |
SYNC_MAX_RETRY_DELAY_IN_SECONDS
The maximum reconnect delay for short network outages or when the
network is suspended due to phone use.
|
static String |
SYS_FREE_STORAGE_LOG_INTERVAL
The interval in minutes after which the amount of free storage left
on the device is logged to the event log
|
static String |
SYS_STORAGE_FULL_THRESHOLD_BYTES
Minimum bytes of free storage on the device before the data partition
is considered full.
|
static String |
SYS_STORAGE_THRESHOLD_MAX_BYTES
Maximum byte size of the low storage threshold.
|
static String |
SYS_STORAGE_THRESHOLD_PERCENTAGE
Minimum percentage of free storage on the device that is used to
determine if the device is running low on storage.
|
static String |
TCP_DEFAULT_INIT_RWND
Used to select TCP's default initial receiver window size in segments - defaults to a build config value
|
static String |
TETHER_DUN_APN
Used to hold a gservices-provisioned apn value for DUN.
|
static String |
TETHER_DUN_REQUIRED
Used to require DUN APN on the device or not - defaults to a build config value
which defaults to false
|
static String |
TETHER_SUPPORTED
Used to disable Tethering on a device - defaults to true
|
static String |
THEATER_MODE_ON
Whether Theater Mode is on.
|
static String |
TRANSITION_ANIMATION_SCALE
Scaling factor for activity transition animations.
|
static String |
TRUSTED_SOUND
URI for the "device is trusted" sound, which is played when the device enters the trusted
state without unlocking.
|
static String |
TZINFO_UPDATE_CONTENT_URL
URL for tzinfo (time zone) updates
|
static String |
TZINFO_UPDATE_METADATA_URL
URL for tzinfo (time zone) update metadata
|
static String |
UNINSTALLED_EPHEMERAL_APP_CACHE_DURATION_MILLIS
The duration for caching uninstalled ephemeral apps.
|
static String |
UNLOCK_SOUND
URI for the "device unlocked" sound.
|
static String |
USB_MASS_STORAGE_ENABLED
USB Mass Storage Enabled
|
static String |
USE_GOOGLE_MAIL
If this setting is set (to anything), then all references
to Gmail on the device must change to Google Mail.
|
static String |
VT_IMS_ENABLED
Whether VT (Video Telephony over IMS) is enabled
Type: int (0 for false, 1 for true)
|
static String |
WAIT_FOR_DEBUGGER
If 1, when launching DEBUG_APP it will wait for the debugger before
starting user code.
|
static String |
WEBVIEW_DATA_REDUCTION_PROXY_KEY
Webview Data reduction proxy key.
|
static String |
WEBVIEW_FALLBACK_LOGIC_ENABLED
Whether or not the WebView fallback mechanism should be enabled.
0=disabled, 1=enabled.
|
static String |
WEBVIEW_MULTIPROCESS
Developer setting to enable WebView multiprocess rendering.
|
static String |
WEBVIEW_PROVIDER
Name of the package used as WebView provider (if unset the provider is instead determined
by the system).
|
static String |
WFC_IMS_ENABLED
Whether WFC is enabled
Type: int (0 for false, 1 for true)
|
static String |
WFC_IMS_MODE
WFC mode on home/non-roaming network.
|
static String |
WFC_IMS_ROAMING_ENABLED
Whether WFC roaming is enabled
Type: int (0 for false, 1 for true)
|
static String |
WFC_IMS_ROAMING_MODE
WFC mode on roaming network.
|
static String |
WIFI_BOUNCE_DELAY_OVERRIDE_MS
Milliseconds to wait before bouncing Wi-Fi after settings is restored.
|
static String |
WIFI_COUNTRY_CODE
802.11 country code in ISO 3166 format
|
static String |
WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN
This setting controls whether WiFi configurations created by a Device Owner app
should be locked down (that is, be editable or removable only by the Device Owner App,
not even by Settings app).
|
static String |
WIFI_DISPLAY_CERTIFICATION_ON
Whether Wifi display certification mode is enabled/disabled
0=disabled. 1=enabled.
|
static String |
WIFI_DISPLAY_ON
Whether Wifi display is enabled/disabled
0=disabled. 1=enabled.
|
static String |
WIFI_DISPLAY_WPS_CONFIG
WPS Configuration method used by Wifi display, this setting only
takes effect when WIFI_DISPLAY_CERTIFICATION_ON is 1 (enabled).
|
static String |
WIFI_ENHANCED_AUTO_JOIN
whether frameworks handles wifi auto-join
|
static String |
WIFI_EPHEMERAL_OUT_OF_RANGE_TIMEOUT_MS
Timeout for ephemeral networks when all known BSSIDs go out of range.
|
static String |
WIFI_FRAMEWORK_SCAN_INTERVAL_MS
The interval in milliseconds to issue wake up scans when wifi needs
to connect.
|
static String |
WIFI_FREQUENCY_BAND
The operational wifi frequency band
Set to one of
WifiManager.WIFI_FREQUENCY_BAND_AUTO ,
WifiManager.WIFI_FREQUENCY_BAND_5GHZ or
WifiManager.WIFI_FREQUENCY_BAND_2GHZ |
static String |
WIFI_IDLE_MS
The interval in milliseconds after which Wi-Fi is considered idle.
|
static String |
WIFI_MAX_DHCP_RETRY_COUNT
The maximum number of times we will retry a connection to an access
point for which we have failed in acquiring an IP address from DHCP.
|
static String |
WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
Maximum amount of time in milliseconds to hold a wakelock while waiting for mobile
data connectivity to be established after a disconnect from Wi-Fi.
|
static String |
WIFI_NETWORK_SHOW_RSSI
whether settings show RSSI
|
static String |
WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
Whether to notify the user of open networks.
|
static String |
WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
Delay (in seconds) before repeating the Wi-Fi networks available notification.
|
static String |
WIFI_NUM_OPEN_NETWORKS_KEPT
When the number of open networks exceeds this number, the
least-recently-used excess networks will be removed.
|
static String |
WIFI_ON
Whether the Wi-Fi should be on.
|
static String |
WIFI_P2P_DEVICE_NAME
The Wi-Fi peer-to-peer device name
|
static String |
WIFI_REENABLE_DELAY_MS
The min time between wifi disable and wifi enable
|
static String |
WIFI_SAVED_STATE
Used to save the Wifi_ON state prior to tethering.
|
static String |
WIFI_SCAN_ALWAYS_AVAILABLE
Setting to allow scans to be enabled even wifi is turned off for connectivity.
|
static String |
WIFI_SCAN_INTERVAL_WHEN_P2P_CONNECTED_MS
The interval in milliseconds to scan at supplicant when p2p is connected
|
static String |
WIFI_SLEEP_POLICY
The policy for deciding when Wi-Fi should go to sleep (which will in
turn switch to using the mobile data as an Internet connection).
|
static int |
WIFI_SLEEP_POLICY_DEFAULT
Value for
WIFI_SLEEP_POLICY to use the default Wi-Fi sleep
policy, which is to sleep shortly after the turning off
according to the STAY_ON_WHILE_PLUGGED_IN setting. |
static int |
WIFI_SLEEP_POLICY_NEVER
Value for
WIFI_SLEEP_POLICY to never go to sleep. |
static int |
WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
Value for
WIFI_SLEEP_POLICY to use the default policy when
the device is on battery, and never go to sleep when the device is
plugged in. |
static String |
WIFI_SUPPLICANT_SCAN_INTERVAL_MS
The interval in milliseconds to scan as used by the wifi supplicant
|
static String |
WIFI_SUSPEND_OPTIMIZATIONS_ENABLED
Setting to turn on suspend optimizations at screen off on Wi-Fi.
|
static String |
WIFI_VERBOSE_LOGGING_ENABLED
Setting to enable verbose logging in Wi-Fi; disabled by default, and setting to 1
will enable it.
|
static String |
WIFI_WATCHDOG_ON
Whether the Wi-Fi watchdog is enabled.
|
static String |
WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED
Setting to turn off poor network avoidance on Wi-Fi.
|
static String |
WIMAX_NETWORKS_AVAILABLE_NOTIFICATION_ON |
static String |
WINDOW_ANIMATION_SCALE
Scaling factor for normal window animations.
|
static String |
WIRELESS_CHARGING_STARTED_SOUND
URI for the "wireless charging started" sound.
|
static String |
WTF_IS_FATAL
Nonzero causes Log.wtf() to crash.
|
static String |
ZEN_MODE
Defines global zen mode.
|
static int |
ZEN_MODE_ALARMS |
static String |
ZEN_MODE_CONFIG_ETAG
Opaque value, changes when persisted zen mode configuration changes.
|
static int |
ZEN_MODE_IMPORTANT_INTERRUPTIONS |
static int |
ZEN_MODE_NO_INTERRUPTIONS |
static int |
ZEN_MODE_OFF |
static String |
ZEN_MODE_RINGER_LEVEL
Value of the ringer before entering zen mode.
|
NAME, VALUE
_COUNT, _ID
Constructor and Description |
---|
Global() |
Modifier and Type | Method and Description |
---|---|
static String |
getBluetoothA2dpSinkPriorityKey(String address)
Get the key that retrieves a bluetooth a2dp sink's priority.
|
static String |
getBluetoothA2dpSrcPriorityKey(String address)
Get the key that retrieves a bluetooth a2dp src's priority.
|
static String |
getBluetoothHeadsetPriorityKey(String address)
Get the key that retrieves a bluetooth headset's priority.
|
static String |
getBluetoothInputDevicePriorityKey(String address)
Get the key that retrieves a bluetooth Input Device's priority.
|
static String |
getBluetoothMapPriorityKey(String address)
Get the key that retrieves a bluetooth map priority.
|
static String |
getBluetoothPbapClientPriorityKey(String address)
Get the key that retrieves a bluetooth pbap client priority.
|
static String |
getBluetoothSapPriorityKey(String address)
Get the key that retrieves a bluetooth map priority.
|
static float |
getFloat(ContentResolver cr,
String name)
Convenience function for retrieving a single secure settings value
as a float.
|
static float |
getFloat(ContentResolver cr,
String name,
float def)
Convenience function for retrieving a single secure settings value
as a floating point number.
|
static int |
getInt(ContentResolver cr,
String name)
Convenience function for retrieving a single secure settings value
as an integer.
|
static int |
getInt(ContentResolver cr,
String name,
int def)
Convenience function for retrieving a single secure settings value
as an integer.
|
static long |
getLong(ContentResolver cr,
String name)
Convenience function for retrieving a single secure settings value
as a
long . |
static long |
getLong(ContentResolver cr,
String name,
long def)
Convenience function for retrieving a single secure settings value
as a
long . |
static void |
getMovedToSecureSettings(Set<String> outKeySet) |
static String |
getString(ContentResolver resolver,
String name)
Look up a name in the database.
|
static String |
getStringForUser(ContentResolver resolver,
String name,
int userHandle) |
static Uri |
getUriFor(String name)
Construct the content URI for a particular name/value pair,
useful for monitoring changes with a ContentObserver.
|
static boolean |
isValidZenMode(int value) |
static boolean |
putFloat(ContentResolver cr,
String name,
float value)
Convenience function for updating a single settings value as a
floating point number.
|
static boolean |
putInt(ContentResolver cr,
String name,
int value)
Convenience function for updating a single settings value as an
integer.
|
static boolean |
putLong(ContentResolver cr,
String name,
long value)
Convenience function for updating a secure settings value as a long
integer.
|
static boolean |
putString(ContentResolver resolver,
String name,
String value)
Store a name/value pair into the database.
|
static boolean |
putStringForUser(ContentResolver resolver,
String name,
String value,
int userHandle) |
static String |
zenModeToString(int mode) |
getUriFor, putString
public static final Uri CONTENT_URI
public static final String ADD_USERS_WHEN_LOCKED
Type: int
public static final String ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED
public static final String AIRPLANE_MODE_ON
public static final String THEATER_MODE_ON
public static final String RADIO_BLUETOOTH
public static final String RADIO_WIFI
public static final String RADIO_WIMAX
public static final String RADIO_CELL
public static final String RADIO_NFC
public static final String AIRPLANE_MODE_RADIOS
public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS
public static final String BLUETOOTH_DISABLED_PROFILES
BluetoothProfile
.
public static final String BLUETOOTH_INTEROPERABILITY_LIST
Example:
"00:11:22,0;01:02:03:04,2"
public static final String WIFI_SLEEP_POLICY
Set to one of WIFI_SLEEP_POLICY_DEFAULT
,
WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
, or
WIFI_SLEEP_POLICY_NEVER
.
public static final int WIFI_SLEEP_POLICY_DEFAULT
WIFI_SLEEP_POLICY
to use the default Wi-Fi sleep
policy, which is to sleep shortly after the turning off
according to the STAY_ON_WHILE_PLUGGED_IN
setting.public static final int WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
WIFI_SLEEP_POLICY
to use the default policy when
the device is on battery, and never go to sleep when the device is
plugged in.public static final int WIFI_SLEEP_POLICY_NEVER
WIFI_SLEEP_POLICY
to never go to sleep.public static final String AUTO_TIME
public static final String AUTO_TIME_ZONE
public static final String CAR_DOCK_SOUND
public static final String CAR_UNDOCK_SOUND
public static final String DESK_DOCK_SOUND
public static final String DESK_UNDOCK_SOUND
public static final String DOCK_SOUNDS_ENABLED
public static final String LOCK_SOUND
public static final String UNLOCK_SOUND
public static final String TRUSTED_SOUND
public static final String LOW_BATTERY_SOUND
public static final String POWER_SOUNDS_ENABLED
public static final String WIRELESS_CHARGING_STARTED_SOUND
public static final String CHARGING_SOUNDS_ENABLED
public static final String STAY_ON_WHILE_PLUGGED_IN
0
to never stay on while plugged inBatteryManager.BATTERY_PLUGGED_AC
to stay on for AC chargerBatteryManager.BATTERY_PLUGGED_USB
to stay on for USB chargerBatteryManager.BATTERY_PLUGGED_WIRELESS
to stay on for wireless chargerpublic static final String BUGREPORT_IN_POWER_MENU
public static final String ADB_ENABLED
public static final String DEBUG_VIEW_ATTRIBUTES
public static final String ASSISTED_GPS_ENABLED
public static final String BLUETOOTH_ON
public static final String CDMA_CELL_BROADCAST_SMS
public static final String CDMA_ROAMING_MODE
public static final String CDMA_SUBSCRIPTION_MODE
public static final String DATA_ACTIVITY_TIMEOUT_MOBILE
ACTION_DATA_ACTIVITY_CHANGE
intent is fired to indicate a transition of network status from "active" to "idle". Any
subsequent activity on mobile networks triggers the firing of ACTION_DATA_ACTIVITY_CHANGE
intent indicating transition from "idle" to "active".
Network activity refers to transmitting or receiving data on the network interfaces.
Tracking is disabled if set to zero or negative value.public static final String DATA_ACTIVITY_TIMEOUT_WIFI
DATA_ACTIVITY_TIMEOUT_MOBILE
but for Wifi network.public static final String DATA_ROAMING
public static final String MDC_INITIAL_MAX_RETRY
public static final String FORCE_ALLOW_ON_EXTERNAL
public static final String DEVELOPMENT_FORCE_RESIZABLE_ACTIVITIES
public static final String DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT
public static final String DEVELOPMENT_SETTINGS_ENABLED
public static final String DEVICE_PROVISIONED
On a multiuser device with a separate system user, the screen may be locked as soon as this is set to true and further activities cannot be launched on the system user unless they are marked to show over keyguard.
public static final String DEVICE_PROVISIONING_MOBILE_DATA_ENABLED
public static final String DISPLAY_SIZE_FORCED
public static final String DISPLAY_SCALING_FORCE
public static final String DOWNLOAD_MAX_BYTES_OVER_MOBILE
public static final String DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE
@Deprecated public static final String INSTALL_NON_MARKET_APPS
Settings.Secure.INSTALL_NON_MARKET_APPS
insteadpublic static final String HDMI_CONTROL_ENABLED
public static final String HDMI_SYSTEM_AUDIO_ENABLED
public static final String HDMI_CONTROL_AUTO_WAKEUP_ENABLED
public static final String HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED
public static final String MHL_INPUT_SWITCHING_ENABLED
public static final String MHL_POWER_CHARGE_ENABLED
public static final String MOBILE_DATA
public static final String MOBILE_DATA_ALWAYS_ON
public static final String NETSTATS_ENABLED
public static final String NETSTATS_POLL_INTERVAL
public static final String NETSTATS_TIME_CACHE_MAX_AGE
public static final String NETSTATS_GLOBAL_ALERT_BYTES
public static final String NETSTATS_SAMPLE_ENABLED
public static final String NETSTATS_DEV_BUCKET_DURATION
public static final String NETSTATS_DEV_PERSIST_BYTES
public static final String NETSTATS_DEV_ROTATE_AGE
public static final String NETSTATS_DEV_DELETE_AGE
public static final String NETSTATS_UID_BUCKET_DURATION
public static final String NETSTATS_UID_PERSIST_BYTES
public static final String NETSTATS_UID_ROTATE_AGE
public static final String NETSTATS_UID_DELETE_AGE
public static final String NETSTATS_UID_TAG_BUCKET_DURATION
public static final String NETSTATS_UID_TAG_PERSIST_BYTES
public static final String NETSTATS_UID_TAG_ROTATE_AGE
public static final String NETSTATS_UID_TAG_DELETE_AGE
public static final String NETWORK_PREFERENCE
public static final String NETWORK_SCORER_APP
public static final String NITZ_UPDATE_DIFF
public static final String NITZ_UPDATE_SPACING
public static final String NTP_SERVER
public static final String NTP_TIMEOUT
public static final String STORAGE_BENCHMARK_INTERVAL
public static final String DNS_RESOLVER_SAMPLE_VALIDITY_SECONDS
public static final String DNS_RESOLVER_SUCCESS_THRESHOLD_PERCENT
public static final String DNS_RESOLVER_MIN_SAMPLES
public static final String DNS_RESOLVER_MAX_SAMPLES
public static final String OTA_DISABLE_AUTOMATIC_UPDATE
public static final String PACKAGE_VERIFIER_ENABLE
public static final String PACKAGE_VERIFIER_TIMEOUT
public static final String PACKAGE_VERIFIER_DEFAULT_RESPONSE
public static final String PACKAGE_VERIFIER_SETTING_VISIBLE
public static final String PACKAGE_VERIFIER_INCLUDE_ADB
public static final String FSTRIM_MANDATORY_INTERVAL
public static final String PDP_WATCHDOG_POLL_INTERVAL_MS
public static final String PDP_WATCHDOG_LONG_POLL_INTERVAL_MS
public static final String PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS
PDP_WATCHDOG_TRIGGER_PACKET_COUNT
outgoing packets has been reached without incoming packets.public static final String PDP_WATCHDOG_TRIGGER_PACKET_COUNT
PDP_WATCHDOG_ERROR_POLL_COUNT
device is logged to the event logpublic static final String PDP_WATCHDOG_ERROR_POLL_COUNT
PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS
)
after hitting PDP_WATCHDOG_TRIGGER_PACKET_COUNT
before
attempting data connection recovery.public static final String PDP_WATCHDOG_MAX_PDP_RESET_FAIL_COUNT
public static final String SAMPLING_PROFILER_MS
public static final String SETUP_PREPAID_DATA_SERVICE_URL
public static final String SETUP_PREPAID_DETECTION_TARGET_URL
public static final String SETUP_PREPAID_DETECTION_REDIR_HOST
public static final String SMS_OUTGOING_CHECK_INTERVAL_MS
public static final String SMS_OUTGOING_CHECK_MAX_COUNT
SMS_OUTGOING_CHECK_INTERVAL_MS
public static final String SMS_SHORT_CODE_CONFIRMATION
SmsUsageMonitor
,
Constant Field Valuespublic static final String SMS_SHORT_CODE_RULE
public static final String TCP_DEFAULT_INIT_RWND
public static final String TETHER_SUPPORTED
public static final String TETHER_DUN_REQUIRED
public static final String TETHER_DUN_APN
public static final String CARRIER_APP_WHITELIST
public static final String USB_MASS_STORAGE_ENABLED
public static final String USE_GOOGLE_MAIL
public static final String WEBVIEW_DATA_REDUCTION_PROXY_KEY
public static final String WEBVIEW_FALLBACK_LOGIC_ENABLED
public static final String WEBVIEW_PROVIDER
public static final String WEBVIEW_MULTIPROCESS
public static final String NETWORK_SWITCH_NOTIFICATION_DAILY_LIMIT
public static final String NETWORK_SWITCH_NOTIFICATION_RATE_LIMIT_MILLIS
public static final String NETWORK_AVOID_BAD_WIFI
public static final String WIFI_DISPLAY_ON
public static final String WIFI_DISPLAY_CERTIFICATION_ON
public static final String WIFI_DISPLAY_WPS_CONFIG
public static final String WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
If not connected and the scan results have an open network, we will
put this notification up. If we attempt to connect to a network or
the open network(s) disappear, we remove the notification. When we
show the notification, we will not show it again for
Settings.Secure.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
time.
public static final String WIMAX_NETWORKS_AVAILABLE_NOTIFICATION_ON
public static final String WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
public static final String WIFI_COUNTRY_CODE
public static final String WIFI_FRAMEWORK_SCAN_INTERVAL_MS
public static final String WIFI_IDLE_MS
public static final String WIFI_NUM_OPEN_NETWORKS_KEPT
public static final String WIFI_ON
public static final String WIFI_SCAN_ALWAYS_AVAILABLE
public static final String BLE_SCAN_ALWAYS_AVAILABLE
public static final String WIFI_SAVED_STATE
public static final String WIFI_SUPPLICANT_SCAN_INTERVAL_MS
public static final String WIFI_ENHANCED_AUTO_JOIN
public static final String WIFI_NETWORK_SHOW_RSSI
public static final String WIFI_SCAN_INTERVAL_WHEN_P2P_CONNECTED_MS
public static final String WIFI_WATCHDOG_ON
public static final String WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED
public static final String WIFI_SUSPEND_OPTIMIZATIONS_ENABLED
public static final String WIFI_VERBOSE_LOGGING_ENABLED
public static final String WIFI_MAX_DHCP_RETRY_COUNT
public static final String WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
public static final String WIFI_DEVICE_OWNER_CONFIGS_LOCKDOWN
public static final String WIFI_FREQUENCY_BAND
WifiManager.WIFI_FREQUENCY_BAND_AUTO
,
WifiManager.WIFI_FREQUENCY_BAND_5GHZ
or
WifiManager.WIFI_FREQUENCY_BAND_2GHZ
public static final String WIFI_P2P_DEVICE_NAME
public static final String WIFI_REENABLE_DELAY_MS
public static final String WIFI_EPHEMERAL_OUT_OF_RANGE_TIMEOUT_MS
public static final String DATA_STALL_ALARM_NON_AGGRESSIVE_DELAY_IN_MS
public static final String DATA_STALL_ALARM_AGGRESSIVE_DELAY_IN_MS
public static final String PROVISIONING_APN_ALARM_DELAY_IN_MS
public static final String GPRS_REGISTER_CHECK_PERIOD_MS
public static final String WTF_IS_FATAL
public static final String MODE_RINGER
public static final String OVERLAY_DISPLAY_DEVICES
Format: {width}x{height}/{dpi};...
Example:
1280x720/213
: make one overlay that is 1280x720 at 213dpi.1920x1080/320;1280x720/213
: make two overlays, the first
at 1080p and the second at 720p.public static final String BATTERY_DISCHARGE_DURATION_THRESHOLD
public static final String BATTERY_DISCHARGE_THRESHOLD
public static final String SEND_ACTION_APP_ERROR
Type: int (0 = disallow, 1 = allow)
public static final String DROPBOX_AGE_SECONDS
DropBoxManager
.public static final String DROPBOX_MAX_FILES
DropBoxManager
will keep
around.public static final String DROPBOX_QUOTA_KB
DropBoxManager
no matter
what.public static final String DROPBOX_QUOTA_PERCENT
DropBoxManager
will use.public static final String DROPBOX_RESERVE_PERCENT
DropBoxManager
will never dip
into.public static final String DROPBOX_TAG_PREFIX
public static final String ERROR_LOGCAT_PREFIX
public static final String SYS_FREE_STORAGE_LOG_INTERVAL
public static final String DISK_FREE_CHANGE_REPORTING_THRESHOLD
public static final String SYS_STORAGE_THRESHOLD_PERCENTAGE
Say this value is set to 10, the device is considered running low on storage if 90% or more of the device storage is filled up.
public static final String SYS_STORAGE_THRESHOLD_MAX_BYTES
SYS_STORAGE_THRESHOLD_PERCENTAGE
does not result in an
overly large threshold for large storage devices. Currently this must
be less than 2GB. This default is 500MB.public static final String SYS_STORAGE_FULL_THRESHOLD_BYTES
public static final String SYNC_MAX_RETRY_DELAY_IN_SECONDS
public static final String CONNECTIVITY_CHANGE_DELAY
ConnectivityManager.CONNECTIVITY_ACTION
broadcasts. Ignored.public static final String CONNECTIVITY_SAMPLING_INTERVAL_IN_SECONDS
public static final String PAC_CHANGE_DELAY
public static final String CAPTIVE_PORTAL_DETECTION_ENABLED
public static final String CAPTIVE_PORTAL_SERVER
public static final String CAPTIVE_PORTAL_HTTPS_URL
public static final String CAPTIVE_PORTAL_HTTP_URL
public static final String CAPTIVE_PORTAL_FALLBACK_URL
public static final String CAPTIVE_PORTAL_USE_HTTPS
public static final String CAPTIVE_PORTAL_USER_AGENT
public static final String NSD_ON
public static final String SET_INSTALL_LOCATION
public static final String DEFAULT_INSTALL_LOCATION
public static final String INET_CONDITION_DEBOUNCE_UP_DELAY
public static final String INET_CONDITION_DEBOUNCE_DOWN_DELAY
public static final String READ_EXTERNAL_STORAGE_ENFORCED_DEFAULT
public static final String HTTP_PROXY
public static final String GLOBAL_HTTP_PROXY_HOST
public static final String GLOBAL_HTTP_PROXY_PORT
public static final String GLOBAL_HTTP_PROXY_EXCLUSION_LIST
public static final String GLOBAL_HTTP_PROXY_PAC
public static final String SET_GLOBAL_HTTP_PROXY
public static final String DEFAULT_DNS_SERVER
public static final String BLUETOOTH_HEADSET_PRIORITY_PREFIX
public static final String BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX
public static final String BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX
public static final String BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX
public static final String BLUETOOTH_MAP_PRIORITY_PREFIX
public static final String BLUETOOTH_PBAP_CLIENT_PRIORITY_PREFIX
public static final String BLUETOOTH_SAP_PRIORITY_PREFIX
public static final String DEVICE_IDLE_CONSTANTS
inactive_to (long) sensing_to (long) motion_inactive_to (long) idle_after_inactive_to (long) idle_pending_to (long) max_idle_pending_to (long) idle_pending_factor (float) idle_to (long) max_idle_to (long) idle_factor (float) min_time_to_alarm (long) max_temp_app_whitelist_duration (long) notification_whitelist_duration (long)
Type: string
DeviceIdleController.Constants
,
Constant Field Valuespublic static final String DEVICE_IDLE_CONSTANTS_WATCH
#DEVICE_IDLE_CONSTANTS
Type: string
DeviceIdleController.Constants
,
Constant Field Valuespublic static final String APP_IDLE_CONSTANTS
idle_duration2 (long) wallclock_threshold (long) parole_interval (long) parole_duration (long) idle_duration (long) // This is deprecated and used to circumvent b/26355386.
Type: string
UsageStatsService.SettingsObserver
,
Constant Field Valuespublic static final String ALARM_MANAGER_CONSTANTS
min_futurity (long) min_interval (long) allow_while_idle_short_time (long) allow_while_idle_long_time (long) allow_while_idle_whitelist_duration (long)
Type: string
AlarmManagerService.Constants
,
Constant Field Valuespublic static final String JOB_SCHEDULER_CONSTANTS
min_idle_count (int) min_charging_count (int) min_connectivity_count (int) min_content_count (int) min_ready_jobs_count (int) heavy_use_factor (float) moderate_use_factor (float) fg_job_count (int) bg_normal_job_count (int) bg_moderate_job_count (int) bg_low_job_count (int) bg_critical_job_count (int)
Type: string
JobSchedulerService.Constants
,
Constant Field Valuespublic static final String SHORTCUT_MANAGER_CONSTANTS
reset_interval_sec (long) max_updates_per_interval (int) max_icon_dimension_dp (int, DP) max_icon_dimension_dp_lowram (int, DP) max_shortcuts (int) icon_quality (int, 0-100) icon_format (String)
Type: string
ShortcutService.ConfigConstants
,
Constant Field Valuespublic static final String WINDOW_ANIMATION_SCALE
public static final String TRANSITION_ANIMATION_SCALE
public static final String ANIMATOR_DURATION_SCALE
public static final String FANCY_IME_ANIMATIONS
public static final String COMPATIBILITY_MODE
public static final String EMERGENCY_TONE
public static final String CALL_AUTO_RETRY
public static final String EMERGENCY_AFFORDANCE_NEEDED
public static final String PREFERRED_NETWORK_MODE
public static final String DEBUG_APP
public static final String WAIT_FOR_DEBUGGER
@Deprecated public static final String SHOW_PROCESSES
Build.VERSION_CODES.N_MR1
.public static final String LOW_POWER_MODE
public static final String LOW_POWER_MODE_TRIGGER_LEVEL
public static final String ALWAYS_FINISH_ACTIVITIES
public static final String LENIENT_BACKGROUND_CHECK
public static final String DOCK_AUDIO_MEDIA_ENABLED
public static final int ENCODED_SURROUND_OUTPUT_AUTO
public static final int ENCODED_SURROUND_OUTPUT_NEVER
public static final int ENCODED_SURROUND_OUTPUT_ALWAYS
public static final String ENCODED_SURROUND_OUTPUT
public static final String AUDIO_SAFE_VOLUME_STATE
public static final String TZINFO_UPDATE_CONTENT_URL
public static final String TZINFO_UPDATE_METADATA_URL
public static final String SELINUX_UPDATE_CONTENT_URL
public static final String SELINUX_UPDATE_METADATA_URL
public static final String SMS_SHORT_CODES_UPDATE_CONTENT_URL
public static final String SMS_SHORT_CODES_UPDATE_METADATA_URL
public static final String APN_DB_UPDATE_CONTENT_URL
public static final String APN_DB_UPDATE_METADATA_URL
public static final String CERT_PIN_UPDATE_CONTENT_URL
public static final String CERT_PIN_UPDATE_METADATA_URL
public static final String INTENT_FIREWALL_UPDATE_CONTENT_URL
public static final String INTENT_FIREWALL_UPDATE_METADATA_URL
public static final String SELINUX_STATUS
public static final String DEVELOPMENT_FORCE_RTL
public static final String LOW_BATTERY_SOUND_TIMEOUT
public static final String WIFI_BOUNCE_DELAY_OVERRIDE_MS
ContentResolver.delete(android.net.Uri, java.lang.String, java.lang.String[])
to
clean up any value that they may have written.public static final String POLICY_CONTROL
PolicyControl
for value format.public static final String ZEN_MODE
public static final int ZEN_MODE_OFF
public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS
public static final int ZEN_MODE_NO_INTERRUPTIONS
public static final int ZEN_MODE_ALARMS
public static final String ZEN_MODE_RINGER_LEVEL
public static final String ZEN_MODE_CONFIG_ETAG
public static final String HEADS_UP_NOTIFICATIONS_ENABLED
public static final int HEADS_UP_OFF
public static final int HEADS_UP_ON
public static final String DEVICE_NAME
public static final String NETWORK_SCORING_PROVISIONED
Type: int (0 for false, 1 for true)
public static final String REQUIRE_PASSWORD_TO_DECRYPT
Type: int (0 for false, 1 for true)
public static final String ENHANCED_4G_MODE_ENABLED
Type: int (0 for false, 1 for true)
public static final String VT_IMS_ENABLED
Type: int (0 for false, 1 for true)
public static final String WFC_IMS_ENABLED
Type: int (0 for false, 1 for true)
public static final String WFC_IMS_MODE
Type: int - 2=Wi-Fi preferred, 1=Cellular preferred, 0=Wi-Fi only
public static final String WFC_IMS_ROAMING_MODE
Type: int - see WFC_IMS_MODE
for values
public static final String WFC_IMS_ROAMING_ENABLED
Type: int (0 for false, 1 for true)
public static final String LTE_SERVICE_FORCED
Type: int (0 for false, 1 for true)
public static final String EPHEMERAL_COOKIE_MAX_SIZE_BYTES
Type: int
public static final String ENABLE_EPHEMERAL_FEATURE
Type: int (0 for false, 1 for true)
public static final String EPHEMERAL_HASH_PREFIX_MASK
Type: int
public static final String EPHEMERAL_HASH_PREFIX_COUNT
Type: int
public static final String UNINSTALLED_EPHEMERAL_APP_CACHE_DURATION_MILLIS
Type: long
public static final String ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED
Type: int
public static final String BOOT_COUNT
Type: int
public static final String SAFE_BOOT_DISALLOWED
This setting should have the identical value as the corresponding user restriction. The purpose of the setting is to make the restriction available in early boot stages before the user restrictions are loaded.
public static final String DEVICE_DEMO_MODE
Type: int (0 for false, 1 for true)
public static final String RETAIL_DEMO_MODE_CONSTANTS
user_inactivity_timeout_ms (long) warning_dialog_timeout_ms (long)
Type: string
public static final String DATABASE_DOWNGRADE_REASON
public static final String[] SETTINGS_TO_BACKUP
public static final String MULTI_SIM_VOICE_CALL_SUBSCRIPTION
public static final String MULTI_SIM_VOICE_PROMPT
public static final String MULTI_SIM_DATA_CALL_SUBSCRIPTION
public static final String MULTI_SIM_SMS_SUBSCRIPTION
public static final String MULTI_SIM_SMS_PROMPT
public static final String[] MULTI_SIM_USER_PREFERRED_SUBS
public static final String NEW_CONTACT_AGGREGATOR
@Deprecated public static final String CONTACT_METADATA_SYNC
public static final String CONTACT_METADATA_SYNC_ENABLED
public static final String ENABLE_CELLULAR_ON_BOOT
public static final String MAX_NOTIFICATION_ENQUEUE_RATE
public static final String CELL_ON
public static final String getBluetoothHeadsetPriorityKey(String address)
public static final String getBluetoothA2dpSinkPriorityKey(String address)
public static final String getBluetoothA2dpSrcPriorityKey(String address)
public static final String getBluetoothInputDevicePriorityKey(String address)
public static final String getBluetoothMapPriorityKey(String address)
public static final String getBluetoothPbapClientPriorityKey(String address)
public static final String getBluetoothSapPriorityKey(String address)
public static String zenModeToString(int mode)
public static boolean isValidZenMode(int value)
public static String getString(ContentResolver resolver, String name)
resolver
- to access the database withname
- to look up in the tablepublic static String getStringForUser(ContentResolver resolver, String name, int userHandle)
public static boolean putString(ContentResolver resolver, String name, String value)
resolver
- to access the database withname
- to storevalue
- to associate with the namepublic static boolean putStringForUser(ContentResolver resolver, String name, String value, int userHandle)
public static Uri getUriFor(String name)
name
- to look up in the tablepublic static int getInt(ContentResolver cr, String name, int def)
cr
- The ContentResolver to access.name
- The name of the setting to retrieve.def
- Value to return if the setting is not defined.public static int getInt(ContentResolver cr, String name) throws Settings.SettingNotFoundException
This version does not take a default value. If the setting has not
been set, or the string value is not a number,
it throws Settings.SettingNotFoundException
.
cr
- The ContentResolver to access.name
- The name of the setting to retrieve.Settings.SettingNotFoundException
- Thrown if a setting by the given
name can't be found or the setting value is not an integer.public static boolean putInt(ContentResolver cr, String name, int value)
cr
- The ContentResolver to access.name
- The name of the setting to modify.value
- The new value for the setting.public static long getLong(ContentResolver cr, String name, long def)
long
. Note that internally setting values are always
stored as strings; this function converts the string to a long
for you. The default value will be returned if the setting is
not defined or not a long
.cr
- The ContentResolver to access.name
- The name of the setting to retrieve.def
- Value to return if the setting is not defined.long
.public static long getLong(ContentResolver cr, String name) throws Settings.SettingNotFoundException
long
. Note that internally setting values are always
stored as strings; this function converts the string to a long
for you.
This version does not take a default value. If the setting has not
been set, or the string value is not a number,
it throws Settings.SettingNotFoundException
.
cr
- The ContentResolver to access.name
- The name of the setting to retrieve.Settings.SettingNotFoundException
- Thrown if a setting by the given
name can't be found or the setting value is not an integer.public static boolean putLong(ContentResolver cr, String name, long value)
cr
- The ContentResolver to access.name
- The name of the setting to modify.value
- The new value for the setting.public static float getFloat(ContentResolver cr, String name, float def)
cr
- The ContentResolver to access.name
- The name of the setting to retrieve.def
- Value to return if the setting is not defined.public static float getFloat(ContentResolver cr, String name) throws Settings.SettingNotFoundException
This version does not take a default value. If the setting has not
been set, or the string value is not a number,
it throws Settings.SettingNotFoundException
.
cr
- The ContentResolver to access.name
- The name of the setting to retrieve.Settings.SettingNotFoundException
- Thrown if a setting by the given
name can't be found or the setting value is not a float.public static boolean putFloat(ContentResolver cr, String name, float value)
cr
- The ContentResolver to access.name
- The name of the setting to modify.value
- The new value for the setting.