Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java227 public byte[] passwordHandle; field in SyntheticPasswordManager.PasswordData
253 result.passwordHandle = new byte[handleLen]; in fromBytes()
254 buffer.get(result.passwordHandle); in fromBytes()
256 result.passwordHandle = null; in fromBytes()
265 (passwordHandle != null ? passwordHandle.length : 0)); in toBytes()
272 if (passwordHandle != null && passwordHandle.length > 0) { in toBytes()
273 buffer.putInt(passwordHandle.length); in toBytes()
274 buffer.put(passwordHandle); in toBytes()
654 pwd.passwordHandle = null; in createPasswordBasedSyntheticPassword()
668 pwd.passwordHandle = response.getPayload(); in createPasswordBasedSyntheticPassword()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java456 data.passwordHandle = PAYLOAD2; in testPasswordData_serializeDeserialize()
465 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordData_serializeDeserialize()
489 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordData_deserialize()