Searched refs:sessionBundle (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 446 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 …]
|
D | IAccountAuthenticator.aidl | 106 in Bundle sessionBundle); in finishSession() argument
|
D | IAccountManager.aidl | 103 void finishSessionAsUser(in IAccountManagerResponse response, in Bundle sessionBundle, in finishSessionAsUser() argument
|
D | AccountManager.java | 3204 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/ |
D | TestAccountType1Authenticator.java | 271 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 …]
|
D | AccountManagerServiceTest.java | 559 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 …]
|
D | TestAccountType2Authenticator.java | 133 Bundle sessionBundle) throws NetworkErrorException { in finishSession() argument
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 3438 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()
|