Home
last modified time | relevance | path

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

/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerUnaffiliatedAuthenticatorTests.java348 Bundle sessionBundle = new Bundle(); in testDefaultFinishSessiontWithStartAddAccountSessionImpl() local
349 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
350 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
354 options.putBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
398 Bundle sessionBundle = new Bundle(); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl() local
399 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
400 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
404 options.putBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
466 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in validateSessionBundleAndPasswordAndStatusTokenResult() local
467 assertNotNull(sessionBundle); in validateSessionBundleAndPasswordAndStatusTokenResult()
[all …]
DMockAccountAuthenticator.java347 Bundle sessionBundle = null; in startAddAccountSession() local
350 sessionBundle = options.getBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE); in startAddAccountSession()
356 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startAddAccountSession()
372 sessionBundle); in startAddAccountSession()
402 Bundle sessionBundle = null; in startUpdateCredentialsSession() local
405 sessionBundle = options.getBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE); in startUpdateCredentialsSession()
411 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startUpdateCredentialsSession()
427 sessionBundle); in startUpdateCredentialsSession()
448 Bundle sessionBundle) throws NetworkErrorException { in finishSession() argument
451 this.mOptionsFinishSession = sessionBundle; in finishSession()
[all …]
DAbstractAuthenticatorTests.java98 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartAddAccountSessionDefaultImpl() local
101 assertNotNull(sessionBundle); in testStartAddAccountSessionDefaultImpl()
102 assertNull(sessionBundle.getString(AccountManager.KEY_ACCOUNT_TYPE)); in testStartAddAccountSessionDefaultImpl()
135 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in testStartUpdateCredentialsSessionDefaultImpl() local
138 assertNotNull(sessionBundle); in testStartUpdateCredentialsSessionDefaultImpl()
139 assertNull(sessionBundle.getString(Fixtures.KEY_ACCOUNT_NAME)); in testStartUpdateCredentialsSessionDefaultImpl()
DAccountManagerTest.java3294 Bundle sessionBundle = resultBundle.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
3295 assertNotNull(sessionBundle);
3297 assertNull(sessionBundle.getString(SESSION_DATA_NAME_1));
3455 Bundle sessionBundle = new Bundle();
3456 sessionBundle.putByteArray(KEY_MAC, mac);
3457 sessionBundle.putByteArray(KEY_CIPHER, cipher);
3461 sessionBundle,
3480 Bundle sessionBundle = new Bundle();
3481 sessionBundle.putByteArray(KEY_MAC, mac);
3485 sessionBundle,
[all …]
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java324 Bundle sessionBundle = null; in startAddAccountSession() local
327 sessionBundle = options.getBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE); in startAddAccountSession()
333 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startAddAccountSession()
373 Bundle sessionBundle = null; in startUpdateCredentialsSession() local
376 sessionBundle = options.getBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE); in startUpdateCredentialsSession()
382 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startUpdateCredentialsSession()