Home
last modified time | relevance | path

Searched refs:getSettingLocked (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java157 assertEquals("\u0000", ssReader.getSettingLocked("k1").getValue()); in testReadWrite()
158 assertEquals("abc", ssReader.getSettingLocked("k2").getValue()); in testReadWrite()
159 assertEquals(null, ssReader.getSettingLocked("k3").getValue()); in testReadWrite()
160 assertEquals(CRAZY_STRING, ssReader.getSettingLocked("k4").getValue()); in testReadWrite()
185 s = ss.getSettingLocked("k0"); in testUpgrade()
189 s = ss.getSettingLocked("k1"); in testUpgrade()
193 s = ss.getSettingLocked("k2"); in testUpgrade()
205 assertFalse(settingsReader.getSettingLocked(SETTING_NAME).isValuePreservedInRestore()); in testInitializeSetting_preserveFlagNotSet()
215 assertTrue(settingsReader.getSettingLocked(SETTING_NAME).isValuePreservedInRestore()); in testModifySetting_preserveFlagSet()
226 assertFalse(settingsReader.getSettingLocked(SETTING_NAME).isValuePreservedInRestore()); in testModifySettingOverrideableByRestore_preserveFlagNotSet()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java866 Setting setting = settingsState.getSettingLocked(name); in dumpSettingsLocked()
1071 return mSettingsRegistry.getSettingLocked(SETTINGS_TYPE_CONFIG, in getConfigSetting()
1164 Setting setting = settingsState.getSettingLocked(name); in getAllConfigFlags()
1195 Setting setting = settingsState.getSettingLocked(name); in getAllGlobalSettings()
1213 return mSettingsRegistry.getSettingLocked(SETTINGS_TYPE_GLOBAL, in getGlobalSetting()
1375 setting = mSettingsRegistry.getSettingLocked(SETTINGS_TYPE_SECURE, owningUserId, in getAllSecureSettings()
1430 return mSettingsRegistry.getSettingLocked(SETTINGS_TYPE_SECURE, in getSecureSetting()
1451 final Setting ssaid = mSettingsRegistry.getSettingLocked(SETTINGS_TYPE_SSAID, owningUserId, in getSsaidSettingLocked()
1480 Setting setting = mSettingsRegistry.getSettingLocked(SETTINGS_TYPE_SSAID, in getSsaidSettingLocked()
1681 Setting setting = mSettingsRegistry.getSettingLocked(
[all …]
DSettingsState.java356 public Setting getSettingLocked(String name) { in getSettingLocked() method in SettingsState
380 Setting oldSetting = getSettingLocked(name); in resetSettingDefaultValueLocked()
DSettingsProtoDumpUtil.java1697 SettingsState.Setting setting = settings.getSettingLocked(settingName); in dumpSetting()