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.java355 Bundle sessionBundle = new Bundle(); in testDefaultFinishSessiontWithStartAddAccountSessionImpl() local
356 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
357 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
361 options.putBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
405 Bundle sessionBundle = new Bundle(); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl() local
406 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
407 sessionBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
411 options.putBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
496 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE); in validateSessionBundleAndPasswordAndStatusTokenResult() local
497 assertNotNull(sessionBundle); in validateSessionBundleAndPasswordAndStatusTokenResult()
[all …]
DMockAccountAuthenticator.java345 Bundle sessionBundle = null; in startAddAccountSession() local
348 sessionBundle = options.getBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE); in startAddAccountSession()
354 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startAddAccountSession()
370 sessionBundle); in startAddAccountSession()
399 Bundle sessionBundle = null; in startUpdateCredentialsSession() local
402 sessionBundle = options.getBundle(Fixtures.KEY_ACCOUNT_SESSION_BUNDLE); in startUpdateCredentialsSession()
408 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle); in startUpdateCredentialsSession()
424 sessionBundle); in startUpdateCredentialsSession()
445 Bundle sessionBundle) throws NetworkErrorException { in finishSession() argument
448 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.java3280 Bundle sessionBundle = resultBundle.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
3281 assertNotNull(sessionBundle);
3283 assertNull(sessionBundle.getString(SESSION_DATA_NAME_1));
3441 Bundle sessionBundle = new Bundle();
3442 sessionBundle.putByteArray(KEY_MAC, mac);
3443 sessionBundle.putByteArray(KEY_CIPHER, cipher);
3447 sessionBundle,
3466 Bundle sessionBundle = new Bundle();
3467 sessionBundle.putByteArray(KEY_MAC, mac);
3471 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()