/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 | 356 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()
|
D | MockAccountAuthenticator.java | 148 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()
|
D | AccountManagerTest.java | 193 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/ |
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/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/provider/src/android/provider/cts/contacts/account/ |
D | StaticAccountAuthenticator.java | 42 sAccountBundle.putString(AccountManager.KEY_ACCOUNT_NAME, NAME); in sAccountBundle.putString() argument
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockAccountAuthenticator.java | 42 result.putString(AccountManager.KEY_ACCOUNT_NAME, ACCOUNT_NAME); in createResultBundle()
|
/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/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsAuthenticator.java | 64 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdAuthenticator.java | 63 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in ensureTestAccount()
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
D | TestAuthenticator.java | 78 result.putString(AccountManager.KEY_ACCOUNT_NAME, name); in addAccount()
|
/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()
|