Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java365 public byte[] passwordHandle; field in SyntheticPasswordManager.PasswordData
418 result.passwordHandle = new byte[handleLen]; in fromBytes()
419 buffer.get(result.passwordHandle); in fromBytes()
421 result.passwordHandle = null; in fromBytes()
444 (passwordHandle != null ? passwordHandle.length : 0) + Integer.BYTES); in toBytes()
455 if (passwordHandle != null && passwordHandle.length > 0) { in toBytes()
456 buffer.putInt(passwordHandle.length); in toBytes()
457 buffer.put(passwordHandle); in toBytes()
1062 pwd.passwordHandle = response.getPayload(); in createLskfBasedProtector()
1063 sid = sidFromPasswordHandle(pwd.passwordHandle); in createLskfBasedProtector()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java605 data.passwordHandle = PAYLOAD2; in testPasswordDataLatestVersion_serializeDeserialize()
615 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordDataLatestVersion_serializeDeserialize()
657 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPinWithLengthAvailable()
681 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()
710 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPinWithVersionNumber()
736 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forNoneCred()
762 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPasswordOrPin()
DLockscreenFrpTest.java183 final byte[] passwordHandle = new byte[passwordHandleLength]; in testFrpBlock_isForwardsCompatible()
184 buffer.get(passwordHandle); in testFrpBlock_isForwardsCompatible()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DCredentialInteractorImplTest.kt223 passwordHandle: Long = 90, in pinRequest()
227 .setGatekeeperPasswordHandle(passwordHandle) in pinRequest()