Home
last modified time | relevance | path

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

/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java281 Account[] accounts = am.getAccounts(); in getAccountsCount()
508 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccount()
511 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccount()
517 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccount()
533 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
536 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
539 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
542 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
547 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
563 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithDeprecatedApi()
[all …]
DAccountManagerUnaffiliatedAuthenticatorTests.java198 Account[] accounts = mAccountManager.getAccounts(); in testGetAccounts()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java117 assertEquals(account, getMockSyncAdapter().getAccounts().get(accountIndex)); in addAccountAndVerifyInitSync()
185 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0)); in testRequestSync()
361 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0));
DMockSyncAdapter.java41 public ArrayList<Account> getAccounts() { in getAccounts() method in MockSyncAdapter