SyntheticPasswordManager: remove unused methods

Remove the createStrongTokenBasedSyntheticPassword() and
createWeakTokenBasedSyntheticPassword() methods, as they are unused.

Bug: 206485383
Change-Id: I66c9e1e0d3303a3f2f1da9c61d63b487cdaeb70b
This commit is contained in:
Eric Biggers
2022-06-24 19:29:50 +00:00
parent 36d92a6f6b
commit fe1bdb03c3

View File

@@ -929,26 +929,6 @@ public class SyntheticPasswordManager {
private ArrayMap<Integer, ArrayMap<Long, TokenData>> 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