/packages/apps/Settings/src/com/android/settings/ |
PrivacySettings.java | 148 mAutoRestore.setChecked(Settings.Secure.getInt(res, 149 Settings.Secure.BACKUP_AUTO_RESTORE, 1) == 1);
|
VoiceInputOutputSettings.java | 129 String currentSetting = Settings.Secure.getString( 130 mFragment.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE); 156 // Get the current value from the secure setting. 157 String currentSetting = Settings.Secure.getString( 158 mFragment.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE); 247 // Put the new value back into secure settings. 248 Settings.Secure.putString(mFragment.getContentResolver(), 249 Settings.Secure.VOICE_RECOGNITION_SERVICE,
|
DevelopmentSettings.java | 241 if (!SystemProperties.getBoolean("ro.adb.secure", false)) { 465 updateCheckBox(mBugreportInPower, Settings.Secure.getInt(cr, 466 Settings.Secure.BUGREPORT_IN_POWER_MENU, 0) != 0); 469 updateCheckBox(mBtHciSnoopLog, Settings.Secure.getInt(cr, 470 Settings.Secure.BLUETOOTH_HCI_LOG, 0) != 0); 471 updateCheckBox(mAllowMockLocation, Settings.Secure.getInt(cr, 472 Settings.Secure.ALLOW_MOCK_LOCATION, 0) != 0); 604 Settings.Secure.putInt(getActivity().getContentResolver(), 605 Settings.Secure.BLUETOOTH_HCI_LOG, 697 Settings.Secure.putInt(resolver, Settings.Secure.BUGREPORT_IN_POWER_MENU, 0) [all...] |
SecuritySettings.java | 346 final String flat = Settings.Secure.getString(getContentResolver(), 347 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); 418 long currentTimeout = Settings.Secure.getLong(getContentResolver(), 419 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, 5000); 435 long currentTimeout = Settings.Secure.getLong(getContentResolver(), 436 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, 5000); 614 Settings.Secure.putInt(getContentResolver(), 615 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, timeout);
|
/frameworks/base/services/java/com/android/server/ |
LockSettingsService.java | 41 import android.provider.Settings.Secure; 105 String value = Settings.Secure.getString(cr, validSetting); 123 final String OWNER_INFO = Secure.LOCK_SCREEN_OWNER_INFO; 124 String ownerInfo = Settings.Secure.getStringForUser(cr, OWNER_INFO, userId); 127 Settings.Secure.putStringForUser(cr, ownerInfo, "", userId); 133 final String OWNER_INFO_ENABLED = Secure.LOCK_SCREEN_OWNER_INFO_ENABLED; 136 int ivalue = Settings.Secure.getIntForUser(cr, OWNER_INFO_ENABLED, userId); 145 Settings.Secure.putIntForUser(cr, OWNER_INFO_ENABLED, 0, userId); 519 Secure.LOCK_PATTERN_ENABLED, 520 Secure.LOCK_BIOMETRIC_WEAK_FLAGS [all...] |
TextServicesManagerService.java | [all...] |
UiModeManagerService.java | 178 mNightMode = Settings.Secure.getInt(mContext.getContentResolver(), 179 Settings.Secure.UI_NIGHT_MODE, UiModeManager.MODE_NIGHT_AUTO); 241 Settings.Secure.putInt(mContext.getContentResolver(), 242 Settings.Secure.UI_NIGHT_MODE, mode);
|
BluetoothManagerService.java | 273 Settings.Secure.getInt(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDR_VALID, 0) == 0) { 278 mName = Settings.Secure.getString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_NAME); 279 mAddress = Settings.Secure.getString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDRESS); 291 Settings.Secure.putString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_NAME, name); 294 Settings.Secure.getString(mContentResolver,SECURE_SETTINGS_BLUETOOTH_NAME)); 298 Settings.Secure.putString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDRESS, address); 301 Settings.Secure.getString(mContentResolver,SECURE_SETTINGS_BLUETOOTH_ADDRESS)); 305 Settings.Secure.putInt(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDR_VALID, 1); [all...] |
NotificationManagerService.java | 551 String flatIn = Settings.Secure.getStringForUser( 553 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 593 Settings.Secure.putStringForUser(mContext.getContentResolver(), 594 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 606 String flat = Settings.Secure.getStringForUser( 608 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodAndLanguageSettings.java | 380 Settings.Secure.putInt(getContentResolver(), 381 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, intValue); 388 return Settings.Secure.getInt(getContentResolver(), 389 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, 610 Settings.Secure.getUriFor(Settings.Secure.DEFAULT_INPUT_METHOD), false, this); 611 cr.registerContentObserver(Settings.Secure.getUriFor( 612 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE), false, this);
|
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.java | 31 import static android.provider.Settings.Secure.getString; 77 Settings.Secure.TTS_DEFAULT_SYNTH); 286 * value from {@link Settings.Secure#TTS_DEFAULT_LOCALE}, failing which the 287 * old style value from {@link Settings.Secure#TTS_DEFAULT_LANG} is read. If 296 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE), 329 * {@link Settings.Secure#TTS_DEFAULT_LANG}, 330 * {@link Settings.Secure#TTS_DEFAULT_COUNTRY} and 331 * {@link Settings.Secure#TTS_DEFAULT_VARIANT}. If no such locale is set, 337 final String lang = Settings.Secure.getString(cr, Settings.Secure.TTS_DEFAULT_LANG) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ServiceMonitor.java | 41 * Manages a persistent connection to a service component defined in a secure setting. 43 * <p>If a valid service component is specified in the secure setting, starts it up and keeps it 173 cr.registerContentObserver(Settings.Secure.getUriFor(mSettingKey), 187 String cn = Settings.Secure.getStringForUser(mContext.getContentResolver(),
|
/frameworks/base/services/java/com/android/server/dreams/ |
DreamManagerService.java | 134 Settings.Secure.putStringForUser(mContext.getContentResolver(), 135 Settings.Secure.SCREENSAVER_COMPONENTS, 150 String name = Settings.Secure.getStringForUser(mContext.getContentResolver(), 151 Settings.Secure.SCREENSAVER_DEFAULT_COMPONENT, 288 String names = Settings.Secure.getStringForUser(mContext.getContentResolver(), 289 Settings.Secure.SCREENSAVER_COMPONENTS,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 103 assertTrue(Settings.Secure.putString(mContext.getContentResolver(), key, value));
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
ImmersiveModeConfirmation.java | 93 packages = Settings.Secure.getStringForUser(mContext.getContentResolver(), 94 Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS, 109 Settings.Secure.putStringForUser(mContext.getContentResolver(), 110 Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsApplication.java | 267 String defaultApplication = Settings.Secure.getString(context.getContentResolver(), 268 Settings.Secure.SMS_DEFAULT_APPLICATION); 274 // Picking a new SMS app requires AppOps and Settings.Secure permissions, so we only do 367 * needs to have permission to set AppOps and write to secure settings. 377 String oldPackageName = Settings.Secure.getString(context.getContentResolver(), 378 Settings.Secure.SMS_DEFAULT_APPLICATION); 403 // Update the secure setting. 404 Settings.Secure.putString(context.getContentResolver(), 405 Settings.Secure.SMS_DEFAULT_APPLICATION, applicationData.mPackageName);
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 698 Settings.Secure.putStringForUser( 699 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, str, mCurrentUserId); 707 mEnabledInputMethodsStrCache = Settings.Secure.getStringForUser( 708 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, mCurrentUserId); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 144 private static final String LOCK_SCREEN_OWNER_INFO = Settings.Secure.LOCK_SCREEN_OWNER_INFO; 146 Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED; 773 * Generate an SHA-1 hash for the pattern. Not the most secure, but it is 816 * Not the most secure, but it is at least a second level of protection. First level is that [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
RegisteredAidCache.java | 106 Settings.Secure.getUriFor(Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT), 186 // TODO Not really nice to be writing to Settings.Secure here... 188 // Settings.Secure 190 Settings.Secure.putStringForUser(mContext.getContentResolver(), 191 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT, 228 String name = Settings.Secure.getStringForUser( 229 mContext.getContentResolver(), Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT, 421 String name = Settings.Secure.getStringForUser( 422 mContext.getContentResolver(), Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT [all...] |
/packages/apps/Settings/src/com/android/settings/print/ |
PrintServiceSettingsFragment.java | 470 contentResolver.registerContentObserver(Settings.Secure.getUriFor( 471 Settings.Secure.ENABLED_PRINT_SERVICES), false, this);
|
PrintSettingsFragment.java | 151 String searchUri = Settings.Secure.getString(getContentResolver(), 152 Settings.Secure.PRINT_SERVICE_SEARCH_URI); 331 contentResolver.registerContentObserver(Settings.Secure.getUriFor( 332 Settings.Secure.ENABLED_PRINT_SERVICES), false, this);
|
/frameworks/base/services/java/com/android/server/print/ |
UserState.java | 671 readPrintServicesFromSettingLocked(Settings.Secure.ENABLED_PRINT_SERVICES, 683 String settingValue = Settings.Secure.getStringForUser(mContext.getContentResolver(), 709 Settings.Secure.ENABLED_ON_FIRST_BOOT_SYSTEM_PRINT_SERVICES, 739 String enabledServices = Settings.Secure.getStringForUser( 740 mContext.getContentResolver(), Settings.Secure.ENABLED_PRINT_SERVICES, mUserId); 746 Settings.Secure.putStringForUser(mContext.getContentResolver(), 747 Settings.Secure.ENABLED_PRINT_SERVICES, enabledServices, mUserId); 750 String enabledOnFirstBootServices = Settings.Secure.getStringForUser( 752 Settings.Secure.ENABLED_ON_FIRST_BOOT_SYSTEM_PRINT_SERVICES, mUserId); 758 Settings.Secure.putStringForUser(mContext.getContentResolver() [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 273 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 278 Settings.Secure. 311 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
UserSettings.java | 54 import android.provider.Settings.Secure; 348 Secure.putStringForUser(getContentResolver(), 349 Secure.LOCATION_PROVIDERS_ALLOWED, "", userId);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 512 private int mCurrentLocationMode = Settings.Secure.LOCATION_MODE_OFF; 521 case Settings.Secure.LOCATION_MODE_HIGH_ACCURACY: 522 case Settings.Secure.LOCATION_MODE_SENSORS_ONLY: 535 mCurrentLocationMode = Settings.Secure.getInt(resolver, 536 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 537 return (mCurrentLocationMode == Settings.Secure.LOCATION_MODE_OFF) 557 int currentMode = Settings.Secure.getInt(resolver, 558 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) [all...] |