/packages/apps/Settings/src/com/android/settings/accessibility/ |
ToggleAutoclickPreferenceFragment.java | 96 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0); 119 int delay = Settings.Secure.getInt( 120 getContentResolver(), Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY, 137 int value = Settings.Secure.getInt(getContentResolver(), 138 Settings.Secure.ACCESSIBILITY_AUTOCLICK_ENABLED, 0); 152 onPreferenceToggled(Settings.Secure.ACCESSIBILITY_AUTOCLICK_ENABLED, isChecked); 158 Settings.Secure.putInt(getContentResolver(), 159 Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY,
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
DefaultVoiceInputPicker.java | 95 Settings.Secure.putString(getContext().getContentResolver(), 96 Settings.Secure.VOICE_INTERACTION_SERVICE, value); 97 Settings.Secure.putString(getContext().getContentResolver(), 98 Settings.Secure.VOICE_RECOGNITION_SERVICE, 108 Settings.Secure.putString(getContext().getContentResolver(), 109 Settings.Secure.VOICE_INTERACTION_SERVICE, ""); 110 Settings.Secure.putString(getContext().getContentResolver(), 111 Settings.Secure.VOICE_RECOGNITION_SERVICE, value);
|
/packages/apps/Settings/src/com/android/settings/location/ |
LocationPreferenceController.java | 23 import android.provider.Settings.Secure; 105 int mode = Secure.getInt(context.getContentResolver(), 106 Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 107 if (mode != Secure.LOCATION_MODE_OFF) { 119 return new InlineListPayload(Secure.LOCATION_MODE, 120 ResultPayload.SettingsSource.SECURE, intent, isAvailable(), 121 Secure.LOCATION_MODE_HIGH_ACCURACY + 1, Secure.LOCATION_MODE_OFF);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
MagnificationGesturesPreferenceControllerTest.java | 63 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, ON); 69 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, OFF); 87 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, ON); 95 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, OFF); 104 assertThat(Settings.Secure.getInt(mContext.getContentResolver(), 105 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, -1)) 113 assertThat(Settings.Secure.getInt(mContext.getContentResolver(), 114 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, -1))
|
MagnificationNavbarPreferenceControllerTest.java | 88 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, ON); 94 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, OFF); 112 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, ON); 120 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, OFF); 129 assertThat(Settings.Secure.getInt(mContext.getContentResolver(), 130 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, -1)) 138 assertThat(Settings.Secure.getInt(mContext.getContentResolver(), 139 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, -1))
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
UncachedInputMethodManagerUtils.java | 61 final String currentImeId = Settings.Secure.getString( 62 context.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProtoDumpUtil.java | [all...] |
SettingsHelper.java | 72 * @see Secure#SETTINGS_TO_BACKUP 80 sBroadcastOnRestore.add(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); 81 sBroadcastOnRestore.add(Settings.Secure.ENABLED_VR_LISTENERS); 82 sBroadcastOnRestore.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 98 return Settings.Secure.getStringForUser(resolver, name, userHandle); 132 if (destination.equals(Settings.Secure.CONTENT_URI)) { 150 } else if (Settings.Secure.LOCATION_PROVIDERS_ALLOWED.equals(name)) { 153 } else if (Settings.Secure.BACKUP_AUTO_RESTORE.equals(name)) { 252 case Settings.Secure.ACCESSIBILITY_ENABLED: 253 case Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD [all...] |
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
AdminActionBookkeepingTest.java | 71 final String setting = Settings.Secure.DEFAULT_INPUT_METHOD; 73 final String ime = Settings.Secure.getString(resolver, setting); 75 Settings.Secure.putString(resolver, setting, "com.test.1"); 83 Settings.Secure.putString(resolver, setting, ime);
|
/frameworks/base/core/java/android/service/dreams/ |
Sandman.java | 112 return Settings.Secure.getIntForUser(context.getContentResolver(), 113 Settings.Secure.SCREENSAVER_ENABLED, def, 120 return Settings.Secure.getIntForUser(context.getContentResolver(), 121 Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, def,
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
GoogleLocationSettingHelper.java | 26 import android.provider.Settings.Secure; 108 return Secure.getInt(context.getContentResolver(), Secure.LOCATION_MODE) 109 != Secure.LOCATION_MODE_OFF;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
LocationUtils.java | 55 return Settings.Secure.getInt(context.getContentResolver(), Settings.Secure.LOCATION_MODE, 56 Settings.Secure.LOCATION_MODE_OFF) != Settings.Secure.LOCATION_MODE_OFF;
|
/packages/apps/Settings/src/com/android/settings/display/ |
SystemUiThemePreferenceController.java | 19 import static android.provider.Settings.Secure.THEME_MODE; 55 int value = Settings.Secure.getInt(mContext.getContentResolver(), THEME_MODE, 0); 62 Settings.Secure.putInt(mContext.getContentResolver(), THEME_MODE, value); 69 int value = Settings.Secure.getInt(mContext.getContentResolver(), THEME_MODE, 0);
|
CameraGesturePreferenceController.java | 25 import static android.provider.Settings.Secure.CAMERA_GESTURE_DISABLED; 43 int value = Settings.Secure.getInt(mContext.getContentResolver(), 59 Settings.Secure.putInt(mContext.getContentResolver(), CAMERA_GESTURE_DISABLED,
|
LiftToWakePreferenceController.java | 26 import static android.provider.Settings.Secure.WAKE_GESTURE_ENABLED; 51 Settings.Secure.putInt(mContext.getContentResolver(), WAKE_GESTURE_ENABLED, value ? 1 : 0); 57 int value = Settings.Secure.getInt(mContext.getContentResolver(), WAKE_GESTURE_ENABLED, 0);
|
VrDisplayPreferenceController.java | 49 int current = Settings.Secure.getIntForUser(mContext.getContentResolver(), 50 Settings.Secure.VR_DISPLAY_MODE, Settings.Secure.VR_DISPLAY_MODE_LOW_PERSISTENCE,
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
SwipeUpPreferenceController.java | 83 Settings.Secure.putInt(context.getContentResolver(), 84 Settings.Secure.SWIPE_UP_TO_SWITCH_APPS_ENABLED, enabled); 91 final int swipeUpEnabled = Settings.Secure.getInt(mContext.getContentResolver(), 92 Settings.Secure.SWIPE_UP_TO_SWITCH_APPS_ENABLED, defaultValue);
|
SwipeToNotificationPreferenceController.java | 19 import static android.provider.Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED; 80 return Settings.Secure.getInt(context.getContentResolver(), SECURE_KEY, OFF) == ON; 84 return Settings.Secure.putInt(
|
/packages/services/Car/car-lib/src/android/car/settings/ |
CarSettings.java | 27 * like the "Secure" settings, these are for preferences that the user must 81 public static final class Secure {
|
/packages/apps/Settings/src/com/android/settings/development/ |
BugReportInPowerPreferenceController.java | 60 Settings.Secure.putInt(mContext.getContentResolver(), 68 final int mode = Settings.Secure.getInt(mContext.getContentResolver(), 76 Settings.Secure.putInt(mContext.getContentResolver(),
|
SecureSettingSwitchPreferenceController.java | 28 * Base controller for Switch preference that maps to a specific value in Settings.Secure. 47 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, 54 final int mode = Settings.Secure.getInt( 62 Settings.Secure.putInt(mContext.getContentResolver(), mSettingsKey, SETTING_VALUE_OFF);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
BluetoothOnWhileDrivingPreferenceControllerTest.java | 22 import android.provider.Settings.Secure; 64 final String name = Secure.BLUETOOTH_ON_WHILE_DRIVING; 65 assertThat(Settings.Secure.getInt(mContext.getContentResolver(), name, 0)).isEqualTo(1);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
NightDisplayAutoModePreferenceControllerTest.java | 20 import android.provider.Settings.Secure; 62 assertThat(Secure.getInt(mContext.getContentResolver(), Secure.NIGHT_DISPLAY_AUTO_MODE, -1))
|
/frameworks/base/core/java/com/android/internal/util/ |
NotificationMessagingUtil.java | 39 private static final String DEFAULT_SMS_APP_SETTING = Settings.Secure.SMS_DEFAULT_APPLICATION; 46 Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING), false, mSmsContentObserver); 72 mDefaultSmsApp.put(userId, Settings.Secure.getStringForUser( 74 Settings.Secure.SMS_DEFAULT_APPLICATION, userId)); 81 if (Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING).equals(uri)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DeviceProvisionedControllerImpl.java | 23 import android.provider.Settings.Secure; 44 mUserSetupUri = Secure.getUriFor(Secure.USER_SETUP_COMPLETE); 54 return Secure.getIntForUser(mContentResolver, Secure.USER_SETUP_COMPLETE, 0, currentUser)
|