public static final class Settings.Secure extends Settings.NameValueTable
Modifier and Type | Field and Description |
---|---|
static String |
ACCESSIBILITY_AUTOCLICK_DELAY
Integer setting specifying amount of time in ms the mouse pointer has to stay still
before performing click when
ACCESSIBILITY_AUTOCLICK_ENABLED is set. |
static String |
ACCESSIBILITY_AUTOCLICK_ENABLED
Setting that specifies whether automatic click when the mouse pointer stops moving is
enabled.
|
static String |
ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR
Integer property that specifes the background color for captions as a
packed 32-bit color.
|
static String |
ACCESSIBILITY_CAPTIONING_EDGE_COLOR
Integer property that specifes the edge color for captions as a
packed 32-bit color.
|
static String |
ACCESSIBILITY_CAPTIONING_EDGE_TYPE
Integer property that specifes the edge type for captions, one of:
CaptioningManager.CaptionStyle.EDGE_TYPE_NONE
CaptioningManager.CaptionStyle.EDGE_TYPE_OUTLINE
CaptioningManager.CaptionStyle.EDGE_TYPE_DROP_SHADOW
|
static String |
ACCESSIBILITY_CAPTIONING_ENABLED
Setting that specifies whether timed text (captions) should be
displayed in video content.
|
static String |
ACCESSIBILITY_CAPTIONING_FONT_SCALE
Floating point property that specifies font scaling for captions.
|
static String |
ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR
Integer property that specifes the foreground color for captions as a
packed 32-bit color.
|
static String |
ACCESSIBILITY_CAPTIONING_LOCALE
Setting that specifies the language for captions as a locale string,
e.g. en_US.
|
static String |
ACCESSIBILITY_CAPTIONING_PRESET
Integer property that specifies the preset style for captions, one
of:
CaptioningManager.CaptionStyle.PRESET_CUSTOM
a valid index of CaptioningManager.CaptionStyle.PRESETS
|
static String |
ACCESSIBILITY_CAPTIONING_TYPEFACE
String property that specifies the typeface for captions, one of:
DEFAULT
MONOSPACE
SANS_SERIF
SERIF
|
static String |
ACCESSIBILITY_CAPTIONING_WINDOW_COLOR
Integer property that specifes the window color for captions as a
packed 32-bit color.
|
static String |
ACCESSIBILITY_DISPLAY_DALTONIZER
Integer property that specifies the type of color space adjustment to
perform.
|
static String |
ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED
Setting that specifies whether display color space adjustment is
enabled.
|
static String |
ACCESSIBILITY_DISPLAY_INVERSION_ENABLED
Setting that specifies whether display color inversion is enabled.
|
static String |
ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE
Setting that specifies whether the display magnification should be
automatically updated.
|
static String |
ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED
Setting that specifies whether the display magnification is enabled.
|
static String |
ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE
Setting that specifies what the display magnification scale is.
|
static String |
ACCESSIBILITY_ENABLED
If accessibility is enabled.
|
static String |
ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED
Whether to draw text with high contrast while in accessibility mode.
|
static String |
ACCESSIBILITY_LARGE_POINTER_ICON
Whether or not larger size icons are used for the pointer of mouse/trackpad for
accessibility
|
static String |
ACCESSIBILITY_SCREEN_READER_URL
The URL for the injected JavaScript based screen-reader used
for providing accessibility of content in WebView.
|
static String |
ACCESSIBILITY_SCRIPT_INJECTION
If injection of accessibility enhancing JavaScript screen-reader
is enabled.
|
static String |
ACCESSIBILITY_SOFT_KEYBOARD_MODE
Setting that specifies what mode the soft keyboard is in (default or hidden).
|
static String |
ACCESSIBILITY_SPEAK_PASSWORD
Whether to speak passwords while in accessibility mode.
|
static String |
ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS
Key bindings for navigation in built-in accessibility support for web content.
|
static String |
ADB_ENABLED
Deprecated.
Use
Settings.Global.ADB_ENABLED instead |
static String |
ALLOW_MOCK_LOCATION
Deprecated.
This settings is not used anymore.
|
static String |
ALLOWED_GEOLOCATION_ORIGINS
Origins for which browsers should allow geolocation by default.
|
static String |
ALWAYS_ON_VPN_APP
Package designated as always-on VPN provider.
|
static String |
ALWAYS_ON_VPN_LOCKDOWN
Whether to block networking outside of VPN connections while always-on is set.
|
static String |
ANDROID_ID
A 64-bit number (as a hex string) that is randomly
generated when the user first sets up the device and should remain
constant for the lifetime of the user's device.
|
static String |
ANR_SHOW_BACKGROUND
If nonzero, ANRs in invisible background processes bring up a dialog.
|
static String |
ASSIST_DISCLOSURE_ENABLED
Specifies whether the screen will show an animation if screen contents are sent to the
assist application (active voice interaction service).
|
static String |
ASSIST_SCREENSHOT_ENABLED
Specifies whether a screenshot of the screen contents will be sent to the assist
application (active voice interaction service).
|
static String |
ASSIST_STRUCTURE_ENABLED
Specifies whether the current app context on scren (assist data) will be sent to the
assist application (active voice interaction service).
|
static String |
ASSISTANT
The current assistant component.
|
static String |
AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED
How many bytes the automatic storage manager has cleared out.
|
static String |
AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN
How many days of information for the automatic storage manager to retain on the device.
|
static int |
AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN_DEFAULT
Default number of days of information for the automatic storage manager to retain.
|
static String |
AUTOMATIC_STORAGE_MANAGER_ENABLED
Whether or not the automatic storage manager is enabled and should run on the device.
|
static String |
AUTOMATIC_STORAGE_MANAGER_LAST_RUN
Last run time for the automatic storage manager.
|
static String |
BACKGROUND_DATA
Deprecated.
As of
Build.VERSION_CODES.ICE_CREAM_SANDWICH ,
availability of background data depends on several
combined factors. When background data is unavailable,
ConnectivityManager.getActiveNetworkInfo() will
now appear disconnected. |
static String |
BACKUP_AUTO_RESTORE
Controls whether application data is automatically restored from backup
at install time.
|
static String |
BACKUP_ENABLED
Controls whether settings backup is enabled.
|
static String |
BACKUP_PROVISIONED
Indicates whether settings backup has been fully provisioned.
|
static String |
BACKUP_TRANSPORT
Component of the transport to use for backup/restore.
|
static String |
BAR_SERVICE_COMPONENT |
static String |
BLUETOOTH_HCI_LOG
bluetooth HCI snoop log configuration
|
static String |
BLUETOOTH_ON
Deprecated.
Use
Settings.Global.BLUETOOTH_ON instead |
static String |
BRIGHTNESS_USE_TWILIGHT
Whether brightness should automatically adjust based on twilight state.
|
static String |
BUGREPORT_IN_POWER_MENU
Deprecated.
Use
Settings.Global.BUGREPORT_IN_POWER_MENU instead |
static String |
CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED
Whether the camera launch gesture to double tap the power button when the screen is off
should be disabled.
|
static String |
CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED
Whether the camera double twist gesture to flip between front and back mode should be
enabled.
|
static String |
CAMERA_GESTURE_DISABLED
Whether the camera launch gesture should be disabled.
|
static String |
CARRIER_APPS_HANDLED
Whether CarrierAppUtils#disableCarrierAppsUntilPrivileged has been executed at least
once.
|
static String |
COMPLETED_CATEGORY_PREFIX
Prefix for category name that marks whether a suggested action from that category was
completed.
|
static String |
CONNECTIVITY_RELEASE_PENDING_INTENT_DELAY_MS
The number of milliseconds to hold on to a PendingIntent based request.
|
static Uri |
CONTENT_URI
The content:// style URL for this table
|
static String |
DATA_ROAMING
Deprecated.
Use
Settings.Global.DATA_ROAMING instead |
static String |
DEFAULT_INPUT_METHOD
Setting to record the input method used by default, holding the ID
of the desired method.
|
static String |
DEMO_USER_SETUP_COMPLETE
Whether preloaded APKs have been installed for the user.
|
static String |
DEVELOPMENT_SETTINGS_ENABLED
Deprecated.
Use
Settings.Global.DEVELOPMENT_SETTINGS_ENABLED
instead |
static String |
DEVICE_PROVISIONED
Deprecated.
Use
Settings.Global.DEVICE_PROVISIONED instead |
static String |
DIALER_DEFAULT_APPLICATION
Specifies the package name currently configured to be the default dialer application
|
static String |
DISABLED_PRINT_SERVICES
List of the disabled print services.
|
static String |
DISABLED_SYSTEM_INPUT_METHODS
List of system input methods that are currently disabled.
|
static String |
DISPLAY_DENSITY_FORCED
The saved value for WindowManagerService.setForcedDisplayDensity()
formatted as a single integer representing DPI.
|
static String |
DOUBLE_TAP_TO_WAKE
Controls whether double tap to wake is enabled.
|
static String |
DOZE_ENABLED
Whether the device should doze if configured.
|
static String |
DOZE_PULSE_ON_DOUBLE_TAP
Whether the device should pulse on double tap gesture.
|
static String |
DOZE_PULSE_ON_PICK_UP
Whether the device should pulse on pick up gesture.
|
static String |
EMERGENCY_ASSISTANCE_APPLICATION
Specifies the package name currently configured to be the emergency assistance application
|
static String |
ENABLED_ACCESSIBILITY_SERVICES
List of the enabled accessibility providers.
|
static String |
ENABLED_INPUT_METHODS
List of input methods that are currently enabled.
|
static String |
ENABLED_NOTIFICATION_LISTENERS
Names of the service components that the current user has explicitly allowed to
see all of the user's notifications, separated by ':'.
|
static String |
ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES
Names of the packages that the current user has explicitly allowed to
manage notification policy configuration, separated by ':'.
|
static String |
ENABLED_PRINT_SERVICES
List of the enabled print services.
|
static String |
ENABLED_VR_LISTENERS
Names of the service components that the current user has explicitly allowed to
be a VR mode listener, separated by ':'.
|
static String |
ENHANCED_VOICE_PRIVACY_ENABLED
Whether the enhanced voice privacy mode is enabled.
0 = normal voice privacy
1 = enhanced voice privacy
|
static String |
HTTP_PROXY
Deprecated.
|
static String |
IMMERSIVE_MODE_CONFIRMATIONS |
static String |
INCALL_POWER_BUTTON_BEHAVIOR
What happens when the user presses the Power button while in-call
and the screen is on.
|
static int |
INCALL_POWER_BUTTON_BEHAVIOR_DEFAULT
INCALL_POWER_BUTTON_BEHAVIOR default value.
|
static int |
INCALL_POWER_BUTTON_BEHAVIOR_HANGUP
INCALL_POWER_BUTTON_BEHAVIOR value for "hang up".
|
static int |
INCALL_POWER_BUTTON_BEHAVIOR_SCREEN_OFF
INCALL_POWER_BUTTON_BEHAVIOR value for "turn off screen".
|
static String |
INPUT_METHOD_SELECTOR_VISIBILITY
Setting to record the visibility of input method selector
|
static String |
INPUT_METHODS_SUBTYPE_HISTORY
Setting to record the history of input method subtype, holding the pair of ID of IME
and its last used subtype.
|
static String |
INSTALL_NON_MARKET_APPS
Whether applications can be installed for this user via the system's
Intent.ACTION_INSTALL_PACKAGE mechanism. |
static String |
LAST_SETUP_SHOWN
Version for which the setup wizard was last shown.
|
static String |
LOCATION_MODE
The degree of location access enabled by the user.
|
static int |
LOCATION_MODE_BATTERY_SAVING
Reduced power usage, such as limiting the number of GPS updates per hour.
|
static int |
LOCATION_MODE_HIGH_ACCURACY
Best-effort location computation allowed.
|
static int |
LOCATION_MODE_OFF
Location access disabled.
|
static int |
LOCATION_MODE_PREVIOUS
Sets all location providers to the previous states before location was turned off.
|
static int |
LOCATION_MODE_SENSORS_ONLY
Network Location Provider disabled, but GPS and other sensors enabled.
|
static String |
LOCATION_PREVIOUS_MODE
Stores the previous location mode when
LOCATION_MODE is set to
LOCATION_MODE_OFF |
static String |
LOCATION_PROVIDERS_ALLOWED
Deprecated.
|
static String |
LOCK_BIOMETRIC_WEAK_FLAGS
Deprecated.
|
static String |
LOCK_PATTERN_ENABLED
Deprecated.
Use
KeyguardManager to determine the state and security
level of the keyguard. Accessing this setting from an app that is targeting
Build.VERSION_CODES.M or later throws a SecurityException . |
static String |
LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED
Deprecated.
Starting in
Build.VERSION_CODES.JELLY_BEAN_MR1 the
lockscreen uses
Settings.System.HAPTIC_FEEDBACK_ENABLED .
Accessing this setting from an app that is targeting
Build.VERSION_CODES.M or later throws a SecurityException . |
static String |
LOCK_PATTERN_VISIBLE
Deprecated.
Accessing this setting from an app that is targeting
Build.VERSION_CODES.M or later throws a SecurityException . |
static String |
LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS
When set by a user, allows notifications to be shown atop a securely locked screen
in their full "private" form (same as when the device is unlocked).
|
static String |
LOCK_SCREEN_ALLOW_REMOTE_INPUT
When set by a user, allows notification remote input atop a securely locked screen
without having to unlock
|
static String |
LOCK_SCREEN_APPWIDGET_IDS
Deprecated.
|
static String |
LOCK_SCREEN_FALLBACK_APPWIDGET_ID
Deprecated.
|
static String |
LOCK_SCREEN_LOCK_AFTER_TIMEOUT
This preference allows the device to be locked given time after screen goes off,
subject to current DeviceAdmin policy limits.
|
static String |
LOCK_SCREEN_OWNER_INFO
Deprecated.
|
static String |
LOCK_SCREEN_OWNER_INFO_ENABLED
Deprecated.
|
static String |
LOCK_SCREEN_SHOW_NOTIFICATIONS
This preference enables notification display on the lockscreen.
|
static String |
LOCK_SCREEN_STICKY_APPWIDGET
Deprecated.
|
static String |
LOCK_TO_APP_EXIT_LOCKED
Whether lock-to-app will lock the keyguard when exiting.
|
static String |
LOGGING_ID
Deprecated.
This identifier is poorly initialized and has
many collisions. It should not be used.
|
static String |
LONG_PRESS_TIMEOUT
The timeout for considering a press to be a long press in milliseconds.
|
static String |
MANAGED_PROFILE_CONTACT_REMOTE_SEARCH
Whether parent user can access remote contact in managed profile.
|
static String |
MOUNT_PLAY_NOTIFICATION_SND
Whether or not alert sounds are played on MountService events. (0 = false, 1 = true)
|
static String |
MOUNT_UMS_AUTOSTART
Whether or not UMS auto-starts on UMS host detection. (0 = false, 1 = true)
|
static String |
MOUNT_UMS_NOTIFY_ENABLED
Whether or not a notification is displayed while UMS is enabled. (0 = false, 1 = true)
|
static String |
MOUNT_UMS_PROMPT
Whether or not a notification is displayed on UMS host detection. (0 = false, 1 = true)
|
static String |
NETWORK_PREFERENCE
Deprecated.
Use
Settings.Global.NETWORK_PREFERENCE instead |
static String |
NFC_PAYMENT_DEFAULT_COMPONENT
The default NFC payment component
|
static String |
NFC_PAYMENT_FOREGROUND
Whether NFC payment is handled by the foreground application or a default.
|
static String |
NIGHT_DISPLAY_ACTIVATED
Control whether Night display is currently activated.
|
static String |
NIGHT_DISPLAY_AUTO_MODE
Control whether Night display will automatically activate/deactivate.
|
static String |
NIGHT_DISPLAY_CUSTOM_END_TIME
Custom time when Night display is scheduled to deactivate.
|
static String |
NIGHT_DISPLAY_CUSTOM_START_TIME
Custom time when Night display is scheduled to activate.
|
static String |
PACKAGE_VERIFIER_USER_CONSENT
Stores whether an user has consented to have apps verified through PAM.
|
static String |
PARENTAL_CONTROL_ENABLED
No longer supported.
|
static String |
PARENTAL_CONTROL_LAST_UPDATE
No longer supported.
|
static String |
PARENTAL_CONTROL_REDIRECT_URL
No longer supported.
|
static String |
PAYMENT_SERVICE_SEARCH_URI
This is the query URI for finding a NFC payment service to install.
|
static String |
PREFERRED_TTY_MODE
The preferred TTY mode 0 = TTy Off, CDMA default
1 = TTY Full
2 = TTY HCO
3 = TTY VCO
|
static String |
PRINT_SERVICE_SEARCH_URI
This is the query URI for finding a print service to install.
|
static String |
QS_TILES
Holds comma separated list of ordering of QS tiles.
|
static String |
SCREENSAVER_ACTIVATE_ON_DOCK
If screensavers are enabled, whether the screensaver should be automatically launched
when the device is inserted into a (desk) dock.
|
static String |
SCREENSAVER_ACTIVATE_ON_SLEEP
If screensavers are enabled, whether the screensaver should be automatically launched
when the screen times out when not on battery.
|
static String |
SCREENSAVER_COMPONENTS
The user's chosen screensaver components.
|
static String |
SCREENSAVER_DEFAULT_COMPONENT
If screensavers are enabled, the default screensaver component.
|
static String |
SCREENSAVER_ENABLED
Whether screensavers are enabled.
|
static String |
SEARCH_GLOBAL_SEARCH_ACTIVITY
The global search provider chosen by the user (if multiple global
search providers are installed).
|
static String |
SEARCH_MAX_RESULTS_PER_SOURCE
The number of suggestions GlobalSearch will ask each non-web search source for.
|
static String |
SEARCH_MAX_RESULTS_TO_DISPLAY
The maximum number of suggestions returned by GlobalSearch.
|
static String |
SEARCH_MAX_SHORTCUTS_RETURNED
The maximum number of shortcuts shown by GlobalSearch.
|
static String |
SEARCH_MAX_SOURCE_EVENT_AGE_MILLIS
The maximum age of log data used for source ranking in GlobalSearch.
|
static String |
SEARCH_MAX_STAT_AGE_MILLIS
The maximum age of log data used for shortcuts in GlobalSearch.
|
static String |
SEARCH_MIN_CLICKS_FOR_SOURCE_RANKING
The minimum number of clicks needed to rank a source in GlobalSearch.
|
static String |
SEARCH_MIN_IMPRESSIONS_FOR_SOURCE_RANKING
The minimum number of impressions needed to rank a source in GlobalSearch.
|
static String |
SEARCH_NUM_PROMOTED_SOURCES
The number of promoted sources in GlobalSearch.
|
static String |
SEARCH_PER_SOURCE_CONCURRENT_QUERY_LIMIT
The maximum number of concurrent suggestion queries to each source.
|
static String |
SEARCH_PREFILL_MILLIS
The maximum number of milliseconds that GlobalSearch shows the previous results
after receiving a new query.
|
static String |
SEARCH_PROMOTED_SOURCE_DEADLINE_MILLIS
The number of milliseconds that GlobalSearch will wait for suggestions from
promoted sources before continuing with all other sources.
|
static String |
SEARCH_QUERY_THREAD_CORE_POOL_SIZE
The size of the core thread pool for suggestion queries in GlobalSearch.
|
static String |
SEARCH_QUERY_THREAD_MAX_POOL_SIZE
The maximum size of the thread pool for suggestion queries in GlobalSearch.
|
static String |
SEARCH_SHORTCUT_REFRESH_CORE_POOL_SIZE
The size of the core thread pool for shortcut refreshing in GlobalSearch.
|
static String |
SEARCH_SHORTCUT_REFRESH_MAX_POOL_SIZE
The maximum size of the thread pool for shortcut refreshing in GlobalSearch.
|
static String |
SEARCH_SOURCE_TIMEOUT_MILLIS
The number of milliseconds before GlobalSearch aborts search suggesiton queries.
|
static String |
SEARCH_THREAD_KEEPALIVE_SECONDS
The maximun time that excess threads in the GlobalSeach thread pools will
wait before terminating.
|
static String |
SEARCH_WEB_RESULTS_OVERRIDE_LIMIT
The number of suggestions the GlobalSearch will ask the web search source for.
|
static String |
SELECTED_INPUT_METHOD_SUBTYPE
Setting to record the input method subtype used by default, holding the ID
of the desired method.
|
static String |
SELECTED_SPELL_CHECKER
The
ComponentName string of the selected spell checker service which is
one of the services managed by the text service manager. |
static String |
SELECTED_SPELL_CHECKER_SUBTYPE
The
ComponentName string of the selected subtype of the selected spell checker
service which is one of the services managed by the text service manager. |
static String |
SETTINGS_CLASSNAME
Settings classname to launch when Settings is clicked from All
Applications.
|
static String[] |
SETTINGS_TO_BACKUP
This are the settings to be backed up.
|
static String |
SHOW_IME_WITH_HARD_KEYBOARD
Whether to show the IME when a hard keyboard is connected.
|
static int |
SHOW_MODE_AUTO
Default soft keyboard behavior.
|
static int |
SHOW_MODE_HIDDEN
Soft keyboard is never shown.
|
static String |
SHOW_NOTE_ABOUT_NOTIFICATION_HIDING
Set by the system to track if the user needs to see the call to action for
the lockscreen notification policy.
|
static String |
SKIP_FIRST_USE_HINTS
If enabled, apps should try to skip any introductory hints on first launch.
|
static String |
SLEEP_TIMEOUT
The timeout in milliseconds before the device fully goes to sleep after
a period of inactivity.
|
static String |
SMS_DEFAULT_APPLICATION
Specifies the package name currently configured to be the primary sms application
|
static String |
SPELL_CHECKER_ENABLED
The
ComponentName string whether spell checker is enabled or not. |
static String |
SYSTEM_NAVIGATION_KEYS_ENABLED
Whether SystemUI navigation keys is enabled.
|
static String |
TOUCH_EXPLORATION_ENABLED
If touch exploration is enabled.
|
static String |
TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES
List of the accessibility services to which the user has granted
permission to put the device into touch exploration mode.
|
static String |
TRUST_AGENTS_INITIALIZED
Set to 1 by the system after trust agents have been initialized.
|
static String |
TTS_DEFAULT_COUNTRY
Deprecated.
this setting is no longer in use, as of the Ice Cream
Sandwich release. Apps should never need to read this setting directly,
instead can query the TextToSpeech framework classes for the default
locale.
TextToSpeech.getLanguage() . |
static String |
TTS_DEFAULT_LANG
Deprecated.
this setting is no longer in use, as of the Ice Cream
Sandwich release. Apps should never need to read this setting directly,
instead can query the TextToSpeech framework classes for the default
locale.
TextToSpeech.getLanguage() . |
static String |
TTS_DEFAULT_LOCALE
Stores the default tts locales on a per engine basis.
|
static String |
TTS_DEFAULT_PITCH
Default text-to-speech engine pitch. 100 = 1x
|
static String |
TTS_DEFAULT_RATE
Default text-to-speech engine speech rate. 100 = 1x
|
static String |
TTS_DEFAULT_SYNTH
Default text-to-speech engine.
|
static String |
TTS_DEFAULT_VARIANT
Deprecated.
this setting is no longer in use, as of the Ice Cream
Sandwich release. Apps should never need to read this setting directly,
instead can query the TextToSpeech framework classes for the
locale that is in use
TextToSpeech.getLanguage() . |
static String |
TTS_ENABLED_PLUGINS
Space delimited list of plugin packages that are enabled.
|
static String |
TTS_USE_DEFAULTS
Deprecated.
The value of this setting is no longer respected by
the framework text to speech APIs as of the Ice Cream Sandwich release.
|
static String |
TTY_MODE_ENABLED
Whether the TTY mode mode is enabled.
0 = disabled
1 = enabled
|
static String |
TV_INPUT_CUSTOM_LABELS
List of custom TV input labels.
|
static String |
TV_INPUT_HIDDEN_INPUTS
List of TV inputs that are currently hidden.
|
static String |
UI_NIGHT_MODE
The current night mode that has been selected by the user.
|
static String |
UNSAFE_VOLUME_MUSIC_ACTIVE_MS
Persisted playback time after a user confirmation of an unsafe volume level.
|
static String |
USB_AUDIO_AUTOMATIC_ROUTING_DISABLED
Whether automatic routing of system audio to USB audio peripheral is disabled.
|
static String |
USB_MASS_STORAGE_ENABLED
Deprecated.
Use
Settings.Global.USB_MASS_STORAGE_ENABLED instead |
static String |
USE_GOOGLE_MAIL
Deprecated.
Use
Settings.Global.USE_GOOGLE_MAIL instead |
static String |
USER_SETUP_COMPLETE
Whether the current user has been set up via setup wizard (0 = false, 1 = true)
|
static String |
VOICE_INTERACTION_SERVICE
The currently selected voice interaction service flattened ComponentName.
|
static String |
VOICE_RECOGNITION_SERVICE
The
ComponentName string of the service to be used as the voice recognition
service. |
static String |
VOLUME_CONTROLLER_SERVICE_COMPONENT |
static String |
VR_DISPLAY_MODE
Behavior of the display while in VR mode.
|
static int |
VR_DISPLAY_MODE_LOW_PERSISTENCE
Lower the display persistence while the system is in VR mode.
|
static int |
VR_DISPLAY_MODE_OFF
Do not alter the display persistence while the system is in VR mode.
|
static String |
WAKE_GESTURE_ENABLED
Whether the device should wake when the wake gesture sensor detects motion.
|
static String |
WEB_ACTION_ENABLED
Specifies whether the web action API is enabled.
|
static String |
WIFI_IDLE_MS
Deprecated.
Use
Settings.Global.WIFI_IDLE_MS
instead. |
static String |
WIFI_MAX_DHCP_RETRY_COUNT
Deprecated.
Use
Settings.Global.WIFI_MAX_DHCP_RETRY_COUNT instead |
static String |
WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
Deprecated.
|
static String |
WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
Deprecated.
|
static String |
WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
Deprecated.
Use
Settings.Global.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
instead. |
static String |
WIFI_NUM_OPEN_NETWORKS_KEPT
Deprecated.
Use
Settings.Global.WIFI_NUM_OPEN_NETWORKS_KEPT
instead. |
static String |
WIFI_ON
Deprecated.
Use
Settings.Global.WIFI_ON
instead. |
static String |
WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_AP_COUNT
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_MAX_AP_CHECKS
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_ON
Deprecated.
Use
Settings.Global.WIFI_WATCHDOG_ON instead |
static String |
WIFI_WATCHDOG_PING_COUNT
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_PING_DELAY_MS
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_PING_TIMEOUT_MS
Deprecated.
This setting is not used.
|
static String |
WIFI_WATCHDOG_WATCH_LIST
Deprecated.
This setting is not used.
|
NAME, VALUE
_COUNT, _ID
Constructor and Description |
---|
Secure() |
Modifier and Type | Method and Description |
---|---|
static void |
getCloneToManagedProfileSettings(Set<String> outKeySet) |
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 float |
getFloatForUser(ContentResolver cr,
String name,
float def,
int userHandle) |
static float |
getFloatForUser(ContentResolver cr,
String name,
int userHandle) |
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 int |
getIntForUser(ContentResolver cr,
String name,
int userHandle) |
static int |
getIntForUser(ContentResolver cr,
String name,
int def,
int userHandle) |
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 long |
getLongForUser(ContentResolver cr,
String name,
int userHandle) |
static long |
getLongForUser(ContentResolver cr,
String name,
long def,
int userHandle) |
static void |
getMovedToGlobalSettings(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 |
isLocationProviderEnabled(ContentResolver cr,
String provider)
Deprecated.
|
static boolean |
isLocationProviderEnabledForUser(ContentResolver cr,
String provider,
int userId)
Deprecated.
|
static boolean |
putFloat(ContentResolver cr,
String name,
float value)
Convenience function for updating a single settings value as a
floating point number.
|
static boolean |
putFloatForUser(ContentResolver cr,
String name,
float value,
int userHandle) |
static boolean |
putInt(ContentResolver cr,
String name,
int value)
Convenience function for updating a single settings value as an
integer.
|
static boolean |
putIntForUser(ContentResolver cr,
String name,
int value,
int userHandle) |
static boolean |
putLong(ContentResolver cr,
String name,
long value)
Convenience function for updating a secure settings value as a long
integer.
|
static boolean |
putLongForUser(ContentResolver cr,
String name,
long value,
int userHandle) |
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 void |
setLocationProviderEnabled(ContentResolver cr,
String provider,
boolean enabled)
Deprecated.
|
static boolean |
setLocationProviderEnabledForUser(ContentResolver cr,
String provider,
boolean enabled,
int userId)
Deprecated.
|
getUriFor, putString
public static final Uri CONTENT_URI
@Deprecated public static final String DEVELOPMENT_SETTINGS_ENABLED
Settings.Global.DEVELOPMENT_SETTINGS_ENABLED
instead@Deprecated public static final String BUGREPORT_IN_POWER_MENU
Settings.Global.BUGREPORT_IN_POWER_MENU
instead@Deprecated public static final String ADB_ENABLED
Settings.Global.ADB_ENABLED
instead@Deprecated public static final String ALLOW_MOCK_LOCATION
public static final String ANDROID_ID
Note: When a device has multiple users
(available on certain devices running Android 4.2 or higher), each user appears as a
completely separate device, so the ANDROID_ID
value is unique to each
user.
@Deprecated public static final String BLUETOOTH_ON
Settings.Global.BLUETOOTH_ON
instead@Deprecated public static final String DATA_ROAMING
Settings.Global.DATA_ROAMING
insteadpublic static final String DEFAULT_INPUT_METHOD
public static final String SELECTED_INPUT_METHOD_SUBTYPE
public static final String INPUT_METHODS_SUBTYPE_HISTORY
public static final String INPUT_METHOD_SELECTOR_VISIBILITY
public static final String VOICE_INTERACTION_SERVICE
public static final String BLUETOOTH_HCI_LOG
@Deprecated public static final String DEVICE_PROVISIONED
Settings.Global.DEVICE_PROVISIONED
insteadpublic static final String USER_SETUP_COMPLETE
public static final String COMPLETED_CATEGORY_PREFIX
public static final String ENABLED_INPUT_METHODS
public static final String DISABLED_SYSTEM_INPUT_METHODS
public static final String SHOW_IME_WITH_HARD_KEYBOARD
@Deprecated public static final String HTTP_PROXY
Settings.Global.HTTP_PROXY
public static final String ALWAYS_ON_VPN_APP
public static final String ALWAYS_ON_VPN_LOCKDOWN
ALWAYS_ON_VPN_APP
,
Constant Field Valuespublic static final String INSTALL_NON_MARKET_APPS
Intent.ACTION_INSTALL_PACKAGE
mechanism.
1 = permit app installation via the system package installer intent
0 = do not allow use of the package installer
@Deprecated public static final String LOCATION_PROVIDERS_ALLOWED
LOCATION_MODE
and
LocationManager.MODE_CHANGED_ACTION
(or
LocationManager.PROVIDERS_CHANGED_ACTION
)public static final String LOCATION_MODE
When used with putInt(ContentResolver, String, int)
, must be one of LOCATION_MODE_HIGH_ACCURACY
, LOCATION_MODE_SENSORS_ONLY
, LOCATION_MODE_BATTERY_SAVING
, or LOCATION_MODE_OFF
. When used with getInt(ContentResolver, String)
, the caller must gracefully handle additional location
modes that might be added in the future.
Note: do not rely on this value being present in settings.db or on ContentObserver
notifications for the corresponding Uri. Use LocationManager.MODE_CHANGED_ACTION
to receive changes in this value.
public static final String LOCATION_PREVIOUS_MODE
LOCATION_MODE
is set to
LOCATION_MODE_OFF
public static final int LOCATION_MODE_PREVIOUS
public static final int LOCATION_MODE_OFF
public static final int LOCATION_MODE_SENSORS_ONLY
public static final int LOCATION_MODE_BATTERY_SAVING
Criteria.POWER_HIGH
may be downgraded to
Criteria.POWER_MEDIUM
.public static final int LOCATION_MODE_HIGH_ACCURACY
@Deprecated public static final String LOCK_BIOMETRIC_WEAK_FLAGS
public static final String LOCK_TO_APP_EXIT_LOCKED
@Deprecated public static final String LOCK_PATTERN_ENABLED
KeyguardManager
to determine the state and security
level of the keyguard. Accessing this setting from an app that is targeting
Build.VERSION_CODES.M
or later throws a SecurityException
.@Deprecated public static final String LOCK_PATTERN_VISIBLE
Build.VERSION_CODES.M
or later throws a SecurityException
.@Deprecated public static final String LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED
Build.VERSION_CODES.JELLY_BEAN_MR1
the
lockscreen uses
Settings.System.HAPTIC_FEEDBACK_ENABLED
.
Accessing this setting from an app that is targeting
Build.VERSION_CODES.M
or later throws a SecurityException
.public static final String LOCK_SCREEN_LOCK_AFTER_TIMEOUT
public static final String LOCK_SCREEN_OWNER_INFO
@Deprecated public static final String LOCK_SCREEN_APPWIDGET_IDS
@Deprecated public static final String LOCK_SCREEN_FALLBACK_APPWIDGET_ID
@Deprecated public static final String LOCK_SCREEN_STICKY_APPWIDGET
public static final String LOCK_SCREEN_OWNER_INFO_ENABLED
public static final String LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS
public static final String LOCK_SCREEN_ALLOW_REMOTE_INPUT
public static final String SHOW_NOTE_ABOUT_NOTIFICATION_HIDING
public static final String TRUST_AGENTS_INITIALIZED
@Deprecated public static final String LOGGING_ID
@Deprecated public static final String NETWORK_PREFERENCE
Settings.Global.NETWORK_PREFERENCE
insteadpublic static final String PARENTAL_CONTROL_ENABLED
public static final String PARENTAL_CONTROL_LAST_UPDATE
public static final String PARENTAL_CONTROL_REDIRECT_URL
public static final String SETTINGS_CLASSNAME
@Deprecated public static final String USB_MASS_STORAGE_ENABLED
Settings.Global.USB_MASS_STORAGE_ENABLED
instead@Deprecated public static final String USE_GOOGLE_MAIL
Settings.Global.USE_GOOGLE_MAIL
insteadpublic static final String ACCESSIBILITY_ENABLED
public static final String TOUCH_EXPLORATION_ENABLED
public static final String ENABLED_ACCESSIBILITY_SERVICES
public static final String TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES
public static final String ACCESSIBILITY_SPEAK_PASSWORD
public static final String ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED
public static final String ACCESSIBILITY_SCRIPT_INJECTION
Note: The JavaScript based screen-reader is served by the Google infrastructure and enable users with disabilities to efficiently navigate in and explore web content.
This property represents a boolean value.
public static final String ACCESSIBILITY_SCREEN_READER_URL
Note: The JavaScript based screen-reader is served by the Google infrastructure and enable users with disabilities to efficiently navigate in and explore web content.
This property represents a string value.
public static final String ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS
Note: These key bindings are for the built-in accessibility navigation for web content which is used as a fall back solution if JavaScript in a WebView is not enabled or the user has not opted-in script injection from Google.
The bindings are separated by semi-colon. A binding is a mapping from a key to a sequence of actions (for more details look at android.webkit.AccessibilityInjector). A key is represented as the hexademical string representation of an integer obtained from a meta state (optional) shifted sixteen times left and bitwise ored with a key code. An action is represented as a hexademical string representation of an integer where the first two digits are navigation action index, the second, the third, and the fourth digit pairs represent the action arguments. The separate actions in a binding are colon separated. The key and the action sequence it maps to are separated by equals.
For example, the binding below maps the DPAD right button to traverse the
current navigation axis once without firing an accessibility event and to
perform the same traversal again but to fire an event:
0x16=0x01000100:0x01000101;
The goal of this binding is to enable dynamic rebinding of keys to navigation actions for web content without requiring a framework change.
This property represents a string value.
public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED
ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE
.public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE
ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED
public static final String ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE
ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED
public static final String ACCESSIBILITY_SOFT_KEYBOARD_MODE
public static final int SHOW_MODE_AUTO
public static final int SHOW_MODE_HIDDEN
public static final String ACCESSIBILITY_CAPTIONING_ENABLED
public static final String ACCESSIBILITY_CAPTIONING_LOCALE
Locale.toString()
,
Constant Field Valuespublic static final String ACCESSIBILITY_CAPTIONING_PRESET
Locale.toString()
,
Constant Field Valuespublic static final String ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR
public static final String ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR
public static final String ACCESSIBILITY_CAPTIONING_EDGE_TYPE
public static final String ACCESSIBILITY_CAPTIONING_EDGE_COLOR
public static final String ACCESSIBILITY_CAPTIONING_WINDOW_COLOR
public static final String ACCESSIBILITY_CAPTIONING_TYPEFACE
Typeface
,
Constant Field Valuespublic static final String ACCESSIBILITY_CAPTIONING_FONT_SCALE
public static final String ACCESSIBILITY_DISPLAY_INVERSION_ENABLED
public static final String ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED
public static final String ACCESSIBILITY_DISPLAY_DALTONIZER
public static final String ACCESSIBILITY_AUTOCLICK_ENABLED
public static final String ACCESSIBILITY_AUTOCLICK_DELAY
ACCESSIBILITY_AUTOCLICK_ENABLED
is set.public static final String ACCESSIBILITY_LARGE_POINTER_ICON
public static final String LONG_PRESS_TIMEOUT
public static final String ENABLED_PRINT_SERVICES
DISABLED_PRINT_SERVICES
. But this might be used in an upgrade
from pre-N.public static final String DISABLED_PRINT_SERVICES
public static final String DISPLAY_DENSITY_FORCED
@Deprecated public static final String TTS_USE_DEFAULTS
public static final String TTS_DEFAULT_RATE
public static final String TTS_DEFAULT_PITCH
public static final String TTS_DEFAULT_SYNTH
@Deprecated public static final String TTS_DEFAULT_LANG
TextToSpeech.getLanguage()
.@Deprecated public static final String TTS_DEFAULT_COUNTRY
TextToSpeech.getLanguage()
.@Deprecated public static final String TTS_DEFAULT_VARIANT
TextToSpeech.getLanguage()
.public static final String TTS_DEFAULT_LOCALE
engine_name:locale
for example,
com.foo.ttsengine:eng-USA,com.bar.ttsengine:esp-ESP
. This
supersedes TTS_DEFAULT_LANG
, TTS_DEFAULT_COUNTRY
and
TTS_DEFAULT_VARIANT
. Apps should never need to read this
setting directly, and can query the TextToSpeech framework classes
for the locale that is in use.public static final String TTS_ENABLED_PLUGINS
@Deprecated public static final String WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
instead.@Deprecated public static final String WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
Settings.Global.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
instead.@Deprecated public static final String WIFI_NUM_OPEN_NETWORKS_KEPT
Settings.Global.WIFI_NUM_OPEN_NETWORKS_KEPT
instead.@Deprecated public static final String WIFI_ON
Settings.Global.WIFI_ON
instead.@Deprecated public static final String WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE
@Deprecated public static final String WIFI_WATCHDOG_AP_COUNT
@Deprecated public static final String WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS
@Deprecated public static final String WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED
@Deprecated public static final String WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS
@Deprecated public static final String WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT
@Deprecated public static final String WIFI_WATCHDOG_MAX_AP_CHECKS
@Deprecated public static final String WIFI_WATCHDOG_ON
Settings.Global.WIFI_WATCHDOG_ON
instead@Deprecated public static final String WIFI_WATCHDOG_WATCH_LIST
@Deprecated public static final String WIFI_WATCHDOG_PING_COUNT
@Deprecated public static final String WIFI_WATCHDOG_PING_DELAY_MS
@Deprecated public static final String WIFI_WATCHDOG_PING_TIMEOUT_MS
@Deprecated public static final String WIFI_MAX_DHCP_RETRY_COUNT
Settings.Global.WIFI_MAX_DHCP_RETRY_COUNT
instead@Deprecated public static final String WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
Settings.Global.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
insteadpublic static final String CONNECTIVITY_RELEASE_PENDING_INTENT_DELAY_MS
@Deprecated public static final String BACKGROUND_DATA
Build.VERSION_CODES.ICE_CREAM_SANDWICH
,
availability of background data depends on several
combined factors. When background data is unavailable,
ConnectivityManager.getActiveNetworkInfo()
will
now appear disconnected.public static final String ALLOWED_GEOLOCATION_ORIGINS
public static final String PREFERRED_TTY_MODE
public static final String ENHANCED_VOICE_PRIVACY_ENABLED
public static final String TTY_MODE_ENABLED
public static final String BACKUP_ENABLED
public static final String BACKUP_AUTO_RESTORE
public static final String BACKUP_PROVISIONED
public static final String BACKUP_TRANSPORT
public static final String LAST_SETUP_SHOWN
@Deprecated public static final String WIFI_IDLE_MS
Settings.Global.WIFI_IDLE_MS
instead.public static final String SEARCH_GLOBAL_SEARCH_ACTIVITY
SearchManager.getGlobalSearchActivity()
if it's still
installed. This setting is stored as a flattened component name as
per ComponentName.flattenToString()
.public static final String SEARCH_NUM_PROMOTED_SOURCES
public static final String SEARCH_MAX_RESULTS_TO_DISPLAY
public static final String SEARCH_MAX_RESULTS_PER_SOURCE
public static final String SEARCH_WEB_RESULTS_OVERRIDE_LIMIT
public static final String SEARCH_PROMOTED_SOURCE_DEADLINE_MILLIS
public static final String SEARCH_SOURCE_TIMEOUT_MILLIS
public static final String SEARCH_PREFILL_MILLIS
public static final String SEARCH_MAX_STAT_AGE_MILLIS
public static final String SEARCH_MAX_SOURCE_EVENT_AGE_MILLIS
public static final String SEARCH_MIN_IMPRESSIONS_FOR_SOURCE_RANKING
public static final String SEARCH_MIN_CLICKS_FOR_SOURCE_RANKING
public static final String SEARCH_MAX_SHORTCUTS_RETURNED
public static final String SEARCH_QUERY_THREAD_CORE_POOL_SIZE
public static final String SEARCH_QUERY_THREAD_MAX_POOL_SIZE
public static final String SEARCH_SHORTCUT_REFRESH_CORE_POOL_SIZE
public static final String SEARCH_SHORTCUT_REFRESH_MAX_POOL_SIZE
public static final String SEARCH_THREAD_KEEPALIVE_SECONDS
public static final String SEARCH_PER_SOURCE_CONCURRENT_QUERY_LIMIT
public static final String MOUNT_PLAY_NOTIFICATION_SND
public static final String MOUNT_UMS_AUTOSTART
public static final String MOUNT_UMS_PROMPT
public static final String MOUNT_UMS_NOTIFY_ENABLED
public static final String ANR_SHOW_BACKGROUND
public static final String VOICE_RECOGNITION_SERVICE
ComponentName
string of the service to be used as the voice recognition
service.public static final String PACKAGE_VERIFIER_USER_CONSENT
public static final String SELECTED_SPELL_CHECKER
ComponentName
string of the selected spell checker service which is
one of the services managed by the text service manager.public static final String SELECTED_SPELL_CHECKER_SUBTYPE
ComponentName
string of the selected subtype of the selected spell checker
service which is one of the services managed by the text service manager.public static final String SPELL_CHECKER_ENABLED
ComponentName
string whether spell checker is enabled or not.public static final String INCALL_POWER_BUTTON_BEHAVIOR
public static final int INCALL_POWER_BUTTON_BEHAVIOR_SCREEN_OFF
public static final int INCALL_POWER_BUTTON_BEHAVIOR_HANGUP
public static final int INCALL_POWER_BUTTON_BEHAVIOR_DEFAULT
public static final String WAKE_GESTURE_ENABLED
public static final String DOZE_ENABLED
public static final String DOZE_PULSE_ON_PICK_UP
public static final String DOZE_PULSE_ON_DOUBLE_TAP
public static final String UI_NIGHT_MODE
public static final String SCREENSAVER_ENABLED
public static final String SCREENSAVER_COMPONENTS
public static final String SCREENSAVER_ACTIVATE_ON_DOCK
public static final String SCREENSAVER_ACTIVATE_ON_SLEEP
public static final String SCREENSAVER_DEFAULT_COMPONENT
public static final String NFC_PAYMENT_DEFAULT_COMPONENT
public static final String NFC_PAYMENT_FOREGROUND
public static final String SMS_DEFAULT_APPLICATION
public static final String DIALER_DEFAULT_APPLICATION
public static final String EMERGENCY_ASSISTANCE_APPLICATION
public static final String ASSIST_STRUCTURE_ENABLED
public static final String ASSIST_SCREENSHOT_ENABLED
public static final String ASSIST_DISCLOSURE_ENABLED
public static final String ENABLED_NOTIFICATION_LISTENERS
public static final String ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES
public static final String BAR_SERVICE_COMPONENT
public static final String VOLUME_CONTROLLER_SERVICE_COMPONENT
public static final String IMMERSIVE_MODE_CONFIRMATIONS
public static final String PRINT_SERVICE_SEARCH_URI
public static final String PAYMENT_SERVICE_SEARCH_URI
public static final String SKIP_FIRST_USE_HINTS
Type : int (0 to show hints, 1 to skip showing hints)
public static final String UNSAFE_VOLUME_MUSIC_ACTIVE_MS
public static final String LOCK_SCREEN_SHOW_NOTIFICATIONS
public static final String TV_INPUT_HIDDEN_INPUTS
Uri.encode(String)
and separated by ':'.public static final String TV_INPUT_CUSTOM_LABELS
Uri.encode(String)
and separated by ','. Each pair is separated by ':'.public static final String USB_AUDIO_AUTOMATIC_ROUTING_DISABLED
public static final String SLEEP_TIMEOUT
Settings.System.SCREEN_OFF_TIMEOUT
as otherwise the device
will sleep before it ever has a chance to dream.
Use -1 to disable this timeout.
public static final String DOUBLE_TAP_TO_WAKE
public static final String ASSISTANT
public static final String CAMERA_GESTURE_DISABLED
public static final String CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED
public static final String CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED
public static final String NIGHT_DISPLAY_ACTIVATED
public static final String NIGHT_DISPLAY_AUTO_MODE
public static final String NIGHT_DISPLAY_CUSTOM_START_TIME
public static final String NIGHT_DISPLAY_CUSTOM_END_TIME
public static final String BRIGHTNESS_USE_TWILIGHT
public static final String ENABLED_VR_LISTENERS
public static final String VR_DISPLAY_MODE
VR_DISPLAY_MODE_LOW_PERSISTENCE
or VR_DISPLAY_MODE_OFF
.public static final int VR_DISPLAY_MODE_LOW_PERSISTENCE
public static final int VR_DISPLAY_MODE_OFF
public static final String CARRIER_APPS_HANDLED
This is used to ensure that we only take one pass which will disable apps that are not privileged (if any). From then on, we only want to enable apps (when a matching SIM is inserted), to avoid disabling an app that the user might actively be using.
Will be set to 1 once executed.
public static final String MANAGED_PROFILE_CONTACT_REMOTE_SEARCH
public static final String AUTOMATIC_STORAGE_MANAGER_ENABLED
public static final String AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN
public static final int AUTOMATIC_STORAGE_MANAGER_DAYS_TO_RETAIN_DEFAULT
public static final String AUTOMATIC_STORAGE_MANAGER_BYTES_CLEARED
public static final String AUTOMATIC_STORAGE_MANAGER_LAST_RUN
public static final String SYSTEM_NAVIGATION_KEYS_ENABLED
public static final String QS_TILES
public static final String DEMO_USER_SETUP_COMPLETE
public static final String WEB_ACTION_ENABLED
public static final String[] SETTINGS_TO_BACKUP
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 getIntForUser(ContentResolver cr, String name, int def, int userHandle)
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 int getIntForUser(ContentResolver cr, String name, int userHandle) throws Settings.SettingNotFoundException
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 boolean putIntForUser(ContentResolver cr, String name, int value, int userHandle)
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 getLongForUser(ContentResolver cr, String name, long def, int userHandle)
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 long getLongForUser(ContentResolver cr, String name, int userHandle) throws Settings.SettingNotFoundException
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 boolean putLongForUser(ContentResolver cr, String name, long value, int userHandle)
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 getFloatForUser(ContentResolver cr, String name, float def, int userHandle)
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 float getFloatForUser(ContentResolver cr, String name, int userHandle) throws Settings.SettingNotFoundException
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.public static boolean putFloatForUser(ContentResolver cr, String name, float value, int userHandle)
public static void getCloneToManagedProfileSettings(Set<String> outKeySet)
@Deprecated public static final boolean isLocationProviderEnabled(ContentResolver cr, String provider)
LOCATION_MODE
or
LocationManager.isProviderEnabled(String)
cr
- the content resolver to useprovider
- the location provider to query@Deprecated public static final boolean isLocationProviderEnabledForUser(ContentResolver cr, String provider, int userId)
LOCATION_MODE
or
LocationManager.isProviderEnabled(String)
cr
- the content resolver to useprovider
- the location provider to queryuserId
- the userId to query@Deprecated public static final void setLocationProviderEnabled(ContentResolver cr, String provider, boolean enabled)
putInt(ContentResolver, String, int)
and LOCATION_MODE
cr
- the content resolver to useprovider
- the location provider to enable or disableenabled
- true if the provider should be enabled@Deprecated public static final boolean setLocationProviderEnabledForUser(ContentResolver cr, String provider, boolean enabled, int userId)
putIntForUser(ContentResolver, String, int, int)
and
LOCATION_MODE
cr
- the content resolver to useprovider
- the location provider to enable or disableenabled
- true if the provider should be enableduserId
- the userId for which to enable/disable providers