/packages/services/Telecomm/src/com/android/server/telecom/ |
DefaultDialerCache.java | 160 Settings.Secure.getUriFor(Settings.Secure.DIALER_DEFAULT_APPLICATION);
|
/frameworks/base/services/core/java/com/android/server/display/ |
NightDisplayService.java | 38 import android.provider.Settings.Secure; 216 cr.registerContentObserver(Secure.getUriFor(Secure.USER_SETUP_COMPLETE), 225 return Secure.getIntForUser(cr, Secure.USER_SETUP_COMPLETE, 0, userHandle) == 1;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NightDisplayServiceTest.java | 27 import android.provider.Settings.Secure; [all...] |
CertBlacklisterTest.java | 46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
LockSettingsService.java | 71 import android.provider.Settings.Secure; 612 String value = Settings.Secure.getString(cr, validSetting); 629 final String OWNER_INFO = Secure.LOCK_SCREEN_OWNER_INFO; 630 String ownerInfo = Settings.Secure.getStringForUser(cr, OWNER_INFO, userId); 633 Settings.Secure.putStringForUser(cr, OWNER_INFO, "", userId); 639 final String OWNER_INFO_ENABLED = Secure.LOCK_SCREEN_OWNER_INFO_ENABLED; 642 int ivalue = Settings.Secure.getIntForUser(cr, OWNER_INFO_ENABLED, userId); 651 Settings.Secure.putIntForUser(cr, OWNER_INFO_ENABLED, 0, userId); [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
WifiPermissionsUtilTest.java | 375 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 599 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 667 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 727 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; 759 mLocationModeSetting = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY; [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 268 int mode = Settings.Secure.getInt( 269 cr, Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 270 boolean gps = Settings.Secure.isLocationProviderEnabled(cr, LocationManager.GPS_PROVIDER); 271 boolean nlp = Settings.Secure.isLocationProviderEnabled( 285 // Assert LocationManager returned the values from Settings.Secure (assuming the device has 291 case Settings.Secure.LOCATION_MODE_OFF: 295 case Settings.Secure.LOCATION_MODE_SENSORS_ONLY: 299 case Settings.Secure.LOCATION_MODE_BATTERY_SAVING: 303 case Settings.Secure.LOCATION_MODE_HIGH_ACCURACY [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
LocationSettings.java | 60 * {@link android.provider.Settings.Secure#LOCATION_MODE} between 61 * {@link android.provider.Settings.Secure#LOCATION_MODE_OFF} and another location mode. 64 * {@link android.provider.Settings.Secure#LOCATION_MODE} of 65 * {@link android.provider.Settings.Secure#LOCATION_MODE_HIGH_ACCURACY}, 66 * {@link android.provider.Settings.Secure#LOCATION_MODE_BATTERY_SAVING}, or 67 * {@link android.provider.Settings.Secure#LOCATION_MODE_SENSORS_ONLY}.</li> 343 final boolean enabled = (mode != android.provider.Settings.Secure.LOCATION_MODE_OFF); 382 setLocationMode(android.provider.Settings.Secure.LOCATION_MODE_PREVIOUS); 384 setLocationMode(android.provider.Settings.Secure.LOCATION_MODE_OFF);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
AutoFillServiceTestCase.java | 25 import static android.provider.Settings.Secure.AUTOFILL_SERVICE; 101 runShellCommand("settings delete secure %s", AUTOFILL_SERVICE);
|
/cts/tests/tests/net/src/android/net/wifi/aware/cts/ |
SingleDeviceTest.java | 81 return Settings.Secure.getInt(getContext().getContentResolver(), 82 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) != 83 Settings.Secure.LOCATION_MODE_OFF; [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
SuggestionParser.java | 315 String name = Settings.Secure.COMPLETED_CATEGORY_PREFIX + category; 316 return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) != 0; 320 String name = Settings.Secure.COMPLETED_CATEGORY_PREFIX + category; 321 Settings.Secure.putInt(mContext.getContentResolver(), name, 1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NavigationBarFragment.java | 147 mContentResolver.registerContentObserver(Settings.Secure.getUriFor( 148 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED), false, 570 if (Settings.Secure.getIntForUser(mContentResolver, 571 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
TunerService.java | 103 Settings.Secure.putInt(context.getContentResolver(),
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
MagnificationController.java | [all...] |
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
BadgeExtractorTest.java | 32 import android.provider.Settings.Secure;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
CoreSettingsObserverTest.java | 109 Settings.Secure.putInt(mContentResolver, TEST_SETTING_SECURE_INT, TEST_INT);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
UserManagerTest.java | 321 int locationMode = Settings.Secure.getIntForUser(getContext().getContentResolver(), 322 Settings.Secure.LOCATION_MODE, 323 Settings.Secure.LOCATION_MODE_HIGH_ACCURACY, 326 + "LOCATION_MODE_OFF by default", locationMode, Settings.Secure.LOCATION_MODE_OFF);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionSessionConnection.java | 215 if (Settings.Secure.getIntForUser(mContext.getContentResolver(), 216 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1, mUser) == 0) { 219 if (Settings.Secure.getIntForUser(mContext.getContentResolver(), 220 Settings.Secure.ASSIST_SCREENSHOT_ENABLED, 1, mUser) == 0) {
|
/packages/apps/Car/Stream/src/com/android/car/stream/ |
PermissionsActivity.java | 148 String listeners = Settings.Secure.getString(getContentResolver(),
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAppState.java | 130 mNotificationBadgingObserver = new SettingsObserver.Secure(
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
CardEmulationManager.java | 244 String name = Settings.Secure.getStringForUser( 245 mContext.getContentResolver(), Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT, 265 // TODO Not really nice to be writing to Settings.Secure here... 267 // Settings.Secure 269 Settings.Secure.putStringForUser(mContext.getContentResolver(), 270 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT,
|
/packages/apps/Settings/src/com/android/settings/ |
ApplicationSettings.java | 122 Settings.Secure.putInt(getContentResolver(), Settings.System.ADVANCED_SETTINGS, value);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationAccessSettings.java | 49 c.setting = Settings.Secure.ENABLED_NOTIFICATION_LISTENERS;
|
NotificationSettingsBase.java | 442 return Settings.Secure.getInt(getContentResolver(), 443 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0) != 0; 447 return Settings.Secure.getInt(getContentResolver(), 448 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0) != 0;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/ |
DefaultAutofillPreferenceControllerTest.java | 102 Settings.Secure.putString(RuntimeEnvironment.application.getContentResolver(),
|