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.java386 private boolean isAccountPresent(Account[] accounts, Account accountToCheck) { in isAccountPresent() method in AccountManagerTest
511 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccount()
536 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
542 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
566 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccountWithDeprecatedApi()
588 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccountExplicitly()
629 assertFalse(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAccountRenameAndGetPreviousName()
632 assertTrue(isAccountPresent(am.getAccounts(), renamedAccount)); in testAccountRenameAndGetPreviousName()
649 assertEquals(false, isAccountPresent(am.getAccounts(), ACCOUNT)); in testGetAccountsAndGetAccountsByType()
650 assertEquals(false, isAccountPresent(am.getAccounts(), ACCOUNT_SAME_TYPE)); in testGetAccountsAndGetAccountsByType()
[all …]