/packages/apps/Settings/src/com/android/settings/backup/ |
ToggleBackupSettingFragment.java | 87 if (Settings.Secure.getInt(getContentResolver(), USER_FULL_DATA_BACKUP_AWARE, 0) != 0) { 177 if (Settings.Secure.getInt(getContentResolver(), USER_FULL_DATA_BACKUP_AWARE, 0) != 0) {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodAndLanguageSettings.java | 364 Settings.Secure.putInt(getContentResolver(), 365 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, intValue); 372 return Settings.Secure.getInt(getContentResolver(), 373 Settings.Secure.INPUT_METHOD_SELECTOR_VISIBILITY, 656 Settings.Secure.getUriFor(Settings.Secure.DEFAULT_INPUT_METHOD), false, this); 657 cr.registerContentObserver(Settings.Secure.getUriFor( 658 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE), false, this); [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
NotificationController.java | 92 Settings.Secure.putInt(context.getContentResolver(), 93 Settings.Secure.AUTOMATIC_STORAGE_MANAGER_ENABLED,
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
Utils.java | 63 import android.provider.Settings.Secure; 337 Secure.putIntForUser(context.getContentResolver(), Secure.USER_SETUP_COMPLETE, 1, userId); 344 return Secure.getInt(context.getContentResolver(), Secure.USER_SETUP_COMPLETE, 0) != 0;
|
/frameworks/base/services/core/java/com/android/server/vr/ |
VrManagerService.java | 421 Settings.Secure.ENABLED_VR_LISTENERS, looper, 635 Settings.Secure.putStringForUser(resolver, 636 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 658 Settings.Secure.putStringForUser(resolver, 659 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 687 String flat = Settings.Secure.getStringForUser(resolver, 688 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, userId); [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 268 int mode = Settings.Secure.getInt( 269 cr, Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); 270 boolean gps = Settings.Secure.isLocationProviderEnabled(cr, LocationManager.GPS_PROVIDER); 271 boolean nlp = Settings.Secure.isLocationProviderEnabled( 285 // Assert LocationManager returned the values from Settings.Secure (assuming the device has 291 case Settings.Secure.LOCATION_MODE_OFF: 295 case Settings.Secure.LOCATION_MODE_SENSORS_ONLY: 299 case Settings.Secure.LOCATION_MODE_BATTERY_SAVING: 303 case Settings.Secure.LOCATION_MODE_HIGH_ACCURACY [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
CreateAndManageUserTest.java | 89 boolean setupComplete = (Settings.Secure.getInt(context.getContentResolver(),
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 325 return Settings.Secure.getInt(getContext().getContentResolver(), 326 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) != 327 Settings.Secure.LOCATION_MODE_OFF;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeService.java | 141 Settings.Secure.DOZE_PULSE_ON_PICK_UP, 146 Settings.Secure.DOZE_PULSE_ON_DOUBLE_TAP, true, 342 Settings.Secure.getUriFor(s.mSetting), false /* descendants */, 506 return Settings.Secure.getIntForUser(mContext.getContentResolver(), mSetting, 1,
|
/frameworks/base/services/core/java/com/android/server/ |
UiModeManagerService.java | 203 mNightMode = Settings.Secure.getInt(context.getContentResolver(), 204 Settings.Secure.UI_NIGHT_MODE, defaultNightMode); 288 Settings.Secure.putInt(getContext().getContentResolver(), 289 Settings.Secure.UI_NIGHT_MODE, mode);
|
/frameworks/base/services/core/java/com/android/server/power/ |
PowerManagerService.java | 53 import android.provider.Settings.Secure; 628 resolver.registerContentObserver(Settings.Secure.getUriFor( 629 Settings.Secure.SCREENSAVER_ENABLED), 631 resolver.registerContentObserver(Settings.Secure.getUriFor( 632 Settings.Secure.SCREENSAVER_ACTIVATE_ON_SLEEP), 634 resolver.registerContentObserver(Settings.Secure.getUriFor( 635 Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK), 640 resolver.registerContentObserver(Settings.Secure.getUriFor( 641 Settings.Secure.SLEEP_TIMEOUT), 664 resolver.registerContentObserver(Settings.Secure.getUriFor [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
CertBlacklisterTest.java | 46 Settings.Secure.putString(mContext.getContentResolver(), key, value);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionSessionConnection.java | 214 if (Settings.Secure.getIntForUser(mContext.getContentResolver(), 215 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1, mUser) == 0) { 218 if (Settings.Secure.getIntForUser(mContext.getContentResolver(), 219 Settings.Secure.ASSIST_SCREENSHOT_ENABLED, 1, mUser) == 0) {
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
CardEmulationManager.java | 285 String name = Settings.Secure.getStringForUser( 286 mContext.getContentResolver(), Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT, 306 // TODO Not really nice to be writing to Settings.Secure here... 308 // Settings.Secure 310 Settings.Secure.putStringForUser(mContext.getContentResolver(), 311 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT,
|
/packages/apps/Settings/src/com/android/settings/ |
ApplicationSettings.java | 122 Settings.Secure.putInt(getContentResolver(), Settings.System.ADVANCED_SETTINGS, value);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationAccessSettings.java | 52 c.setting = Settings.Secure.ENABLED_NOTIFICATION_LISTENERS;
|
/packages/apps/Settings/src/com/android/settings/utils/ |
ZenServiceListing.java | 74 final String flat = Settings.Secure.getString(mContentResolver, setting);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SecurityFragment.java | 248 return Settings.Secure.getInt(getContext().getContentResolver(), 249 Settings.Secure.INSTALL_NON_MARKET_APPS, 0) > 0; 257 Settings.Secure.putInt(getContext().getContentResolver(), 258 Settings.Secure.INSTALL_NON_MARKET_APPS, enabled ? 1 : 0);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
AccessibilityUtils.java | 135 final boolean speakPassword = Settings.Secure.getInt(mContext.getContentResolver(),
|
/packages/services/Telephony/src/com/android/phone/ |
CdmaSystemSelectListPreference.java | 27 import android.provider.Settings.Secure; 84 //Set the Settings.Secure network mode 130 //changes the Settings.Secure accordingly to statusCdmaRoamingMode
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
SettingsCmd.java | 101 && !"secure".equalsIgnoreCase(arg) 193 : "secure".equals(table) ? Settings.Secure.CONTENT_URI 232 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE; 257 else if ("secure".equals(table)) callPutCommand = Settings.CALL_METHOD_PUT_SECURE; 278 else if ("secure".equals(table)) targetUri = Settings.Secure.getUriFor(key); 300 System.err.println("\n'namespace' is one of {system, secure, global}, case-insensitive");
|
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 273 String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(), 274 Settings.Secure.VOICE_RECOGNITION_SERVICE);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 75 * Performs backup and restore of the System and Secure settings. 83 private static final String KEY_SECURE = "secure"; 565 Settings.Secure.getMovedToGlobalSettings(movedToGlobal); 577 restoreSettings(data, Settings.Secure.CONTENT_URI, movedToGlobal); 664 Log.d(TAG, secureSettingsData.length + " bytes of secure settings data"); 720 Settings.Secure.getMovedToGlobalSettings(movedToGlobal); 729 // secure settings 731 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of secure settings data"); 734 restoreSettings(buffer, nBytes, Settings.Secure.CONTENT_URI, movedToGlobal); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
AssistManager.java | 191 boolean structureEnabled = Settings.Secure.getIntForUser(mContext.getContentResolver(), 192 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1, UserHandle.USER_CURRENT) != 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
FalsingManager.java | 91 Settings.Secure.getUriFor(ENFORCE_BOUNCER), false, 106 mEnforceBouncer = 0 != Settings.Secure.getInt(mContext.getContentResolver(),
|