Lines Matching defs:sessionBundle
559 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
560 assertNotNull(sessionBundle);
562 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1));
591 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
592 assertNotNull(sessionBundle);
594 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1));
742 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
743 assertNotNull(sessionBundle);
745 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1));
773 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
774 assertNotNull(sessionBundle);
776 assertNull(sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1));
895 null, // sessionBundle
967 badSessionBundle, // sessionBundle
1066 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
1067 assertNotNull(sessionBundle);
1070 sessionBundle.getString(AccountManagerServiceTestFixtures.SESSION_DATA_NAME_1));
1071 // Assert finishSessionAsUser added calling uid and pid into the sessionBundle
1072 assertTrue(sessionBundle.containsKey(AccountManager.KEY_CALLER_UID));
1073 assertTrue(sessionBundle.containsKey(AccountManager.KEY_CALLER_PID));
1074 assertEquals(sessionBundle.getString(
1146 Bundle sessionBundle = createEncryptedSessionBundleWithError(
1154 sessionBundle,
3091 private Bundle encryptBundleWithCryptoHelper(Bundle sessionBundle) {
3095 encryptedBundle = cryptoHelper.encryptBundle(sessionBundle);
3103 Bundle sessionBundle = new Bundle();
3104 sessionBundle.putString(AccountManagerServiceTestFixtures.KEY_ACCOUNT_NAME, accountName);
3105 sessionBundle.putString(
3108 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE,
3110 sessionBundle.putString(AccountManager.KEY_ANDROID_PACKAGE_NAME, "APCT.session.package");
3111 return encryptBundleWithCryptoHelper(sessionBundle);
3115 Bundle sessionBundle = new Bundle();
3116 sessionBundle.putString(AccountManagerServiceTestFixtures.KEY_ACCOUNT_NAME, accountName);
3117 sessionBundle.putString(
3120 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE,
3122 sessionBundle.putString(AccountManager.KEY_ANDROID_PACKAGE_NAME, "APCT.session.package");
3123 sessionBundle.putInt(
3125 sessionBundle.putString(AccountManager.KEY_ERROR_MESSAGE,
3127 return encryptBundleWithCryptoHelper(sessionBundle);
3131 Bundle sessionBundle = new Bundle();
3132 sessionBundle.putString(AccountManagerServiceTestFixtures.KEY_ACCOUNT_NAME, accountName);
3133 sessionBundle.putString(
3136 sessionBundle.putString(AccountManager.KEY_ANDROID_PACKAGE_NAME, "APCT.session.package");
3137 return encryptBundleWithCryptoHelper(sessionBundle);
3147 sessionBundle = new Bundle();
3148 sessionBundle.putString(
3151 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE,
3156 sessionBundle);