Lines Matching defs:provider

17 package android.provider;
78 * The Settings provider contains global system-level device preferences.
796 * {@link #EXTRA_AUTHORITIES} extra to this Intent with one or more syncable content provider's
797 * authorities. Only account types which can sync with that content provider will be offered to
815 * extra to the Intent with one or more syncable content provider's authorities. Only account
816 * types which can sync with that content provider will be offered to the user.
1373 * provider's authorities as a String[]. This field is used by some intents to alter the
1563 // The method we'll call (or null, to not use) on the provider
1628 // fails (alternate Settings provider that doesn't support
1740 * {@link android.provider.Settings#ACTION_MANAGE_OVERLAY_PERMISSION}, which
1929 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1930 + " to android.provider.Settings.Secure, returning read-only value.");
1934 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1935 + " to android.provider.Settings.Global, returning read-only value.");
1956 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1957 + " to android.provider.Settings.Secure, value is unchanged.");
1961 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1962 + " to android.provider.Settings.Global, value is unchanged.");
1976 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1977 + " to android.provider.Settings.Secure, returning Secure URI.");
1981 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1982 + " to android.provider.Settings.Global, returning read-only global URI.");
2413 * @deprecated Use {@link android.provider.Settings.Global#STAY_ON_WHILE_PLUGGED_IN} instead
2466 * @deprecated Use {@link android.provider.Settings.Global#AIRPLANE_MODE_ON} instead
2472 * @deprecated Use {@link android.provider.Settings.Global#RADIO_BLUETOOTH} instead
2478 * @deprecated Use {@link android.provider.Settings.Global#RADIO_WIFI} instead
2484 * @deprecated Use {@link android.provider.Settings.Global#RADIO_WIMAX} instead
2491 * @deprecated Use {@link android.provider.Settings.Global#RADIO_CELL} instead
2497 * @deprecated Use {@link android.provider.Settings.Global#RADIO_NFC} instead
2503 * @deprecated Use {@link android.provider.Settings.Global#AIRPLANE_MODE_RADIOS} instead
2509 * @deprecated Use {@link android.provider.Settings.Global#AIRPLANE_MODE_TOGGLEABLE_RADIOS} instead
2518 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY} instead
2524 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY_DEFAULT} instead
2530 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED} instead
2537 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY_NEVER} instead
2543 * @deprecated Use {@link android.provider.Settings.Global#MODE_RINGER} instead
2646 * @deprecated Use {@link android.provider.Settings.Secure#LOCK_PATTERN_ENABLED}
2653 * @deprecated Use {@link android.provider.Settings.Secure#LOCK_PATTERN_VISIBLE}
2661 * {@link android.provider.Settings.Secure#LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED}
2993 * If the current default ringtone is in the DRM provider and the caller
3124 * @deprecated Use {@link android.provider.Settings.Global#AUTO_TIME}
3131 * @deprecated Use {@link android.provider.Settings.Global#AUTO_TIME_ZONE}
3386 * @deprecated Use {@link android.provider.Settings.Global#POWER_SOUNDS_ENABLED}
3394 * @deprecated Use {@link android.provider.Settings.Global#DOCK_SOUNDS_ENABLED}
3420 * @deprecated Use {@link android.provider.Settings.Global#LOW_BATTERY_SOUND}
3428 * @deprecated Use {@link android.provider.Settings.Global#DESK_DOCK_SOUND}
3436 * @deprecated Use {@link android.provider.Settings.Global#DESK_UNDOCK_SOUND}
3444 * @deprecated Use {@link android.provider.Settings.Global#CAR_DOCK_SOUND}
3452 * @deprecated Use {@link android.provider.Settings.Global#CAR_UNDOCK_SOUND}
3460 * @deprecated Use {@link android.provider.Settings.Global#LOCK_SOUND}
3468 * @deprecated Use {@link android.provider.Settings.Global#UNLOCK_SOUND}
3841 * @deprecated Use {@link android.provider.Settings.Global#ADB_ENABLED}
3848 * @deprecated Use {@link android.provider.Settings.Secure#ANDROID_ID} instead
3854 * @deprecated Use {@link android.provider.Settings.Global#BLUETOOTH_ON} instead
3860 * @deprecated Use {@link android.provider.Settings.Global#DATA_ROAMING} instead
3866 * @deprecated Use {@link android.provider.Settings.Global#DEVICE_PROVISIONED} instead
3872 * @deprecated Use {@link android.provider.Settings.Global#HTTP_PROXY} instead
3878 * @deprecated Use {@link android.provider.Settings.Secure#INSTALL_NON_MARKET_APPS} instead
3884 * @deprecated Use {@link android.provider.Settings.Secure#LOCATION_PROVIDERS_ALLOWED}
3891 * @deprecated Use {@link android.provider.Settings.Secure#LOGGING_ID} instead
3897 * @deprecated Use {@link android.provider.Settings.Global#NETWORK_PREFERENCE} instead
3903 * @deprecated Use {@link android.provider.Settings.Secure#PARENTAL_CONTROL_ENABLED}
3910 * @deprecated Use {@link android.provider.Settings.Secure#PARENTAL_CONTROL_LAST_UPDATE}
3917 * @deprecated Use {@link android.provider.Settings.Secure#PARENTAL_CONTROL_REDIRECT_URL}
3925 * @deprecated Use {@link android.provider.Settings.Secure#SETTINGS_CLASSNAME} instead
3931 * @deprecated Use {@link android.provider.Settings.Global#USB_MASS_STORAGE_ENABLED} instead
3937 * @deprecated Use {@link android.provider.Settings.Global#USE_GOOGLE_MAIL} instead
3944 * {@link android.provider.Settings.Global#WIFI_MAX_DHCP_RETRY_COUNT} instead
3951 * {@link android.provider.Settings.Global#WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS} instead
3959 * {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON} instead
3967 * {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY} instead
3974 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NUM_OPEN_NETWORKS_KEPT}
3981 * @deprecated Use {@link android.provider.Settings.Global#WIFI_ON} instead
3988 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE}
3996 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_AP_COUNT} instead
4003 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS} instead
4011 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED} instead
4019 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS}
4028 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT} instead
4035 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_MAX_AP_CHECKS}
4042 * @deprecated Use {@link android.provider.Settings.Global#WIFI_WATCHDOG_ON} instead
4048 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_PING_COUNT} instead
4054 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_PING_DELAY_MS}
4061 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_PING_TIMEOUT_MS}
4075 * android.provider.Settings#ACTION_MANAGE_WRITE_SETTINGS}, which causes
4251 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Secure"
4252 + " to android.provider.Settings.Global.");
4310 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
4311 + " to android.provider.Settings.Global");
4325 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Secure"
4326 + " to android.provider.Settings.Global, returning global URI.");
4604 * @deprecated Use {@link android.provider.Settings.Global#DEVELOPMENT_SETTINGS_ENABLED}
4614 * @deprecated Use {@link android.provider.Settings.Global#BUGREPORT_IN_POWER_MENU} instead
4621 * @deprecated Use {@link android.provider.Settings.Global#ADB_ENABLED} instead
4627 * Setting to allow mock locations and location provider status to be injected into the
4651 * @deprecated Use {@link android.provider.Settings.Global#BLUETOOTH_ON} instead
4657 * @deprecated Use {@link android.provider.Settings.Global#DATA_ROAMING} instead
4704 * @deprecated Use {@link android.provider.Settings.Global#DEVICE_PROVISIONED} instead
4754 * Package designated as always-on VPN provider.
4969 * @deprecated Use {@link android.provider.Settings.Global#NETWORK_PREFERENCE} instead
4998 * @deprecated Use {@link android.provider.Settings.Global#USB_MASS_STORAGE_ENABLED} instead
5004 * @deprecated Use {@link android.provider.Settings.Global#USE_GOOGLE_MAIL} instead
5467 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON}
5475 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY}
5483 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NUM_OPEN_NETWORKS_KEPT}
5491 * @deprecated Use {@link android.provider.Settings.Global#WIFI_ON}
5561 * @deprecated Use {@link android.provider.Settings.Global#WIFI_WATCHDOG_ON} instead
5596 * {@link android.provider.Settings.Global#WIFI_MAX_DHCP_RETRY_COUNT} instead
5603 * {@link android.provider.Settings.Global#WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS} instead
5704 * @deprecated Use {@link android.provider.Settings.Global#WIFI_IDLE_MS}
5711 * The global search provider chosen by the user (if multiple global
5712 * search providers are installed). This will be the provider returned
6472 * Helper method for determining if a location provider is enabled.
6475 * @param provider the location provider to query
6476 * @return true if the provider is enabled
6482 public static final boolean isLocationProviderEnabled(ContentResolver cr, String provider) {
6483 return isLocationProviderEnabledForUser(cr, provider, UserHandle.myUserId());
6487 * Helper method for determining if a location provider is enabled.
6489 * @param provider the location provider to query
6491 * @return true if the provider is enabled
6497 public static final boolean isLocationProviderEnabledForUser(ContentResolver cr, String provider, int userId) {
6500 return TextUtils.delimitedStringContains(allowedProviders, ',', provider);
6504 * Thread-safe method for enabling or disabling a single location provider.
6506 * @param provider the location provider to enable or disable
6507 * @param enabled true if the provider should be enabled
6512 String provider, boolean enabled) {
6513 setLocationProviderEnabledForUser(cr, provider, enabled, UserHandle.myUserId());
6517 * Thread-safe method for enabling or disabling a single location provider.
6520 * @param provider the location provider to enable or disable
6521 * @param enabled true if the provider should be enabled
6530 String provider, boolean enabled, int userId) {
6532 // to ensure thread safety, we write the provider name with a '+' or '-'
6536 provider = "+" + provider;
6538 provider = "-" + provider;
6540 return putStringForUser(cr, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, provider,
7049 * @deprecated Use {@link android.provider.Settings.Secure#INSTALL_NON_MARKET_APPS} instead
7453 * Name of the package used as WebView provider (if unset the provider is instead determined
7530 * {@link android.provider.Settings.Secure#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY} time.
8936 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Global"
8937 + " to android.provider.Settings.Secure, returning read-only value.");
8964 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Global"
8965 + " to android.provider.Settings.Secure, value is unchanged.");