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.java211 public byte[] passwordHandle; field in SyntheticPasswordManager.PasswordData
237 result.passwordHandle = new byte[handleLen]; in fromBytes()
238 buffer.get(result.passwordHandle); in fromBytes()
240 result.passwordHandle = null; in fromBytes()
249 (passwordHandle != null ? passwordHandle.length : 0)); in toBytes()
256 if (passwordHandle != null && passwordHandle.length > 0) { in toBytes()
257 buffer.putInt(passwordHandle.length); in toBytes()
258 buffer.put(passwordHandle); in toBytes()
631 pwd.passwordHandle = null; in createPasswordBasedSyntheticPassword()
645 pwd.passwordHandle = response.getPayload(); in createPasswordBasedSyntheticPassword()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java491 data.passwordHandle = PAYLOAD2; in testPasswordData_serializeDeserialize()
500 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordData_serializeDeserialize()
523 assertArrayEquals(PAYLOAD2, deserialized.passwordHandle); in testPasswordData_deserialize()