Home
last modified time | relevance | path

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

/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java390 private boolean isAccountPresent(Account[] accounts, Account accountToCheck) { in isAccountPresent() method in AccountManagerTest
558 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccount()
583 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
589 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
614 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_DEFAULT_IMPL)); in testAddAccountExplicitlyAndRemoveAccountWithDefaultImpl()
638 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccountWithDeprecatedApi()
660 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccountExplicitly()
701 assertFalse(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAccountRenameAndGetPreviousName()
704 assertTrue(isAccountPresent(am.getAccounts(), renamedAccount)); in testAccountRenameAndGetPreviousName()
721 assertEquals(false, isAccountPresent(am.getAccounts(), ACCOUNT)); in testGetAccountsAndGetAccountsByType()
[all …]