Home
last modified time | relevance | path

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

12

/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.java349 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
353 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessiontWithStartAddAccountSessionImpl()
399 sessionBundle.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
403 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in testDefaultFinishSessionWithCustomStartUpdateCredentialsSessionImpl()
459 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName); in createOptionsWithAccountName()
DMockAccountAuthenticator.java148 result.putString(AccountManager.KEY_ACCOUNT_NAME, AccountManagerTest.ACCOUNT_NAME); in createResultBundle()
237 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken()
349 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startAddAccountSession()
404 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in startUpdateCredentialsSession()
455 accountName = sessionBundle.getString(Fixtures.KEY_ACCOUNT_NAME); in finishSession()
461 result.putString(AccountManager.KEY_ACCOUNT_NAME, AccountManagerTest.ACCOUNT_NAME); in finishSession()
468 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, in finishSession()
DAccountManagerTest.java207 expected.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in validateSuccessfulTokenFetchingLifecycle()
258 actual.get(AccountManager.KEY_ACCOUNT_NAME)); in validateAccountAndAuthTokenResult()
269 expected.get(AccountManager.KEY_ACCOUNT_NAME), in validateAccountAndAuthTokenResult()
270 actual.get(AccountManager.KEY_ACCOUNT_NAME)); in validateAccountAndAuthTokenResult()
280 assertEquals(ACCOUNT_NAME, result.get(AccountManager.KEY_ACCOUNT_NAME)); in validateAccountAndNoAuthTokenResult()
286 assertNull(resultBundle.get(AccountManager.KEY_ACCOUNT_NAME)); in validateNullResult()
1222 result.putString(AccountManager.KEY_ACCOUNT_NAME, mAccount.name); in fetch()
2403 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName);
2437 options.putString(Fixtures.KEY_ACCOUNT_NAME, accountName);
2808 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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/accounts/
DAccountReference.java19 import static android.accounts.AccountManager.KEY_ACCOUNT_NAME;
76 result.getString(KEY_ACCOUNT_NAME), in fromAddResult()
89 result.getString(KEY_ACCOUNT_NAME), in fromAddResult()
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/
DMockAuthenticator.java65 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in addTestAccount()
88 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
DAccountCreator.java71 assertThat(result.getString(AccountManager.KEY_ACCOUNT_NAME)).isEqualTo( in addMockAccountForCurrentUser()
/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/
DMockAuthenticator.java64 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in addTestAccount()
87 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/
DTestAccountAuthenticator.java38 mAccountBundle.putString(AccountManager.KEY_ACCOUNT_NAME, TEST_ACCOUNT_NAME); in TestAccountAuthenticator()
/cts/tests/tests/content/src/android/content/cts/
DMockAccountAuthenticator.java42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
/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/contactsprovider/src/android/provider/cts/contacts/account/
DStaticAccountAuthenticator.java42 sAccountBundle.putString(AccountManager.KEY_ACCOUNT_NAME, NAME); in sAccountBundle.putString() argument
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/stub-app/src/android/security/cts/CVE_2021_0704_stub/
DStubAuthenticator.java58 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubAuthenticator.java70 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdAuthenticator.java63 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
/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()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/
DPocAuthService.java42 result.putString(AccountManager.KEY_ACCOUNT_NAME, "testevilaccountname"); in createResultBundle()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppAccountAuthenticator.java63 result.putString(AccountManager.KEY_ACCOUNT_NAME, name); in createResultBundle()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/
DPocAuthService.java42 result.putString(AccountManager.KEY_ACCOUNT_NAME, "testevilaccountname"); in createResultBundle()

12