Lines Matching refs:Settings
17 package com.android.settings;
31 import android.provider.Settings;
40 * Gesture lock pattern settings.
45 // Location Settings
56 // These provide support for receiving notification when Location Manager settings change.
57 // This is necessary because the Network Location Provider can change settings
66 // listen for Location Manager settings changes
67 Cursor settingsCursor = getContentResolver().query(Settings.Secure.CONTENT_URI, null,
68 "(" + Settings.System.NAME + "=?)",
69 new String[]{Settings.Secure.LOCATION_PROVIDERS_ALLOWED},
71 mContentQueryMap = new ContentQueryMap(settingsCursor, Settings.System.NAME, true, null);
97 // sharing settings.
113 // Make sure we reload the preference hierarchy since some of these settings
136 Settings.Secure.setLocationProviderEnabled(cr,
142 Settings.Secure.setLocationProviderEnabled(cr,
149 Settings.Global.putInt(cr, Settings.Global.ASSISTED_GPS_ENABLED,
164 boolean gpsEnabled = Settings.Secure.isLocationProviderEnabled(
166 boolean networkEnabled = Settings.Secure.isLocationProviderEnabled(
172 mAssistedGps.setChecked(Settings.Global.getInt(res,
173 Settings.Global.ASSISTED_GPS_ENABLED, 2) == 1);
194 Settings.Secure.setLocationProviderEnabled(cr,
196 Settings.Secure.setLocationProviderEnabled(cr,