Home
last modified time | relevance | path

Searched refs:KEY_ACCOUNT_NAME (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java78 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testStartAddAccountSessionDefaultImpl()
114 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testStartUpdateCredentialsSessionDefaultImpl()
139 assertNull(sessionBundle.getString(Fixtures.KEY_ACCOUNT_NAME)); in testStartUpdateCredentialsSessionDefaultImpl()
152 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
202 assertEquals(accountName, addAccountTx.options.getString(Fixtures.KEY_ACCOUNT_NAME)); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
207 assertEquals(accountName, result.get(AccountManager.KEY_ACCOUNT_NAME)); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
222 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
271 assertEquals(accountName, updateCredentialsTx.options.getString(Fixtures.KEY_ACCOUNT_NAME)); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
274 assertEquals(accountName, result.get(AccountManager.KEY_ACCOUNT_NAME)); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
DAccountManagerUnaffiliatedAuthenticatorTests.java356 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
360 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
406 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
410 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
471 assertEquals(tx.options.getString(Fixtures.KEY_ACCOUNT_NAME), in validateStartAddAccountSessionParameters()
472 inOpt.getString(Fixtures.KEY_ACCOUNT_NAME)); in validateStartAddAccountSessionParameters()
483 assertEquals(tx.options.getString(Fixtures.KEY_ACCOUNT_NAME), in validateStartUpdateCredentialsSessionParameters()
484 inOpt.getString(Fixtures.KEY_ACCOUNT_NAME)); in validateStartUpdateCredentialsSessionParameters()
489 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in createOptionsWithAccountName()
DMockAccountAuthenticator.java148 result.putString(AccountManager.KEY_ACCOUNT_NAME, AccountManagerTest.ACCOUNT_NAME); in createResultBundle()
236 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken()
347 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startAddAccountSession()
401 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startUpdateCredentialsSession()
452 accountName = sessionBundle.getString(Fixtures.KEY_ACCOUNT_NAME); in finishSession()
458 result.putString(AccountManager.KEY_ACCOUNT_NAME, AccountManagerTest.ACCOUNT_NAME); in finishSession()
465 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, in finishSession()
DAccountManagerTest.java193 expected.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in validateSuccessfulTokenFetchingLifecycle()
244 actual.get(AccountManager.KEY_ACCOUNT_NAME)); in validateAccountAndAuthTokenResult()
255 expected.get(AccountManager.KEY_ACCOUNT_NAME), in validateAccountAndAuthTokenResult()
256 actual.get(AccountManager.KEY_ACCOUNT_NAME)); in validateAccountAndAuthTokenResult()
266 assertEquals(ACCOUNT_NAME, result.get(AccountManager.KEY_ACCOUNT_NAME)); in validateAccountAndNoAuthTokenResult()
272 assertNull(resultBundle.get(AccountManager.KEY_ACCOUNT_NAME)); in validateNullResult()
1208 result.putString(AccountManager.KEY_ACCOUNT_NAME, mAccount.name); in fetch()
2389 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName);
2423 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName);
2794 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName);
[all …]
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java71 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in addAccount()
79 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
84 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
123 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in confirmCredentials()
129 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name); in confirmCredentials()
174 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken()
184 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken()
233 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in updateCredentials()
238 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name); in updateCredentials()
326 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startAddAccountSession()
[all …]
DTestDefaultAuthenticator.java63 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in addAccount()
70 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
112 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in updateCredentials()
DFixtures.java72 public static final String KEY_ACCOUNT_NAME = "test:account_name"; field in Fixtures
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DMockAccountAuthenticator.java42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
DAccountManagementTest.java83 String accountName = result.getString(AccountManager.KEY_ACCOUNT_NAME); in testAddAccount_allowed()
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DStaticAccountAuthenticator.java42 sAccountBundle.putString(AccountManager.KEY_ACCOUNT_NAME, NAME); in sAccountBundle.putString() argument
/cts/tests/tests/content/src/android/content/cts/
DMockAccountAuthenticator.java42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubAuthenticator.java70 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsAuthenticator.java64 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdAuthenticator.java63 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DTestAuthenticator.java78 result.putString(AccountManager.KEY_ACCOUNT_NAME, name); in addAccount()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsAuthenticator.java70 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DAccountAuthenticator.java48 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createAuthTokenBundle()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java108 result.getString(AccountManager.KEY_ACCOUNT_NAME), in withAccount()