Searched refs:getAccounts (Results 1 – 10 of 10) 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()
322 Account[] accounts = am.getAccounts(); in getAccountsCount()593 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccount()596 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT)); in testAddAccountExplicitlyAndRemoveAccount()602 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccount()619 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()622 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()625 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()628 assertTrue(isAccountPresent(am.getAccounts(), ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()633 accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()651 Account[] accounts = am.getAccounts(); in testAddAccountExplicitlyAndRemoveAccountWithDefaultImpl()[all …]
241 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
94 return Arrays.stream(accountManager(user).getAccounts()) in all()
73 final Account[] accounts = accountManager.getAccounts(); in addMockAccountForCurrentUser()
120 for (Account account : accountManager.getAccounts()) { in removeAccounts()
402 assertThat(testAppInstance.accountManager().getAccounts()).isNotNull(); in accountManager_returnsUsableInstance()
3784 …ue="android.permission.GET_ACCOUNTS", apis="..22") public android.accounts.Account[] getAccounts();