Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DContactsProvider2_AccountRemovalTest.java77 mAccountManager.removeAccount(ACCT_2, null, null); in testAccountRemoval_deletesContacts()
80 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemoval_deletesContacts()
91 mAccountManager.removeAccount(ACCT_2, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
95 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
106 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemovalWithMergedContact_deletesContacts()
122 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
129 mAccountManager.removeAccount(ACCT_2, null, null); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
136 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemovalWithMergedContact_hasDeleteLogsForContacts()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAccountManagementTest.java132 mAccountManager.removeAccount(ACCOUNT_0, null, null).getResult(); in testAccountManagementDisabled_removeAccount()
143 assertTrue(mAccountManager.removeAccount(ACCOUNT_0, null, null).getResult()); in testAccountManagementDisabled_removeAccount()
154 assertTrue(mAccountManager.removeAccount(ACCOUNT_1, null, null).getResult()); in testAccountManagementDisabled_removeAccount()
DAccountUtilsTest.java60 AccountManagerFuture<Boolean> result = am.removeAccount(account, null, null); in removeAllAccountsForType()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerUnaffiliatedAuthenticatorTests.java107 mAccountManager.removeAccount( in testRemoveAccount_withBooleanResult()
117 mAccountManager.removeAccount( in testRemoveAccount_withBundleResult()
DAccountManagerTest.java136 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in tearDown()
138 assertTrue(removeAccount(am, ACCOUNT_SAME_TYPE, mActivity, null /* callback */).getBoolean( in tearDown()
147 removeAccount(am, ctsAccount, mActivity, null /* callback */); in tearDown()
317 private boolean removeAccount(AccountManager am, Account account, in removeAccount() method in AccountManagerTest
320 AccountManagerFuture<Boolean> futureBoolean = am.removeAccount(account, in removeAccount()
333 AccountManagerFuture<Bundle> futureBundle = am.removeAccount(account, in removeAccountWithIntentLaunch()
343 private Bundle removeAccount(AccountManager am, Account account, Activity activity, in removeAccount() method in AccountManagerTest
347 AccountManagerFuture<Bundle> futureBundle = am.removeAccount(account, in removeAccount()
513 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in testAddAccountExplicitlyAndRemoveAccount()
538 assertFalse(removeAccount(am, ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API, null /* callback */)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java58 removeAccount(sAccountManager, ACCOUNT, null /* callback */); in tearDown()
79 private boolean removeAccount(AccountManager am, Account account, in removeAccount() method in ContentResolverSyncTestCase
83 AccountManagerFuture<Boolean> futureBoolean = am.removeAccount(account, in removeAccount()