Searched refs:settingsState (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 246 SettingsState settingsState = getSettingStateObject(); in testResetSetting_preservedFlagIsReset() local 248 settingsState.insertSettingLocked(SETTING_NAME, "1", null, false, TEST_PACKAGE); in testResetSetting_preservedFlagIsReset() 250 settingsState.insertSettingLocked(SETTING_NAME, "2", null, false, TEST_PACKAGE); in testResetSetting_preservedFlagIsReset() 252 settingsState.resetSettingLocked(SETTING_NAME); in testResetSetting_preservedFlagIsReset() 253 assertFalse(settingsState.getSettingLocked(SETTING_NAME).isValuePreservedInRestore()); in testResetSetting_preservedFlagIsReset() 258 SettingsState settingsState = getSettingStateObject(); in testModifySettingBySystemPackage_sameValue_preserveFlagNotSet() local 260 settingsState.insertSettingLocked(SETTING_NAME, "1", null, false, SYSTEM_PACKAGE); in testModifySettingBySystemPackage_sameValue_preserveFlagNotSet() 262 settingsState.insertSettingLocked(SETTING_NAME, "1", null, false, SYSTEM_PACKAGE); in testModifySettingBySystemPackage_sameValue_preserveFlagNotSet() 264 assertFalse(settingsState.getSettingLocked(SETTING_NAME).isValuePreservedInRestore()); in testModifySettingBySystemPackage_sameValue_preserveFlagNotSet() 268 SettingsState settingsState = getSettingStateObject(); in testModifySettingBySystemPackage_newValue_preserveFlagSet() local [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 859 private void dumpSettingsLocked(SettingsState settingsState, PrintWriter pw) { in dumpSettingsLocked() argument 860 List<String> names = settingsState.getSettingNamesLocked(); in dumpSettingsLocked() 866 Setting setting = settingsState.getSettingLocked(name); in dumpSettingsLocked() 1154 SettingsState settingsState = mSettingsRegistry.getSettingsLocked( in getAllConfigFlags() local 1164 Setting setting = settingsState.getSettingLocked(name); in getAllConfigFlags() 1181 SettingsState settingsState = mSettingsRegistry.getSettingsLocked( in getAllGlobalSettings() local 1195 Setting setting = settingsState.getSettingLocked(name); in getAllGlobalSettings() 1494 private Setting mascaradeSsaidSetting(SettingsState settingsState, Setting ssaidSetting) { in mascaradeSsaidSetting() argument 1500 return settingsState.new Setting(ssaidSetting) { in mascaradeSsaidSetting() 1524 final SettingsState settingsState = mSettingsRegistry.getSettingsLocked( [all …]
|