Merge "SyntheticPasswordManager: remove unused methods"

This commit is contained in:
Eric Biggers
2022-06-27 16:34:59 +00:00
committed by Android (Google) Code Review

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