Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java446 Bundle sessionBundle) throws RemoteException { in finishSession() argument
453 new AccountAuthenticatorResponse(response), accountType, sessionBundle); in finishSession()
804 Bundle sessionBundle = new Bundle(); in startAddAccountSession()
805 sessionBundle.putString(KEY_AUTH_TOKEN_TYPE, authTokenType); in startAddAccountSession()
806 sessionBundle.putStringArray(KEY_REQUIRED_FEATURES, requiredFeatures); in startAddAccountSession()
807 sessionBundle.putBundle(KEY_OPTIONS, options); in startAddAccountSession()
809 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startAddAccountSession()
858 Bundle sessionBundle = new Bundle(); in startUpdateCredentialsSession()
859 sessionBundle.putString(KEY_AUTH_TOKEN_TYPE, authTokenType); in startUpdateCredentialsSession()
860 sessionBundle.putParcelable(KEY_ACCOUNT, account); in startUpdateCredentialsSession()
[all …]
DIAccountAuthenticator.aidl106 in Bundle sessionBundle); in finishSession() argument
DIAccountManager.aidl103 void finishSessionAsUser(in IAccountManagerResponse response, in Bundle sessionBundle, in finishSessionAsUser() argument
DAccountManager.java3204 final Bundle sessionBundle,
3209 sessionBundle,
3223 final Bundle sessionBundle,
3228 if (sessionBundle == null) {
3241 sessionBundle,
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType1Authenticator.java271 Bundle sessionBundle = null; in startAddAccountSession() local
275 sessionBundle = options.getBundle( in startAddAccountSession()
283 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startAddAccountSession()
299 sessionBundle); in startAddAccountSession()
328 Bundle sessionBundle = null; in startUpdateCredentialsSession() local
331 sessionBundle = options.getBundle( in startUpdateCredentialsSession()
338 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startUpdateCredentialsSession()
356 sessionBundle); in startUpdateCredentialsSession()
374 Bundle sessionBundle) throws NetworkErrorException { in finishSession() argument
381 if (sessionBundle != null) { in finishSession()
[all …]
DAccountManagerServiceTest.java559 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartAddAccountSessionSuccessWithoutPasswordForwarding() local
560 assertNotNull(sessionBundle); in testStartAddAccountSessionSuccessWithoutPasswordForwarding()
562 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1)); in testStartAddAccountSessionSuccessWithoutPasswordForwarding()
591 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartAddAccountSessionSuccessWithPasswordForwarding() local
592 assertNotNull(sessionBundle); in testStartAddAccountSessionSuccessWithPasswordForwarding()
594 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1)); in testStartAddAccountSessionSuccessWithPasswordForwarding()
742 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding() local
743 assertNotNull(sessionBundle); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding()
745 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1)); in testStartUpdateCredentialsSessionSuccessWithoutPasswordForwarding()
773 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.java3438 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in onResult() local
3439 if (sessionBundle != null) { in onResult()
3440 String accountType = sessionBundle.getString(AccountManager.KEY_ACCOUNT_TYPE); in onResult()
3447 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, mAccountType); in onResult()
3452 Bundle encryptedBundle = cryptoHelper.encryptBundle(sessionBundle); in onResult()
3470 @NonNull Bundle sessionBundle, in finishSessionAsUser() argument
3474 Bundle.setDefusable(sessionBundle, true); in finishSessionAsUser()
3488 if (sessionBundle == null || sessionBundle.size() == 0) { in finishSessionAsUser()
3515 decryptedBundle = cryptoHelper.decryptBundle(sessionBundle); in finishSessionAsUser()