Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1426 PasswordMetrics passwordMetrics = getUserPasswordMetrics(userId); in getPinLength() local
1427 if (passwordMetrics != null && passwordMetrics.credType == CREDENTIAL_TYPE_PIN) { in getPinLength()
1428 return passwordMetrics.length; in getPinLength()
1449 PasswordMetrics passwordMetrics = getUserPasswordMetrics(userId); in refreshStoredPinLength() local
1450 if (passwordMetrics != null) { in refreshStoredPinLength()
1452 return mSpManager.refreshPinLengthOnDisk(passwordMetrics, protectorId, userId); in refreshStoredPinLength()
DSyntheticPasswordManager.java1515 public boolean refreshPinLengthOnDisk(PasswordMetrics passwordMetrics, in refreshPinLengthOnDisk() argument
1527 int pinLength = derivePinLength(passwordMetrics.length, in refreshPinLengthOnDisk()
1528 passwordMetrics.credType == CREDENTIAL_TYPE_PIN, userId); in refreshPinLengthOnDisk()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java628 PasswordMetrics passwordMetrics = in testStorePinLengthOnDisk() local
630 boolean result = manager.refreshPinLengthOnDisk(passwordMetrics, protectorId, userId); in testStorePinLengthOnDisk()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5925 private void setActivePasswordState(PasswordMetrics passwordMetrics) in setActivePasswordState() argument
5931 .thenReturn(passwordMetrics); in setActivePasswordState()
5932 dpm.reportPasswordChanged(passwordMetrics, userHandle); in setActivePasswordState()