Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java292 private WeaverConfig mWeaverConfig; field in SyntheticPasswordManager
320 mWeaverConfig = null; in initWeaverService()
325 mWeaverConfig = config; in initWeaverService()
344 return mWeaver != null && mWeaverConfig.slots > 0; in isWeaverAvailable()
357 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) { in weaverEnroll()
361 key = new byte[mWeaverConfig.keySize]; in weaverEnroll()
362 } else if (key.length != mWeaverConfig.keySize) { in weaverEnroll()
366 value = secureRandom(mWeaverConfig.valueSize); in weaverEnroll()
383 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) { in weaverVerify()
387 key = new byte[mWeaverConfig.keySize]; in weaverVerify()
[all …]