Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockGateKeeperService.java51 public byte[] toBytes() { in toBytes() method in MockGateKeeperService.VerifyHandle
78 public byte[] toBytes() { in toBytes() method in MockGateKeeperService.AuthToken
102 handleMap.put(uid, newHandle.toBytes()); in enroll()
103 return GateKeeperResponse.createOkResponse(newHandle.toBytes(), false); in enroll()
112 handleMap.put(uid, newHandle.toBytes()); in enroll()
113 return GateKeeperResponse.createOkResponse(newHandle.toBytes(), false); in enroll()
138 return GateKeeperResponse.createOkResponse(token.toBytes(), false); in verifyChallenge()
DLockSettingsServiceTests.java236 byte[] oldHash = new VerifyHandle(credential.getBytes(), sid).toBytes(); in initializeStorageWithCredential()
/frameworks/base/services/core/java/com/android/server/
DSyntheticPasswordManager.java196 public byte[] toBytes() { in toBytes() method in SyntheticPasswordManager.PasswordData
360 saveState(PASSWORD_DATA_NAME, pwd.toBytes(), handle, userId); in createPasswordBasedSyntheticPassword()
456 saveState(PASSWORD_DATA_NAME, pwd.toBytes(), handle, userId); in unwrapPasswordBasedSyntheticPassword()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java987 return Base64.encodeToString(toBytes(s), Base64.NO_WRAP); in base64Encode()
998 private static byte[] toBytes(String s) { in toBytes() method in SettingsState