Home
last modified time | relevance | path

Searched refs:authToken (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java139 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 …]
DLockSettingsService.java632 if (result.authToken != null) { in tryDeriveAuthTokenForUnsecuredPrimaryUser()
634 onAuthTokenKnownForUser(userId, result.authToken); in tryDeriveAuthTokenForUnsecuredPrimaryUser()
2534 response = mSpManager.verifyChallenge(getGateKeeperService(), authResult.authToken, in spBasedDoVerifyCredential()
2547 unlockKeystore(authResult.authToken.deriveKeyStorePassword(), userId); in spBasedDoVerifyCredential()
2560 final byte[] secret = authResult.authToken.deriveDiskEncryptionKey(); in spBasedDoVerifyCredential()
2564 activateEscrowTokens(authResult.authToken, userId); in spBasedDoVerifyCredential()
2571 onAuthTokenKnownForUser(userId, authResult.authToken); in spBasedDoVerifyCredential()
2676 AuthenticationToken auth = authResult.authToken; in spBasedSetLockCredentialInternalLocked()
2754 if (auth.authToken == null) { in getHashFactor()
2758 return auth.authToken.derivePasswordHashFactor(); in getHashFactor()
[all …]
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl55 void invalidateAuthToken(String accountType, String authToken); in invalidateAuthToken() argument
57 void setAuthToken(in Account account, String authTokenType, String authToken); in setAuthToken() argument
DAccountManager.java1318 public void invalidateAuthToken(final String accountType, final String authToken) {
1321 if (authToken != null) {
1322 mService.invalidateAuthToken(accountType, authToken);
1464 public void setAuthToken(Account account, final String authTokenType, final String authToken) {
1468 mService.setAuthToken(account, authTokenType, authToken);
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java77 AuthenticationToken authToken = manager.newSyntheticPasswordAndSid(mGateKeeperService, null, in testPasswordBasedSyntheticPassword() local
80 password, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, authToken, in testPasswordBasedSyntheticPassword()
85 assertArrayEquals(result.authToken.deriveKeyStorePassword(), in testPasswordBasedSyntheticPassword()
86 authToken.deriveKeyStorePassword()); in testPasswordBasedSyntheticPassword()
90 assertNull(result.authToken); in testPasswordBasedSyntheticPassword()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java332 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()
DAccountManagerService.java2370 public void invalidateAuthToken(String accountType, String authToken) { in invalidateAuthToken() argument
2373 Preconditions.checkNotNull(authToken, "authToken cannot be null"); in invalidateAuthToken()
2387 deletedTokens = invalidateAuthTokenLocked(accounts, accountType, authToken); in invalidateAuthToken()
2399 accounts.accountTokenCaches.remove(accountType, authToken); in invalidateAuthToken()
2408 String authToken) { in invalidateAuthTokenLocked() argument
2411 Cursor cursor = accounts.accountsDb.findAuthtokenForAllAccounts(accountType, authToken); in invalidateAuthTokenLocked()
2448 String authToken) { in saveAuthTokenToDatabase() argument
2463 if (accounts.accountsDb.insertAuthToken(accountId, type, authToken) >= 0) { in saveAuthTokenToDatabase()
2473 writeAuthTokenIntoCacheLocked(accounts, account, type, authToken); in saveAuthTokenToDatabase()
2514 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument
[all …]
/frameworks/base/keystore/java/android/security/
DKeyStore.java999 public int addAuthToken(byte[] authToken) { in addAuthToken() argument
1001 return mBinder.addAuthToken(authToken); in addAuthToken()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...