Lines Matching refs:Settings
17 package com.android.settings;
29 import android.provider.Settings;
35 * Gesture lock pattern settings.
40 // Location Settings
51 // These provide support for receiving notification when Location Manager settings change.
52 // This is necessary because the Network Location Provider can change settings
61 // listen for Location Manager settings changes
62 Cursor settingsCursor = getContentResolver().query(Settings.Secure.CONTENT_URI, null,
63 "(" + Settings.System.NAME + "=?)",
64 new String[]{Settings.Secure.LOCATION_PROVIDERS_ALLOWED},
66 mContentQueryMap = new ContentQueryMap(settingsCursor, Settings.System.NAME, true, null);
115 // Make sure we reload the preference hierarchy since some of these settings
134 Settings.Secure.setLocationProviderEnabled(getContentResolver(),
138 Settings.Secure.setLocationProviderEnabled(getContentResolver(),
144 Settings.Secure.putInt(getContentResolver(), Settings.Secure.ASSISTED_GPS_ENABLED,
159 boolean gpsEnabled = Settings.Secure.isLocationProviderEnabled(
161 mNetwork.setChecked(Settings.Secure.isLocationProviderEnabled(
165 mAssistedGps.setChecked(Settings.Secure.getInt(res,
166 Settings.Secure.ASSISTED_GPS_ENABLED, 2) == 1);