Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java1246 PasswordMetrics passwordMetrics = getUserPasswordMetrics(userId); in getPinLength() local
1247 if (passwordMetrics != null && passwordMetrics.credType == CREDENTIAL_TYPE_PIN) { in getPinLength()
1248 return passwordMetrics.length; in getPinLength()
1269 PasswordMetrics passwordMetrics = getUserPasswordMetrics(userId); in refreshStoredPinLength() local
1270 if (passwordMetrics != null) { in refreshStoredPinLength()
1272 return mSpManager.refreshPinLengthOnDisk(passwordMetrics, protectorId, userId); in refreshStoredPinLength()
H A DSyntheticPasswordManager.java1453 public boolean refreshPinLengthOnDisk(PasswordMetrics passwordMetrics, in refreshPinLengthOnDisk() argument
1465 int pinLength = derivePinLength(passwordMetrics.length, in refreshPinLengthOnDisk()
1466 passwordMetrics.credType == CREDENTIAL_TYPE_PIN, userId); in refreshPinLengthOnDisk()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DSyntheticPasswordTests.java620 PasswordMetrics passwordMetrics = in testStorePinLengthOnDisk() local
622 boolean result = manager.refreshPinLengthOnDisk(passwordMetrics, protectorId, userId); in testStorePinLengthOnDisk()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java5907 private void setActivePasswordState(PasswordMetrics passwordMetrics) in setActivePasswordState() argument
5913 .thenReturn(passwordMetrics); in setActivePasswordState()
5914 dpm.reportPasswordChanged(passwordMetrics, userHandle); in setActivePasswordState()