/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AbstractAuthenticatorTests.java | 78 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()
|
D | AccountManagerUnaffiliatedAuthenticatorTests.java | 349 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()
|
D | MockAccountAuthenticator.java | 148 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()
|
D | AccountManagerTest.java | 207 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/ |
D | TestAccountAuthenticator.java | 71 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 …]
|
D | TestDefaultAuthenticator.java | 63 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()
|
D | Fixtures.java | 72 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/ |
D | AccountReference.java | 19 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/ |
D | MockAuthenticator.java | 65 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in addTestAccount() 88 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
|
D | AccountCreator.java | 71 assertThat(result.getString(AccountManager.KEY_ACCOUNT_NAME)).isEqualTo( in addMockAccountForCurrentUser()
|
/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/ |
D | MockAuthenticator.java | 64 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/ |
D | TestAccountAuthenticator.java | 38 mAccountBundle.putString(AccountManager.KEY_ACCOUNT_NAME, TEST_ACCOUNT_NAME); in TestAccountAuthenticator()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockAccountAuthenticator.java | 42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
D | MockAccountAuthenticator.java | 42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
|
D | AccountManagementTest.java | 83 String accountName = result.getString(AccountManager.KEY_ACCOUNT_NAME); in testAddAccount_allowed()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/account/ |
D | StaticAccountAuthenticator.java | 42 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/ |
D | StubAuthenticator.java | 58 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
|
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/ |
D | StubAuthenticator.java | 70 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdAuthenticator.java | 63 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
|
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | SyncManagerCtsAuthenticator.java | 70 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | AccountAuthenticator.java | 48 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createAuthTokenBundle()
|
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | Utils.java | 108 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/ |
D | PocAuthService.java | 42 result.putString(AccountManager.KEY_ACCOUNT_NAME, "testevilaccountname"); in createResultBundle()
|
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | TestAppAccountAuthenticator.java | 63 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/ |
D | PocAuthService.java | 42 result.putString(AccountManager.KEY_ACCOUNT_NAME, "testevilaccountname"); in createResultBundle()
|