Searched refs:writeKeyValue (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 120 mStorage.writeKeyValue(db, "initializedKey", "initialValue", 0); in setUp() 139 mStorage.writeKeyValue("key", "value", 0); in testKeyValue_WriteThenRead() 165 mStorage.writeKeyValue("key", "1 from thread " + threadId, 0); in testKeyValue_ReadWriteConcurrency() 167 mStorage.writeKeyValue("key", "2 from thread " + threadId, 0); in testKeyValue_ReadWriteConcurrency() 169 mStorage.writeKeyValue("key", "3 from thread " + threadId, 0); in testKeyValue_ReadWriteConcurrency() 171 mStorage.writeKeyValue("key", "4 from thread " + threadId, 0); in testKeyValue_ReadWriteConcurrency() 173 mStorage.writeKeyValue("key", "5 from thread " + threadId, 0); in testKeyValue_ReadWriteConcurrency() 179 mStorage.writeKeyValue("key", "initialValue", 0); in testKeyValue_ReadWriteConcurrency() 204 mStorage.writeKeyValue("key", "value", 0); in testKeyValue_ReadRemoveConcurrency() 248 mStorage.writeKeyValue("starvedWriterKey", "value", 0); in testKeyValue_CacheStarvedWriter() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 123 public void writeKeyValue(String key, String value, int userId) { in writeKeyValue() method in LockSettingsStorage 124 writeKeyValue(mOpenHelper.getWritableDatabase(), key, value, userId); in writeKeyValue() 133 public void writeKeyValue(SQLiteDatabase db, String key, String value, int userId) { in writeKeyValue() method in LockSettingsStorage 543 writeKeyValue(key, value, userId); in setString()
|
D | LockSettingsService.java | 526 storage.writeKeyValue(db, LockPatternUtils.DISABLE_LOCKSCREEN_KEY, "1", 0); in getStorage()
|