Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java101 assertEquals("initialValue", mStorage.readKeyValue("initializedKey", "default", 0)); in testKeyValue_InitializeWorked()
103 assertEquals("initialValue", mStorage.readKeyValue("initializedKey", "default", 0)); in testKeyValue_InitializeWorked()
108 assertEquals("value", mStorage.readKeyValue("key", "default", 0)); in testKeyValue_WriteThenRead()
110 assertEquals("value", mStorage.readKeyValue("key", "default", 0)); in testKeyValue_WriteThenRead()
114 assertEquals("default", mStorage.readKeyValue("unititialized key", "default", 0)); in testKeyValue_DefaultValue()
115 assertEquals("default2", mStorage.readKeyValue("unititialized key", "default2", 0)); in testKeyValue_DefaultValue()
133 mStorage.readKeyValue("key", "default", 0); in testKeyValue_Concurrency()
135 mStorage.readKeyValue("key", "default", 0); in testKeyValue_Concurrency()
137 mStorage.readKeyValue("key", "default", 0); in testKeyValue_Concurrency()
139 mStorage.readKeyValue("key", "default", 0); in testKeyValue_Concurrency()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java212 public String readKeyValue(String key, String defaultValue, int userId) { in readKeyValue() method in LockSettingsStorage
DLockSettingsService.java1041 return mStorage.readKeyValue(key, defaultValue, userId); in getStringUnchecked()