/packages/apps/Settings/src/com/android/settings/voice/ |
VoiceInputListPreference.java | 42 Settings.Secure.putString(getContext().getContentResolver(), 43 Settings.Secure.VOICE_INTERACTION_SERVICE, value); 44 Settings.Secure.putString(getContext().getContentResolver(), 45 Settings.Secure.VOICE_RECOGNITION_SERVICE, 58 Settings.Secure.putString(getContext().getContentResolver(), 59 Settings.Secure.VOICE_INTERACTION_SERVICE, ""); 60 Settings.Secure.putString(getContext().getContentResolver(), 61 Settings.Secure.VOICE_RECOGNITION_SERVICE, value);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
CaptionPropertiesFragment.java | 241 Settings.Secure.putInt(getActivity().getContentResolver(), 242 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, checked ? 1 : 0); 430 Settings.Secure.putInt( 431 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, merged); 434 Settings.Secure.putInt( 435 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, merged); 438 Settings.Secure.putInt( 439 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, merged); 441 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, value) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
PunctuationTests.java | 19 import android.provider.Settings.Secure; 158 + Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID) 168 + Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID)
|
/frameworks/base/services/core/java/com/android/server/ |
GestureLauncherService.java | 141 Settings.Secure.getUriFor(Settings.Secure.CAMERA_GESTURE_DISABLED), 144 Settings.Secure.getUriFor(Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED), 222 && (Settings.Secure.getIntForUser(context.getContentResolver(), 223 Settings.Secure.CAMERA_GESTURE_DISABLED, 0, userId) == 0); 228 && (Settings.Secure.getIntForUser(context.getContentResolver(), 229 Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED, 0, userId) == 0); 287 boolean userSetupComplete = Settings.Secure.getInt(mContext.getContentResolver(), 288 Settings.Secure.USER_SETUP_COMPLETE, 0) != 0 [all...] |
CertBlacklister.java | 73 return Settings.Secure.getString(mContentResolver, mKey); 130 Settings.Secure.getUriFor(PUBKEY_BLACKLIST_KEY), 137 Settings.Secure.getUriFor(SERIAL_BLACKLIST_KEY),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationModeTestActivity.java | 25 import android.provider.Settings.Secure; 36 * {@link Secure#isLocationProviderEnabled(ContentResolver, String)} and {@link 40 * It would be hard to automate these tests because the {@link Secure#LOCATION_MODE} API is only 212 return Secure.getInt(cr, Secure.LOCATION_MODE, Secure.LOCATION_MODE_OFF); 217 boolean passed = mode != Secure.LOCATION_MODE_OFF; 240 boolean enabled = Secure.isLocationProviderEnabled(cr, provider); 247 boolean enabled = Secure.isLocationProviderEnabled(cr, provider);
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
InstrumentedAccessibilityService.java | 101 final String enabledServices = Settings.Secure.getString( 103 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 116 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 118 .putSecureSetting(Settings.Secure.ACCESSIBILITY_ENABLED, "1") 124 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 172 .deleteSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES) 173 .deleteSecureSetting(Settings.Secure.ACCESSIBILITY_ENABLED)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
ColorAndAppearanceFragment.java | 24 import android.provider.Settings.Secure; 89 mNightModeController.setCustomValues(Settings.Secure.getString( 90 getContext().getContentResolver(), Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX)); 103 Settings.Secure.putString(getContext().getContentResolver(), 104 Settings.Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX, null); 181 Settings.Secure.putString(getContext().getContentResolver(), 182 Settings.Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX,
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
ServiceControlUtils.java | 56 String alreadyEnabledServices = Settings.Secure.getString( 57 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 58 ParcelFileDescriptor fd = uiAutomation.executeShellCommand("settings --user cur put secure " 59 + Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES + " "
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
WizardManagerHelper.java | 154 return Settings.Secure.getInt(context.getContentResolver(), 159 return Settings.Secure.getInt(context.getContentResolver(), 178 return Settings.Secure.getInt(context.getContentResolver(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
SensorFeaturesDeactivator.java | 132 // TODO: replace the use of reflection with Settings.Secure.DOZE_ENABLED when the 134 Class<?> secureSettingsClass = Settings.Secure.class; 149 return Settings.Secure.getInt( 193 return Settings.Secure.getInt( 195 Settings.Secure.LOCATION_MODE,
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
SettingsTest.java | 60 assertThat(Settings.Secure.getInt(contentResolver, "property", 0), equalTo(0)); 61 assertThat(Settings.Secure.getInt(contentResolver, "property", 2), equalTo(2)); 63 Settings.Secure.putInt(contentResolver, "property", 1); 64 assertThat(Settings.Secure.getInt(contentResolver, "property", 0), equalTo(1));
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/ |
AccessibilityUtils.java | 56 final String enabledServicesSetting = Settings.Secure.getStringForUser( 57 context.getContentResolver(), Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 145 Settings.Secure.putStringForUser(context.getContentResolver(), 146 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
|
/packages/apps/Settings/src/com/android/settings/location/ |
LocationSettings.java | 65 * {@link android.provider.Settings.Secure#LOCATION_MODE} between 66 * {@link android.provider.Settings.Secure#LOCATION_MODE_OFF} and another location mode. 69 * {@link android.provider.Settings.Secure#LOCATION_MODE} of 70 * {@link android.provider.Settings.Secure#LOCATION_MODE_HIGH_ACCURACY}, 71 * {@link android.provider.Settings.Secure#LOCATION_MODE_BATTERY_SAVING}, or 72 * {@link android.provider.Settings.Secure#LOCATION_MODE_SENSORS_ONLY}.</li> 359 case android.provider.Settings.Secure.LOCATION_MODE_OFF: 361 case android.provider.Settings.Secure.LOCATION_MODE_SENSORS_ONLY: 363 case android.provider.Settings.Secure.LOCATION_MODE_BATTERY_SAVING: 365 case android.provider.Settings.Secure.LOCATION_MODE_HIGH_ACCURACY [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
ObscureSpeechDelegate.java | 89 if (Settings.Secure.getIntForUser(mContentResolver, 90 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, 0, UserHandle.USER_CURRENT) != 0) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
DreamBackend.java | 142 return getBoolean(Settings.Secure.SCREENSAVER_ENABLED, mDreamsEnabledByDefault); 147 setBoolean(Settings.Secure.SCREENSAVER_ENABLED, value); 151 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, 157 setBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, value); 161 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP, 167 setBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP, value); 171 return Settings.Secure.getInt(mContext.getContentResolver(), key, def ? 1 : 0) == 1; 175 Settings.Secure.putInt(mContext.getContentResolver(), key, value ? 1 : 0);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
KeyboardFragment.java | 78 final String defaultId = Settings.Secure.getString(getActivity().getContentResolver(), 79 Settings.Secure.DEFAULT_INPUT_METHOD); 133 Settings.Secure.putStringForUser(getActivity().getContentResolver(), 134 Settings.Secure.DEFAULT_INPUT_METHOD, imid, userId); 184 Settings.Secure.putString(getActivity().getContentResolver(), 185 Settings.Secure.ENABLED_INPUT_METHODS, builder.toString());
|
AccessibilityFragment.java | 83 highContrastPreference.setChecked(Settings.Secure.getInt(getContext().getContentResolver(), 84 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 0) == 1); 103 Settings.Secure.putInt(getActivity().getContentResolver(), 104 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 117 final boolean accessibilityEnabled = Settings.Secure.getInt( 119 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 516 private int mCurrentLocationMode = Settings.Secure.LOCATION_MODE_OFF; 525 case Settings.Secure.LOCATION_MODE_HIGH_ACCURACY: 526 case Settings.Secure.LOCATION_MODE_SENSORS_ONLY: 539 mCurrentLocationMode = Settings.Secure.getInt(resolver, 540 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 541 return (mCurrentLocationMode == Settings.Secure.LOCATION_MODE_OFF) 561 int currentMode = Settings.Secure.getInt(resolver, 562 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
ZenModeControllerImpl.java | 34 import android.provider.Settings.Secure; 264 return Secure.getIntForUser(mResolver, Secure.USER_SETUP_COMPLETE, 0, mUserId) != 0; 278 Secure.getUriFor(Secure.USER_SETUP_COMPLETE), false, this, mUserId); 285 || Secure.getUriFor(Secure.USER_SETUP_COMPLETE).equals(uri)) {
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenAccessSettings.java | 37 import android.provider.Settings.Secure; 89 Secure.getUriFor(Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES), false, 92 Secure.getUriFor(Secure.ENABLED_NOTIFICATION_LISTENERS), false, 154 String settingValue = Settings.Secure.getString(getContext().getContentResolver(), 155 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSettings.java | 14 * Shadow of {@code Settings} that allows the status of various System and Secure settings to be simulated, changed and 126 @Implements(Settings.Secure.class) 149 Settings.Secure.putInt(Robolectric.application.getContentResolver(), Settings.Secure.WIFI_ON, isOn ? 1 : 0);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManagedProfileSettings.java | 37 import static android.provider.Settings.Secure.MANAGED_PROFILE_CONTACT_REMOTE_SEARCH; 110 int value = Settings.Secure.getIntForUser(getContentResolver(), 138 Settings.Secure.putIntForUser(getContentResolver(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupAccessibilityTestActivity.java | 75 ACCESSIBILITY_SETTINGS.add(Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD); 78 ACCESSIBILITY_SETTINGS.add(Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED); 94 TTS_SETTINGS.add(Settings.Secure.TTS_DEFAULT_RATE); 97 ACCESSIBILITY_SERVICE_SETTINGS.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 99 ACCESSIBILITY_SERVICE_SETTINGS.add(Settings.Secure.TOUCH_EXPLORATION_ENABLED); 180 String value = Settings.Secure.getString(getContentResolver(), setting);
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTest.java | 390 String enabledServices = Settings.Secure.getString(cr, 391 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 392 Settings.Secure.putString(cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 394 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_ENABLED, 1); 436 Settings.Secure.putString( 437 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, null);
|