Home
last modified time | relevance | path

Searched refs:oldSetting (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java800 Setting oldSetting = getSettingLocked(name); in resetSettingDefaultValueLocked() local
801 if (oldSetting != null && !oldSetting.isNull() && oldSetting.getDefaultValue() != null) { in resetSettingDefaultValueLocked()
802 String oldValue = oldSetting.getValue(); in resetSettingDefaultValueLocked()
803 String oldDefaultValue = oldSetting.getDefaultValue(); in resetSettingDefaultValueLocked()
804 Setting newSetting = new Setting(name, oldSetting.getValue(), null, in resetSettingDefaultValueLocked()
805 oldSetting.getPackageName(), oldSetting.getTag(), false, in resetSettingDefaultValueLocked()
806 oldSetting.getId()); in resetSettingDefaultValueLocked()
1100 Setting oldSetting = new Setting(setting);
1114 addHistoricalOperationLocked(HISTORICAL_OPERATION_RESET, oldSetting);
DSettingsProvider.java5294 final Setting oldSetting = globalSettings.getSettingLocked(oldName);
5295 if (newSetting.isNull() && !oldSetting.isNull()) {
5297 Global.GNSS_SATELLITE_BLOCKLIST, oldSetting.getValue(), null, true,
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2043 void restoreEnabledAccessibilityServicesLocked(String oldSetting, String newSetting, in restoreEnabledAccessibilityServicesLocked() argument
2045 readComponentNamesFromStringLocked(oldSetting, mTempComponentNameSet, false); in restoreEnabledAccessibilityServicesLocked()
2067 void restoreAccessibilityButtonTargetsLocked(String oldSetting, String newSetting) { in restoreAccessibilityButtonTargetsLocked() argument
2069 readColonDelimitedStringToSet(oldSetting, str -> str, targetsFromSetting, in restoreAccessibilityButtonTargetsLocked()