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.java313 public byte[] passwordHandle; field in SyntheticPasswordManager.PasswordData
339 result.passwordHandle = new byte[handleLen]; in fromBytes()
340 buffer.get(result.passwordHandle); in fromBytes()
342 result.passwordHandle = null; in fromBytes()
351 (passwordHandle != null ? passwordHandle.length : 0)); in toBytes()
358 if (passwordHandle != null && passwordHandle.length > 0) { in toBytes()
359 buffer.putInt(passwordHandle.length); in toBytes()
360 buffer.put(passwordHandle); in toBytes()
758 pwd.passwordHandle = null; in createPasswordBasedSyntheticPassword()
781 pwd.passwordHandle = response.getPayload(); in createPasswordBasedSyntheticPassword()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java447 data.passwordHandle = PAYLOAD2; in testPasswordData_serializeDeserialize()
456 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordData_serializeDeserialize()
480 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordData_deserialize()