Home
last modified time | relevance | path

Searched refs:getAccounts (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/
DAccountManagerCrossUserTest.java108 Account[] accounts = accountManagerAsUser.getAccounts(); in testAccountManager_addMockAccount()
143 Account[] accounts = accountManagerAsUser.getAccounts(); in testAccountManager_getAccountsForTestUser()
173 Account[] accounts = accountManager.getAccounts(); in testAccountManager_getAccountsForCurrentUser()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java308 Account[] accounts = am.getAccounts(); in getAccountsCount()
579 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccount()
582 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccount()
588 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccount()
605 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
608 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
611 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
614 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
619 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
637 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithDefaultImpl()
[all …]
DAccountManagerUnaffiliatedAuthenticatorTests.java243 Account[] accounts = mAccountManager.getAccounts(); in testGetAccounts()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java124 assertEquals(account, getMockSyncAdapter().getAccounts().get(accountIndex)); in addAccountAndVerifyInitSync()
205 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0)); in testRequestSync()
379 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0));
DMockSyncAdapter.java42 public ArrayList<Account> getAccounts() { in getAccounts() method in MockSyncAdapter
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/
DAccountCreator.java62 final Account[] accounts = accountManager.getAccounts(); in addMockAccountForCurrentUser()
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubAuthenticator.java120 for (Account account : accountManager.getAccounts()) { in removeAccounts()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DAccountCheckTest.java136 final Account accounts[] = am.getAccounts(); in testCheckPreconfiguredAccountFeatures()