Lines Matching defs:provider

17 package android.provider;
74 * The Settings provider contains global system-level device preferences.
693 * {@link #EXTRA_AUTHORITIES} extra to this Intent with one or more syncable content provider's
694 * authorities. Only account types which can sync with that content provider will be offered to
712 * extra to the Intent with one or more syncable content provider's authorities. Only account
713 * types which can sync with that content provider will be offered to the user.
1160 * provider's authorities as a String[]. This field is used by some intents to alter the
1291 // The method we'll call (or null, to not use) on the provider
1359 // fails (alternate Settings provider that doesn't support
1425 * {@link android.provider.Settings#ACTION_MANAGE_OVERLAY_PERMISSION}.
1443 * {@link android.provider.Settings#ACTION_MANAGE_WRITE_SETTINGS}.
1635 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1636 + " to android.provider.Settings.Secure, returning read-only value.");
1640 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1641 + " to android.provider.Settings.Global, returning read-only value.");
1662 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1663 + " to android.provider.Settings.Secure, value is unchanged.");
1667 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1668 + " to android.provider.Settings.Global, value is unchanged.");
1682 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1683 + " to android.provider.Settings.Secure, returning Secure URI.");
1687 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
1688 + " to android.provider.Settings.Global, returning read-only global URI.");
2093 * @deprecated Use {@link android.provider.Settings.Global#STAY_ON_WHILE_PLUGGED_IN} instead
2146 * @deprecated Use {@link android.provider.Settings.Global#AIRPLANE_MODE_ON} instead
2152 * @deprecated Use {@link android.provider.Settings.Global#RADIO_BLUETOOTH} instead
2158 * @deprecated Use {@link android.provider.Settings.Global#RADIO_WIFI} instead
2164 * @deprecated Use {@link android.provider.Settings.Global#RADIO_WIMAX} instead
2171 * @deprecated Use {@link android.provider.Settings.Global#RADIO_CELL} instead
2177 * @deprecated Use {@link android.provider.Settings.Global#RADIO_NFC} instead
2183 * @deprecated Use {@link android.provider.Settings.Global#AIRPLANE_MODE_RADIOS} instead
2189 * @deprecated Use {@link android.provider.Settings.Global#AIRPLANE_MODE_TOGGLEABLE_RADIOS} instead
2198 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY} instead
2204 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY_DEFAULT} instead
2210 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED} instead
2217 * @deprecated Use {@link android.provider.Settings.Global#WIFI_SLEEP_POLICY_NEVER} instead
2223 * @deprecated Use {@link android.provider.Settings.Global#MODE_RINGER} instead
2326 * @deprecated Use {@link android.provider.Settings.Secure#LOCK_PATTERN_ENABLED}
2333 * @deprecated Use {@link android.provider.Settings.Secure#LOCK_PATTERN_VISIBLE}
2341 * {@link android.provider.Settings.Secure#LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED}
2669 * If the current default ringtone is in the DRM provider and the caller
2785 * @deprecated Use {@link android.provider.Settings.Global#AUTO_TIME}
2792 * @deprecated Use {@link android.provider.Settings.Global#AUTO_TIME_ZONE}
3047 * @deprecated Use {@link android.provider.Settings.Global#POWER_SOUNDS_ENABLED}
3055 * @deprecated Use {@link android.provider.Settings.Global#DOCK_SOUNDS_ENABLED}
3081 * @deprecated Use {@link android.provider.Settings.Global#LOW_BATTERY_SOUND}
3089 * @deprecated Use {@link android.provider.Settings.Global#DESK_DOCK_SOUND}
3097 * @deprecated Use {@link android.provider.Settings.Global#DESK_UNDOCK_SOUND}
3105 * @deprecated Use {@link android.provider.Settings.Global#CAR_DOCK_SOUND}
3113 * @deprecated Use {@link android.provider.Settings.Global#CAR_UNDOCK_SOUND}
3121 * @deprecated Use {@link android.provider.Settings.Global#LOCK_SOUND}
3129 * @deprecated Use {@link android.provider.Settings.Global#UNLOCK_SOUND}
3502 * @deprecated Use {@link android.provider.Settings.Global#ADB_ENABLED}
3509 * @deprecated Use {@link android.provider.Settings.Secure#ANDROID_ID} instead
3515 * @deprecated Use {@link android.provider.Settings.Global#BLUETOOTH_ON} instead
3521 * @deprecated Use {@link android.provider.Settings.Global#DATA_ROAMING} instead
3527 * @deprecated Use {@link android.provider.Settings.Global#DEVICE_PROVISIONED} instead
3533 * @deprecated Use {@link android.provider.Settings.Global#HTTP_PROXY} instead
3539 * @deprecated Use {@link android.provider.Settings.Secure#INSTALL_NON_MARKET_APPS} instead
3545 * @deprecated Use {@link android.provider.Settings.Secure#LOCATION_PROVIDERS_ALLOWED}
3552 * @deprecated Use {@link android.provider.Settings.Secure#LOGGING_ID} instead
3558 * @deprecated Use {@link android.provider.Settings.Global#NETWORK_PREFERENCE} instead
3564 * @deprecated Use {@link android.provider.Settings.Secure#PARENTAL_CONTROL_ENABLED}
3571 * @deprecated Use {@link android.provider.Settings.Secure#PARENTAL_CONTROL_LAST_UPDATE}
3578 * @deprecated Use {@link android.provider.Settings.Secure#PARENTAL_CONTROL_REDIRECT_URL}
3586 * @deprecated Use {@link android.provider.Settings.Secure#SETTINGS_CLASSNAME} instead
3592 * @deprecated Use {@link android.provider.Settings.Global#USB_MASS_STORAGE_ENABLED} instead
3598 * @deprecated Use {@link android.provider.Settings.Global#USE_GOOGLE_MAIL} instead
3605 * {@link android.provider.Settings.Global#WIFI_MAX_DHCP_RETRY_COUNT} instead
3612 * {@link android.provider.Settings.Global#WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS} instead
3620 * {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON} instead
3628 * {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY} instead
3635 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NUM_OPEN_NETWORKS_KEPT}
3642 * @deprecated Use {@link android.provider.Settings.Global#WIFI_ON} instead
3649 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE}
3657 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_AP_COUNT} instead
3664 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS} instead
3672 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED} instead
3680 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS}
3689 * {@link android.provider.Settings.Secure#WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT} instead
3696 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_MAX_AP_CHECKS}
3703 * @deprecated Use {@link android.provider.Settings.Global#WIFI_WATCHDOG_ON} instead
3709 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_PING_COUNT} instead
3715 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_PING_DELAY_MS}
3722 * @deprecated Use {@link android.provider.Settings.Secure#WIFI_WATCHDOG_PING_TIMEOUT_MS}
3735 * {@link android.provider.Settings#ACTION_MANAGE_WRITE_SETTINGS}.
3914 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Secure"
3915 + " to android.provider.Settings.Global.");
3973 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.System"
3974 + " to android.provider.Settings.Global");
3988 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Secure"
3989 + " to android.provider.Settings.Global, returning global URI.");
4267 * @deprecated Use {@link android.provider.Settings.Global#DEVELOPMENT_SETTINGS_ENABLED}
4277 * @deprecated Use {@link android.provider.Settings.Global#BUGREPORT_IN_POWER_MENU} instead
4284 * @deprecated Use {@link android.provider.Settings.Global#ADB_ENABLED} instead
4290 * Setting to allow mock locations and location provider status to be injected into the
4314 * @deprecated Use {@link android.provider.Settings.Global#BLUETOOTH_ON} instead
4320 * @deprecated Use {@link android.provider.Settings.Global#DATA_ROAMING} instead
4366 * @deprecated Use {@link android.provider.Settings.Global#DEVICE_PROVISIONED} instead
4590 * @deprecated Use {@link android.provider.Settings.Global#NETWORK_PREFERENCE} instead
4619 * @deprecated Use {@link android.provider.Settings.Global#USB_MASS_STORAGE_ENABLED} instead
4625 * @deprecated Use {@link android.provider.Settings.Global#USE_GOOGLE_MAIL} instead
5025 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON}
5033 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY}
5041 * @deprecated Use {@link android.provider.Settings.Global#WIFI_NUM_OPEN_NETWORKS_KEPT}
5049 * @deprecated Use {@link android.provider.Settings.Global#WIFI_ON}
5119 * @deprecated Use {@link android.provider.Settings.Global#WIFI_WATCHDOG_ON} instead
5154 * {@link android.provider.Settings.Global#WIFI_MAX_DHCP_RETRY_COUNT} instead
5161 * {@link android.provider.Settings.Global#WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS} instead
5262 * @deprecated Use {@link android.provider.Settings.Global#WIFI_IDLE_MS}
5269 * The global search provider chosen by the user (if multiple global
5270 * search providers are installed). This will be the provider returned
5799 * Helper method for determining if a location provider is enabled.
5802 * @param provider the location provider to query
5803 * @return true if the provider is enabled
5809 public static final boolean isLocationProviderEnabled(ContentResolver cr, String provider) {
5810 return isLocationProviderEnabledForUser(cr, provider, UserHandle.myUserId());
5814 * Helper method for determining if a location provider is enabled.
5816 * @param provider the location provider to query
5818 * @return true if the provider is enabled
5824 public static final boolean isLocationProviderEnabledForUser(ContentResolver cr, String provider, int userId) {
5827 return TextUtils.delimitedStringContains(allowedProviders, ',', provider);
5831 * Thread-safe method for enabling or disabling a single location provider.
5833 * @param provider the location provider to enable or disable
5834 * @param enabled true if the provider should be enabled
5839 String provider, boolean enabled) {
5840 setLocationProviderEnabledForUser(cr, provider, enabled, UserHandle.myUserId());
5844 * Thread-safe method for enabling or disabling a single location provider.
5847 * @param provider the location provider to enable or disable
5848 * @param enabled true if the provider should be enabled
5857 String provider, boolean enabled, int userId) {
5859 // to ensure thread safety, we write the provider name with a '+' or '-'
5863 provider = "+" + provider;
5865 provider = "-" + provider;
5867 return putStringForUser(cr, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, provider,
6302 * @deprecated Use {@link android.provider.Settings.Secure#INSTALL_NON_MARKET_APPS} instead
6696 * {@link android.provider.Settings.Secure#WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY} time.
7770 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Global"
7771 + " to android.provider.Settings.Secure, returning read-only value.");
7798 Log.w(TAG, "Setting " + name + " has moved from android.provider.Settings.Global"
7799 + " to android.provider.Settings.Secure, value is unchanged.");