/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 139 public AuthenticationToken authToken; field in SyntheticPasswordManager.AuthenticationResult 486 public void newSidForUser(IGateKeeperService gatekeeper, AuthenticationToken authToken, in newSidForUser() argument 489 authToken.deriveGkPassword()); in newSidForUser() 517 private boolean loadEscrowData(AuthenticationToken authToken, int userId) { in loadEscrowData() argument 518 authToken.E0 = loadState(SP_E0_NAME, DEFAULT_HANDLE, userId); in loadEscrowData() 519 authToken.P1 = loadState(SP_P1_NAME, DEFAULT_HANDLE, userId); in loadEscrowData() 520 return authToken.E0 != null && authToken.P1 != null; in loadEscrowData() 523 private void saveEscrowData(AuthenticationToken authToken, int userId) { in saveEscrowData() argument 524 saveState(SP_E0_NAME, authToken.E0, DEFAULT_HANDLE, userId); in saveEscrowData() 525 saveState(SP_P1_NAME, authToken.P1, DEFAULT_HANDLE, userId); in saveEscrowData() [all …]
|
D | LockSettingsService.java | 656 if (result.authToken != null) { in tryDeriveAuthTokenForUnsecuredPrimaryUser() 658 onAuthTokenKnownForUser(userId, result.authToken); in tryDeriveAuthTokenForUnsecuredPrimaryUser() 2599 response = mSpManager.verifyChallenge(getGateKeeperService(), authResult.authToken, in spBasedDoVerifyCredential() 2612 unlockKeystore(authResult.authToken.deriveKeyStorePassword(), userId); in spBasedDoVerifyCredential() 2622 final byte[] secret = authResult.authToken.deriveDiskEncryptionKey(); in spBasedDoVerifyCredential() 2626 activateEscrowTokens(authResult.authToken, userId); in spBasedDoVerifyCredential() 2633 onAuthTokenKnownForUser(userId, authResult.authToken); in spBasedDoVerifyCredential() 2738 AuthenticationToken auth = authResult.authToken; in spBasedSetLockCredentialInternalLocked() 2816 if (auth.authToken == null) { in getHashFactor() 2820 return auth.authToken.derivePasswordHashFactor(); in getHashFactor() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | SyntheticPasswordTests.java | 78 AuthenticationToken authToken = manager.newSyntheticPasswordAndSid(mGateKeeperService, null, in testPasswordBasedSyntheticPassword() local 81 password, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, authToken, in testPasswordBasedSyntheticPassword() 86 assertArrayEquals(result.authToken.deriveKeyStorePassword(), in testPasswordBasedSyntheticPassword() 87 authToken.deriveKeyStorePassword()); in testPasswordBasedSyntheticPassword() 91 assertNull(result.authToken); in testPasswordBasedSyntheticPassword()
|
/frameworks/base/core/java/android/accounts/ |
D | IAccountManager.aidl | 55 void invalidateAuthToken(String accountType, String authToken); in invalidateAuthToken() argument 57 void setAuthToken(in Account account, String authTokenType, String authToken); in setAuthToken() argument
|
D | AccountManager.java | 1349 public void invalidateAuthToken(final String accountType, final String authToken) { 1352 if (authToken != null) { 1353 mService.invalidateAuthToken(accountType, authToken); 1495 public void setAuthToken(Account account, final String authTokenType, final String authToken) { 1499 mService.setAuthToken(account, authTokenType, authToken);
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountsDb.java | 332 Cursor findAuthtokenForAllAccounts(String accountType, String authToken) { in findAuthtokenForAllAccounts() argument 344 new String[]{authToken, accountType}); in findAuthtokenForAllAccounts() 358 final String authToken = cursor.getString(1); in findAuthTokensByAccount() local 359 authTokensForAccount.put(type, authToken); in findAuthTokensByAccount() 381 long insertAuthToken(long accountId, String authTokenType, String authToken) { in insertAuthToken() argument 386 values.put(AUTHTOKENS_AUTHTOKEN, authToken); in insertAuthToken()
|
D | AccountManagerService.java | 2397 public void invalidateAuthToken(String accountType, String authToken) { in invalidateAuthToken() argument 2400 Preconditions.checkNotNull(authToken, "authToken cannot be null"); in invalidateAuthToken() 2414 deletedTokens = invalidateAuthTokenLocked(accounts, accountType, authToken); in invalidateAuthToken() 2426 accounts.accountTokenCaches.remove(accountType, authToken); in invalidateAuthToken() 2435 String authToken) { in invalidateAuthTokenLocked() argument 2438 Cursor cursor = accounts.accountsDb.findAuthtokenForAllAccounts(accountType, authToken); in invalidateAuthTokenLocked() 2475 String authToken) { in saveAuthTokenToDatabase() argument 2490 if (accounts.accountsDb.insertAuthToken(accountId, type, authToken) >= 0) { in saveAuthTokenToDatabase() 2500 writeAuthTokenIntoCacheLocked(accounts, account, type, authToken); in saveAuthTokenToDatabase() 2541 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 999 public int addAuthToken(byte[] authToken) { in addAuthToken() argument 1001 return mBinder.addAuthToken(authToken); in addAuthToken()
|