diff --git a/services/core/java/com/android/server/locksettings/SyntheticPasswordManager.java b/services/core/java/com/android/server/locksettings/SyntheticPasswordManager.java index 24bd42e7d7750..1590682bb83e9 100644 --- a/services/core/java/com/android/server/locksettings/SyntheticPasswordManager.java +++ b/services/core/java/com/android/server/locksettings/SyntheticPasswordManager.java @@ -929,26 +929,6 @@ public class SyntheticPasswordManager { private ArrayMap> tokenMap = new ArrayMap<>(); - /** - * Create a token based Synthetic password for the given user. - * @return the handle of the token - */ - public long createStrongTokenBasedSyntheticPassword(byte[] token, int userId, - @Nullable EscrowTokenStateChangeCallback changeCallback) { - return createTokenBasedSyntheticPassword(token, TOKEN_TYPE_STRONG, userId, - changeCallback); - } - - /** - * Create a weak token based Synthetic password for the given user. - * @return the handle of the weak token - */ - public long createWeakTokenBasedSyntheticPassword(byte[] token, int userId, - @Nullable EscrowTokenStateChangeCallback changeCallback) { - return createTokenBasedSyntheticPassword(token, TOKEN_TYPE_WEAK, userId, - changeCallback); - } - /** * Create a token based Synthetic password of the given type for the given user. * @return the handle of the token