/frameworks/base/core/java/android/server/ |
BluetoothInputProfileHandler.java | 138 return Settings.Secure.getInt(mContext.getContentResolver(), 139 Settings.Secure.getBluetoothInputDevicePriorityKey(device.getAddress()), 147 return Settings.Secure.putInt(mContext.getContentResolver(), 148 Settings.Secure.getBluetoothInputDevicePriorityKey(device.getAddress()),
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 41 import static android.provider.Settings.Secure.NETSTATS_DEV_BUCKET_DURATION; 42 import static android.provider.Settings.Secure.NETSTATS_DEV_DELETE_AGE; 43 import static android.provider.Settings.Secure.NETSTATS_DEV_PERSIST_BYTES; 44 import static android.provider.Settings.Secure.NETSTATS_DEV_ROTATE_AGE; 45 import static android.provider.Settings.Secure.NETSTATS_GLOBAL_ALERT_BYTES; 46 import static android.provider.Settings.Secure.NETSTATS_POLL_INTERVAL; 47 import static android.provider.Settings.Secure.NETSTATS_REPORT_XT_OVER_DEV; 48 import static android.provider.Settings.Secure.NETSTATS_SAMPLE_ENABLED; 49 import static android.provider.Settings.Secure.NETSTATS_TIME_CACHE_MAX_AGE; 50 import static android.provider.Settings.Secure.NETSTATS_UID_BUCKET_DURATION [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
DropBoxTest.java | 48 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_AGE_SECONDS, ""); 49 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_MAX_FILES, ""); 50 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_QUOTA_KB, ""); 51 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest", ""); 257 Settings.Secure.putString(cr, Settings.Secure.DROPBOX_TAG_PREFIX + "DropBoxTest" [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 222 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 227 Settings.Secure. 251 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 291 * {@link ContentObserver}s for {@link Settings.Secure#ACCESSIBILITY_ENABLED} 292 * and {@link Settings.Secure#ENABLED_ACCESSIBILITY_SERVICES} settings. 297 Uri accessibilityEnabledUri = Settings.Secure.getUriFor( 298 Settings.Secure.ACCESSIBILITY_ENABLED); 315 Uri touchExplorationRequestedUri = Settings.Secure.getUriFor( 316 Settings.Secure.TOUCH_EXPLORATION_ENABLED); 334 Settings.Secure.getUriFor(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES) [all...] |
/frameworks/base/services/java/com/android/server/ |
ConnectivityService.java | 338 String id = Settings.Secure.getString(context.getContentResolver(), 339 Settings.Secure.ANDROID_ID); 347 String dns = Settings.Secure.getString(context.getContentResolver(), 348 Settings.Secure.DEFAULT_DNS_SERVER); 650 Settings.Secure.putInt(cr, Settings.Secure.NETWORK_PREFERENCE, preference); 662 /** Check system properties for the default value then use secure settings value, if any. */ 664 "conn." + Settings.Secure.CONNECTIVITY_CHANGE_DELAY, 665 Settings.Secure.CONNECTIVITY_CHANGE_DELAY_DEFAULT); 666 return Settings.Secure.getInt(cr, Settings.Secure.CONNECTIVITY_CHANGE_DELAY [all...] |
WifiService.java | 139 * See {@link Settings.Secure#WIFI_IDLE_MS}. This is the default value if a 140 * Settings.Secure value is not present. This timeout value is chosen as 427 NOTIFICATION_REPEAT_DELAY_MS = Settings.Secure.getInt(context.getContentResolver(), 428 Settings.Secure.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, 900) * 1000l; 460 wifiSavedState = Settings.Secure.getInt(cr, Settings.Secure.WIFI_SAVED_STATE); 462 Settings.Secure.putInt(cr, Settings.Secure.WIFI_SAVED_STATE, 0); 472 return Settings.Secure.getInt(cr, Settings.Secure.WIFI_ON) [all...] |
DropBoxManagerService.java | 148 Settings.Secure.CONTENT_URI, true, 266 return !"disabled".equals(Settings.Secure.getString( 267 mContentResolver, Settings.Secure.DROPBOX_TAG_PREFIX + tag)); 689 int ageSeconds = Settings.Secure.getInt(mContentResolver, 690 Settings.Secure.DROPBOX_AGE_SECONDS, DEFAULT_AGE_SECONDS); 691 int maxFiles = Settings.Secure.getInt(mContentResolver, 692 Settings.Secure.DROPBOX_MAX_FILES, DEFAULT_MAX_FILES); 711 int quotaPercent = Settings.Secure.getInt(mContentResolver, 712 Settings.Secure.DROPBOX_QUOTA_PERCENT, DEFAULT_QUOTA_PERCENT); 713 int reservePercent = Settings.Secure.getInt(mContentResolver [all...] |
TextServicesManagerService.java | 188 Settings.Secure.getString(mContext.getContentResolver(), 189 Settings.Secure.SELECTED_SPELL_CHECKER); 207 Settings.Secure.getString(mContext.getContentResolver(), 208 Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE); 462 Settings.Secure.putString(mContext.getContentResolver(), 463 Settings.Secure.SELECTED_SPELL_CHECKER, sciId); 484 Settings.Secure.putString(mContext.getContentResolver(), 485 Settings.Secure.SELECTED_SPELL_CHECKER_SUBTYPE, String.valueOf(tempHashCode)); 497 Settings.Secure.putInt(mContext.getContentResolver(), 498 Settings.Secure.SPELL_CHECKER_ENABLED, enabled ? 1 : 0) [all...] |
InputMethodManagerService.java | 73 import android.provider.Settings.Secure; 385 resolver.registerContentObserver(Settings.Secure.getUriFor( 386 Settings.Secure.DEFAULT_INPUT_METHOD), false, this); 387 resolver.registerContentObserver(Settings.Secure.getUriFor( 388 Settings.Secure.ENABLED_INPUT_METHODS), false, this); 389 resolver.registerContentObserver(Settings.Secure.getUriFor( 390 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE), false, this); 429 String curInputMethodId = Settings.Secure.getString(mContext 430 .getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD); 457 String curInputMethodId = Settings.Secure.getString(mContex [all...] |
/frameworks/base/core/tests/coretests/src/android/webkit/ |
AccessibilityInjectorTest.java | [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardUpdateMonitor.java | 220 mDeviceProvisioned = Settings.Secure.getInt( 221 mContext.getContentResolver(), Settings.Secure.DEVICE_PROVISIONED, 0) != 0; 230 mDeviceProvisioned = Settings.Secure.getInt(mContext.getContentResolver(), 231 Settings.Secure.DEVICE_PROVISIONED, 0) != 0; 240 Settings.Secure.getUriFor(Settings.Secure.DEVICE_PROVISIONED), 245 boolean provisioned = Settings.Secure.getInt(mContext.getContentResolver(), 246 Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaSubscriptionSourceManager.java | 141 int subscriptionSource = Settings.Secure.getInt(mContext.getContentResolver(), 142 Settings.Secure.CDMA_SUBSCRIPTION_MODE, PREFERRED_CDMA_SUBSCRIPTION);
|
CdmaLteServiceStateTracker.java | 174 int networkMode = android.provider.Settings.Secure.getInt(phone.getContext() 176 android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, 217 // databases/settings.db "update secure set value='11' where name='preferred_network_mode'" 219 int networkMode = android.provider.Settings.Secure.getInt(phone.getContext() 221 android.provider.Settings.Secure.PREFERRED_NETWORK_MODE,
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettings.java | 113 boolean enableDevSettings = Settings.Secure.getInt(getActivity().getContentResolver(), 114 Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0;
|
/packages/apps/Phone/src/com/android/phone/ |
CellBroadcastSms.java | 186 android.provider.Settings.Secure.putInt(mPhone.getContext().getContentResolver(), 187 android.provider.Settings.Secure.CDMA_CELL_BROADCAST_SMS, 193 android.provider.Settings.Secure.putInt(mPhone.getContext().getContentResolver(), 194 android.provider.Settings.Secure.CDMA_CELL_BROADCAST_SMS, 425 int settingCbSms = android.provider.Settings.Secure.getInt( 427 android.provider.Settings.Secure.CDMA_CELL_BROADCAST_SMS, 550 android.provider.Settings.Secure.putInt(mPhone.getContext().getContentResolver(), 551 android.provider.Settings.Secure.CDMA_CELL_BROADCAST_SMS,
|
OtaStartupReceiver.java | 161 boolean provisioned = Settings.Secure.getInt(context.getContentResolver(), 162 Settings.Secure.DEVICE_PROVISIONED, 0) != 0;
|
/packages/apps/Settings/src/com/android/settings/ |
AccessibilityEnableScriptInjectionPreference.java | 141 Settings.Secure.putInt(getContext().getContentResolver(), 142 Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, enabled ? 1 : 0);
|
PrivacySettings.java | 148 mAutoRestore.setChecked(Settings.Secure.getInt(res, 149 Settings.Secure.BACKUP_AUTO_RESTORE, 1) == 1);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodAndLanguageSettings.java | 356 Settings.Secure.putInt(getContentResolver(), 357 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, intValue); 364 return Settings.Secure.getInt(getContentResolver(), 365 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, 544 Settings.Secure.getUriFor(Settings.Secure.DEFAULT_INPUT_METHOD), false, this); 545 cr.registerContentObserver(Settings.Secure.getUriFor( 546 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE), false, this);
|
/frameworks/base/core/java/android/webkit/ |
AccessibilityInjector.java | 339 final int injectionSetting = Settings.Secure.getInt( 340 mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, 0); 441 final String screenReaderUrl = Settings.Secure.getString( 442 mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_SCREEN_READER_URL);
|
/frameworks/base/core/java/android/service/dreams/ |
DreamManagerService.java | 3 import static android.provider.Settings.Secure.SCREENSAVER_COMPONENT; 79 Settings.Secure.putString(mContext.getContentResolver(), SCREENSAVER_COMPONENT, name.flattenToString()); 85 String component = Settings.Secure.getString(mContext.getContentResolver(), SCREENSAVER_COMPONENT);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 61 private static final SettingsCache sSecureCache = new SettingsCache("secure"); 110 if ("system".equals(this.table) || "secure".equals(this.table)) { 147 if ("system".equals(table) || "secure".equals(table)) { 172 } else if (table.equals("secure")) { 173 property = Settings.Secure.SYS_PROP_SETTING_VERSION; 204 if ("secure".equals(args.table) && 209 String.format("Permission denial: writing to secure settings requires %1$s", 278 fullyPopulateCache("secure", sSecureCache); 316 final Cursor c = query(Settings.Secure.CONTENT_URI, 319 new String[] { Settings.Secure.ANDROID_ID }, null) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
DataConnectionTracker.java | 380 Settings.Secure.getUriFor(Settings.Secure.DATA_ROAMING), false, this); 514 mUserDataEnabled = Settings.Secure.getInt( 515 mPhone.getContext().getContentResolver(), Settings.Secure.MOBILE_DATA, 1) == 1; 533 // watch for changes to Settings.Secure.DATA_ROAMING 576 String apnData = Settings.Secure.getString(c.getContentResolver(), 577 Settings.Secure.TETHER_DUN_APN); 580 if (VDBG) log("fetchDunApn: secure TETHER_DUN_APN dunSetting=" + dunSetting); 611 * Modify {@link Settings.Secure#DATA_ROAMING} value. 616 Settings.Secure.putInt(resolver, Settings.Secure.DATA_ROAMING, enabled ? 1 : 0) [all...] |
/packages/apps/Settings/src/com/android/settings/tts/ |
TextToSpeechSettings.java | 19 import static android.provider.Settings.Secure.TTS_DEFAULT_RATE; 20 import static android.provider.Settings.Secure.TTS_DEFAULT_SYNTH; 165 mDefaultRate = Settings.Secure.getInt(resolver, TTS_DEFAULT_RATE); 296 Settings.Secure.putInt(getContentResolver(), TTS_DEFAULT_RATE, mDefaultRate); 434 Settings.Secure.putString(getContentResolver(), TTS_DEFAULT_SYNTH, engine);
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternUtils.java | 723 * Generate an SHA-1 hash for the pattern. Not the most secure, but it is 766 * Not the most secure, but it is at least a second level of protection. First level is that 825 return getBoolean(Settings.Secure.LOCK_PATTERN_ENABLED, false) [all...] |