/frameworks/base/core/tests/coretests/src/android/os/ |
SetPersistentVrThreadTest.java | 59 mOldVrListener = Settings.Secure.getString(mContext.getContentResolver(), 61 Settings.Secure.putString(mContext.getContentResolver(), ENABLED_VR_LISTENERS, 73 Settings.Secure.putString(mContext.getContentResolver(), ENABLED_VR_LISTENERS,
|
PowerManagerVrTest.java | 145 String oldVrListeners = Settings.Secure.getString(cr, ENABLED_VR_LISTENERS); 146 Settings.Secure.putString(cr, ENABLED_VR_LISTENERS, newValue);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
BackupManagerConstants.java | 33 * a Settings.Secure. 37 private static final String SETTING = Settings.Secure.BACKUP_MANAGER_CONSTANTS; 39 // Key names stored in the secure settings value. 103 super(handler, resolver, Settings.Secure.getUriFor(SETTING)); 107 return Settings.Secure.getString(resolver, SETTING);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiSettingsStore.java | 234 return Settings.Secure.getInt(context.getContentResolver(), 235 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
ManagedProfileSettings.java | 38 import static android.provider.Settings.Secure.MANAGED_PROFILE_CONTACT_REMOTE_SEARCH; 111 int value = Settings.Secure.getIntForUser(getContentResolver(), 144 Settings.Secure.putIntForUser(getContentResolver(),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
RecentLocationRequestSeeAllPreferenceControllerTest.java | 29 import android.provider.Settings.Secure; 86 mController.onLocationModeChanged(Secure.LOCATION_MODE_HIGH_ACCURACY, false); 95 mController.onLocationModeChanged(Secure.LOCATION_MODE_OFF, false);
|
/frameworks/base/core/java/android/service/autofill/ |
UserData.java | 18 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_CATEGORY_COUNT; 19 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_FIELD_CLASSIFICATION_IDS_SIZE; 20 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_USER_DATA_SIZE; 21 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MAX_VALUE_LENGTH; 22 import static android.provider.Settings.Secure.AUTOFILL_USER_DATA_MIN_VALUE_LENGTH; 415 return Settings.Secure.getInt(cr, settings, defaultValue);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
DataCollector.java | 87 Settings.Secure.getUriFor(COLLECTOR_ENABLE), false, 92 Settings.Secure.getUriFor(COLLECT_BAD_TOUCHES), false, 97 Settings.Secure.getUriFor(ALLOW_REJECTED_TOUCH_REPORTS), false, 112 mEnableCollector = Build.IS_DEBUGGABLE && 0 != Settings.Secure.getInt( 115 mCollectBadTouches = mEnableCollector && 0 != Settings.Secure.getInt( 118 mAllowReportRejectedTouch = Build.IS_DEBUGGABLE && 0 != Settings.Secure.getInt(
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 68 import android.provider.Settings.Secure; 117 * and shared across users), secure (with signature permission level 133 * ensure the clients do not put bad values. Global and secure settings are 148 private static final String TABLE_SECURE = "secure"; 213 // Changes to these secure settings are synchronously persisted 216 CRITICAL_SECURE_SETTINGS.add(Settings.Secure.USER_SETUP_COMPLETE); 219 // Per user secure settings that moved to the for all users global settings. 222 Settings.Secure.getMovedToGlobalSettings(sSecureMovedToGlobalSettings); 231 // Per user system settings that moved to the per user secure settings. 237 // Per all users global settings that moved to the per user secure settings [all...] |
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTest.java | 396 String enabledServices = Settings.Secure.getString(cr, 397 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 398 Settings.Secure.putString(cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, 400 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_ENABLED, 1); 442 Settings.Secure.putString( 443 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, null);
|
/frameworks/base/core/java/android/speech/tts/ |
TtsEngines.java | 31 import static android.provider.Settings.Secure.getString; 115 Settings.Secure.TTS_DEFAULT_SYNTH); 324 * value from {@link Settings.Secure#TTS_DEFAULT_LOCALE}, failing which the 332 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE)); 361 * read the value from {@link Settings.Secure#TTS_DEFAULT_LOCALE}. If 368 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE), 518 final String prefList = Settings.Secure.getString(mContext.getContentResolver(), 519 Settings.Secure.TTS_DEFAULT_LOCALE); 530 Settings.Secure.putString(mContext.getContentResolver(), 531 Settings.Secure.TTS_DEFAULT_LOCALE, newPrefList.toString()) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
DreamBackend.java | 199 return getBoolean(Settings.Secure.SCREENSAVER_ENABLED, mDreamsEnabledByDefault); 204 setBoolean(Settings.Secure.SCREENSAVER_ENABLED, value); 208 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, 214 setBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, value); 218 return getBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP, 224 setBoolean(Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP, value); 228 return Settings.Secure.getInt(mContext.getContentResolver(), key, def ? 1 : 0) == 1; 232 Settings.Secure.putInt(mContext.getContentResolver(), key, value ? 1 : 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
ColorInversionTile.java | 21 import android.provider.Settings.Secure; 46 Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
PowerNotificationControlsFragment.java | 64 Settings.Secure.putInt(getContext().getContentResolver(), 89 int setting = Settings.Secure.getInt(getContext().getContentResolver(), KEY_SHOW_PNC, 0);
|
/frameworks/base/services/core/java/com/android/server/location/ |
LocationBlacklist.java | 61 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 63 // mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 129 flatString = Settings.Secure.getStringForUser(mContext.getContentResolver(), key,
|
/frameworks/base/tests/testables/src/android/testing/ |
TestableSettingsProvider.java | 54 mValues.put(key("secure", MY_UNIQUE_KEY, userId), MY_UNIQUE_KEY); 58 Settings.Secure.clearProviderForTest(); 65 Settings.Secure.getString(context.getContentResolver(), MY_UNIQUE_KEY));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
CellBroadcastHandler.java | 19 import static android.provider.Settings.Secure.CMAS_ADDITIONAL_BROADCAST_PKG; 118 final String additionalPackage = Settings.Secure.getString(
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
DoubleTapScreenPreferenceController.java | 35 import static android.provider.Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP; 99 return Settings.Secure.putInt(mContext.getContentResolver(), SECURE_KEY, 120 return new InlineSwitchPayload(SECURE_KEY, ResultPayload.SettingsSource.SECURE,
|
PickupGesturePreferenceController.java | 19 import static android.provider.Settings.Secure.DOZE_PULSE_ON_PICK_UP; 108 return Settings.Secure.putInt(mContext.getContentResolver(), SECURE_KEY, 123 return new InlineSwitchPayload(SECURE_KEY, ResultPayload.SettingsSource.SECURE,
|
/packages/apps/Settings/src/com/android/settings/search/ |
InlinePayload.java | 116 case SettingsSource.SECURE: 117 settingsValue = Settings.Secure.getInt(context.getContentResolver(), 146 case SettingsSource.SECURE: 147 return Settings.Secure.putInt(context.getContentResolver(), mSettingKey, newValue);
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnUtils.java | 68 && Settings.Secure.getIntForUser(context.getContentResolver(), 69 Settings.Secure.ALWAYS_ON_VPN_LOCKDOWN, /* default */ 0, userId) != 0;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SettingsFragment.java | 25 import android.provider.Settings.Secure; 99 return Secure.getInt(activity.getContentResolver(), "user_setup_complete", 0) != 0;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TtyManager.java | 45 mPreferredTtyMode = Settings.Secure.getInt( 47 Settings.Secure.PREFERRED_TTY_MODE,
|
/packages/services/Telephony/src/com/android/phone/ |
CdmaVoicePrivacySwitchPreference.java | 89 android.provider.Settings.Secure.putInt(getContext().getContentResolver(), 90 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable);
|
/cts/tests/autofillservice/src/android/autofillservice/cts/common/ |
OneTimeSettingsListener.java | 34 * Helper used to block tests until a secure settings value has been updated. 52 uri = Settings.Secure.getUriFor(key);
|