Home
last modified time | relevance | path

Searched refs:sessionBundle (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java445 Bundle sessionBundle) throws RemoteException { in finishSession() argument
452 new AccountAuthenticatorResponse(response), accountType, sessionBundle); in finishSession()
803 Bundle sessionBundle = new Bundle(); in startAddAccountSession()
804 sessionBundle.putString(KEY_AUTH_TOKEN_TYPE, authTokenType); in startAddAccountSession()
805 sessionBundle.putStringArray(KEY_REQUIRED_FEATURES, requiredFeatures); in startAddAccountSession()
806 sessionBundle.putBundle(KEY_OPTIONS, options); in startAddAccountSession()
808 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startAddAccountSession()
857 Bundle sessionBundle = new Bundle(); in startUpdateCredentialsSession()
858 sessionBundle.putString(KEY_AUTH_TOKEN_TYPE, authTokenType); in startUpdateCredentialsSession()
859 sessionBundle.putParcelable(KEY_ACCOUNT, account); in startUpdateCredentialsSession()
[all …]
DIAccountAuthenticator.aidl114 in Bundle sessionBundle); in finishSession() argument
DIAccountManager.aidl97 void finishSessionAsUser(in IAccountManagerResponse response, in Bundle sessionBundle, in finishSessionAsUser() argument
DAccountManager.java3328 final Bundle sessionBundle,
3333 sessionBundle,
3347 final Bundle sessionBundle,
3352 if (sessionBundle == null) {
3365 sessionBundle,
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType1Authenticator.java269 Bundle sessionBundle = null; in startAddAccountSession() local
274 sessionBundle = options.getBundle( in startAddAccountSession()
283 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startAddAccountSession()
299 sessionBundle); in startAddAccountSession()
329 Bundle sessionBundle = null; in startUpdateCredentialsSession() local
332 sessionBundle = options.getBundle( in startUpdateCredentialsSession()
339 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startUpdateCredentialsSession()
357 sessionBundle); in startUpdateCredentialsSession()
375 Bundle sessionBundle) throws NetworkErrorException { in finishSession() argument
382 if (sessionBundle != null) { in finishSession()
[all …]
DAccountManagerServiceTest.java603 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() local
604 assertNotNull(sessionBundle); in testStartAddAccountSessionSuccessWithoutPasswordForwarding()
606 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1)); in testStartAddAccountSessionSuccessWithoutPasswordForwarding()
635 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartAddAccountSessionSuccessWithPasswordForwarding() local
636 assertNotNull(sessionBundle); in testStartAddAccountSessionSuccessWithPasswordForwarding()
638 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1)); in testStartAddAccountSessionSuccessWithPasswordForwarding()
823 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() local
824 assertNotNull(sessionBundle); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding()
826 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1)); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding()
854 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartUpdateCredentialsSessionSuccessWithPasswordForwarding() local
[all …]
DTestAccountType2Authenticator.java133 Bundle sessionBundle) throws NetworkErrorException { in finishSession() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3573 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in onResult() local
3574 if (sessionBundle != null) { in onResult()
3575 String accountType = sessionBundle.getString(AccountManager.KEY_ACCOUNT_TYPE); in onResult()
3582 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, mAccountType); in onResult()
3587 Bundle encryptedBundle = cryptoHelper.encryptBundle(sessionBundle); in onResult()
3605 @NonNull Bundle sessionBundle, in finishSessionAsUser() argument
3609 Bundle.setDefusable(sessionBundle, true); in finishSessionAsUser()
3623 if (sessionBundle == null || sessionBundle.size() == 0) { in finishSessionAsUser()
3650 decryptedBundle = cryptoHelper.decryptBundle(sessionBundle); in finishSessionAsUser()