Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java360 public byte[] passwordHandle; field in SyntheticPasswordManager.PasswordData
413 result.passwordHandle = new byte[handleLen]; in fromBytes()
414 buffer.get(result.passwordHandle); in fromBytes()
416 result.passwordHandle = null; in fromBytes()
439 (passwordHandle != null ? passwordHandle.length : 0) + Integer.BYTES); in toBytes()
450 if (passwordHandle != null && passwordHandle.length > 0) { in toBytes()
451 buffer.putInt(passwordHandle.length); in toBytes()
452 buffer.put(passwordHandle); in toBytes()
1005 pwd.passwordHandle = response.getPayload(); in createLskfBasedProtector()
1361 if (pwd == null || pwd.passwordHandle == null) { in unlockLskfBasedProtector()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DSyntheticPasswordTests.java597 data.passwordHandle = PAYLOAD2; in testPasswordDataLatestVersion_serializeDeserialize()
607 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordDataLatestVersion_serializeDeserialize()
649 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPinWithLengthAvailable()
673 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()
702 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPinWithVersionNumber()
728 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forNoneCred()
754 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testDeserializePasswordData_forPasswordOrPin()
H A DLockscreenFrpTest.java183 final byte[] passwordHandle = new byte[passwordHandleLength]; in testFrpBlock_isForwardsCompatible()
184 buffer.get(passwordHandle); in testFrpBlock_isForwardsCompatible()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
H A DCredentialInteractorImplTest.kt203 passwordHandle: Long = 90,
207 .setGatekeeperPasswordHandle(passwordHandle)