Searched refs:getAccounts (Results 1 – 8 of 8) sorted by relevance
108 Account[] accounts = accountManagerAsUser.getAccounts(); in testAccountManager_addMockAccount()143 Account[] accounts = accountManagerAsUser.getAccounts(); in testAccountManager_getAccountsForTestUser()173 Account[] accounts = accountManager.getAccounts(); in testAccountManager_getAccountsForCurrentUser()
308 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 …]
243 Account[] accounts = mAccountManager.getAccounts(); in testGetAccounts()
124 assertEquals(account, getMockSyncAdapter().getAccounts().get(accountIndex)); in addAccountAndVerifyInitSync()205 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0)); in testRequestSync()379 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0));
42 public ArrayList<Account> getAccounts() { in getAccounts() method in MockSyncAdapter
62 final Account[] accounts = accountManager.getAccounts(); in addMockAccountForCurrentUser()
120 for (Account account : accountManager.getAccounts()) { in removeAccounts()
136 final Account accounts[] = am.getAccounts(); in testCheckPreconfiguredAccountFeatures()