Searched refs:tokenHandle (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockSettingsInternal.java | 116 long tokenHandle, byte[] token, int userId); in setLockCredentialWithToken() argument 118 public abstract boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId); in unlockUserWithToken() argument
|
D | LockPatternUtils.java | 1567 long tokenHandle, byte[] token, int userHandle) { in setLockCredentialWithToken() argument 1574 return localService.setLockCredentialWithToken(credential, tokenHandle, token, userHandle); in setLockCredentialWithToken() 1587 public boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId) { in unlockUserWithToken() argument 1588 return getLockSettingsInternal().unlockUserWithToken(tokenHandle, token, userId); in unlockUserWithToken()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 1264 long tokenHandle = generateProtectorId(); // tokenHandle is reused as protectorId later in addPendingToken() local 1282 tokenMap.get(userId).put(tokenHandle, tokenData); in addPendingToken() 1283 return tokenHandle; in addPendingToken() 1294 public boolean removePendingToken(long tokenHandle, int userId) { in removePendingToken() argument 1298 return tokenMap.get(userId).remove(tokenHandle) != null; in removePendingToken() 1301 public boolean createTokenBasedProtector(long tokenHandle, SyntheticPassword sp, int userId) { in createTokenBasedProtector() argument 1305 TokenData tokenData = tokenMap.get(userId).get(tokenHandle); in createTokenBasedProtector() 1313 Slogf.i(TAG, "Creating token-based protector %016x for user %d", tokenHandle, userId); in createTokenBasedProtector() 1322 saveWeaverSlot(slot, tokenHandle, userId); in createTokenBasedProtector() 1325 saveSecdiscardable(tokenHandle, tokenData.secdiscardableOnDisk, userId); in createTokenBasedProtector() [all …]
|
D | LockSettingsService.java | 3327 private boolean setLockCredentialWithToken(LockscreenCredential credential, long tokenHandle, 3335 if (!isEscrowTokenActive(tokenHandle, userId)) { 3336 Slog.e(TAG, "Unknown or unactivated token: " + Long.toHexString(tokenHandle)); 3340 credential, tokenHandle, token, userId); 3360 long tokenHandle, byte[] token, int userId) { 3362 userId, tokenHandle); 3364 result = mSpManager.unlockTokenBasedProtector(getGateKeeperService(), tokenHandle, token, 3382 private boolean unlockUserWithToken(long tokenHandle, byte[] token, int userId) { 3385 Slogf.i(TAG, "Unlocking user %d using escrow token %016x", userId, tokenHandle); 3390 authResult = mSpManager.unlockTokenBasedProtector(getGateKeeperService(), tokenHandle, [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 5921 private boolean resetPasswordInternal(String password, long tokenHandle, byte[] token, 5961 if (tokenHandle == 0 || token == null) { 5967 if (!mLockPatternUtils.setLockCredentialWithToken(newCredential, tokenHandle, 19274 long tokenHandle = addEscrowToken( 19276 if (tokenHandle == 0) { 19282 new LongPolicyValue(tokenHandle), 19305 private boolean resetEscrowToken(long tokenHandle, int userId) { 19307 if (tokenHandle != 0) { 19308 return mLockPatternUtils.removeEscrowToken(tokenHandle, userId);
|