Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java146 ssWriter.insertSettingLocked("k1", "\u0000", null, false, "package"); in testReadWrite()
147 ssWriter.insertSettingLocked("k2", "abc", null, false, "p2"); in testReadWrite()
148 ssWriter.insertSettingLocked("k3", null, null, false, "p2"); in testReadWrite()
149 ssWriter.insertSettingLocked("k4", CRAZY_STRING, null, false, "p3"); in testReadWrite()
201 settingsWriter.insertSettingLocked(SETTING_NAME, "1", null, false, TEST_PACKAGE); in testInitializeSetting_preserveFlagNotSet()
210 settingsWriter.insertSettingLocked(SETTING_NAME, "1", null, false, TEST_PACKAGE); in testModifySetting_preserveFlagSet()
211 settingsWriter.insertSettingLocked(SETTING_NAME, "2", null, false, TEST_PACKAGE); in testModifySetting_preserveFlagSet()
220 settingsWriter.insertSettingLocked(SETTING_NAME, "1", null, false, TEST_PACKAGE); in testModifySettingOverrideableByRestore_preserveFlagNotSet()
221 settingsWriter.insertSettingLocked(SETTING_NAME, "2", null, false, false, TEST_PACKAGE, in testModifySettingOverrideableByRestore_preserveFlagNotSet()
232 settingsWriter.insertSettingLocked(SETTING_NAME, "1", null, false, TEST_PACKAGE); in testModifySettingOverrideableByRestore_preserveFlagAlreadySet_flagValueUnchanged()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1123 return mSettingsRegistry.insertSettingLocked(SETTINGS_TYPE_CONFIG, in mutateConfigSetting()
1298 return mSettingsRegistry.insertSettingLocked(SETTINGS_TYPE_GLOBAL, in mutateGlobalSetting()
1475 final boolean success = ssaidSettings.insertSettingLocked(name, instantSsaid, null, in getSsaidSettingLocked()
1631 return mSettingsRegistry.insertSettingLocked(SETTINGS_TYPE_SECURE,
1794 return mSettingsRegistry.insertSettingLocked(SETTINGS_TYPE_SYSTEM,
2131 return mSettingsRegistry.insertSettingLocked(SETTINGS_TYPE_SECURE,
2602 final boolean success = ssaidSettings.insertSettingLocked(SSAID_USER_KEY, userKey, null,
2665 final boolean success = ssaidSettings.insertSettingLocked(uid, ssaid, null, true,
2846 public boolean insertSettingLocked(int type, int userId, String name, String value,
2849 return insertSettingLocked(type, userId, name, value, tag, makeDefault, false,
[all …]
DSettingsState.java374 return insertSettingLocked(name, value, tag, makeValue, packageName); in updateSettingLocked()
398 return insertSettingLocked(name, value, tag, makeDefault, false, packageName, in insertSettingOverrideableByRestoreLocked()
404 public boolean insertSettingLocked(String name, String value, String tag, in insertSettingLocked() method in SettingsState
406 return insertSettingLocked(name, value, tag, makeDefault, false, packageName, in insertSettingLocked()
412 public boolean insertSettingLocked(String name, String value, String tag, in insertSettingLocked() method in SettingsState