Home
last modified time | relevance | path

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

/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/
DAccountManagerCrossUserTest.java108 Account[] accounts = accountManagerAsUser.getAccounts(); in testAccountManager_addMockAccount()
143 Account[] accounts = accountManagerAsUser.getAccounts(); in testAccountManager_getAccountsForTestUser()
173 Account[] accounts = accountManager.getAccounts(); in testAccountManager_getAccountsForCurrentUser()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java322 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 …]
DAccountManagerUnaffiliatedAuthenticatorTests.java241 Account[] accounts = mAccountManager.getAccounts(); in testGetAccounts()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java124 assertEquals(account, getMockSyncAdapter().getAccounts().get(accountIndex)); in addAccountAndVerifyInitSync()
205 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0)); in testRequestSync()
379 assertEquals(ACCOUNT, getMockSyncAdapter().getAccounts().get(0));
DMockSyncAdapter.java42 public ArrayList<Account> getAccounts() { in getAccounts() method in MockSyncAdapter
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/accounts/
DAccounts.java94 return Arrays.stream(accountManager(user).getAccounts()) in all()
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/
DAccountCreator.java73 final Account[] accounts = accountManager.getAccounts(); in addMockAccountForCurrentUser()
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubAuthenticator.java120 for (Account account : accountManager.getAccounts()) { in removeAccounts()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java402 assertThat(testAppInstance.accountManager().getAccounts()).isNotNull(); in accountManager_returnsUsableInstance()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt3784 …ue="android.permission.GET_ACCOUNTS", apis="..22") public android.accounts.Account[] getAccounts();