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/contacts/
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/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DAccountManagementTest.java104 mAccountManager.removeAccount(ACCOUNT, null, null).getResult(); in testRemoveAccount_blocked()
124 assertTrue(mAccountManager.removeAccount(ACCOUNT, null, null).getResult()); in testRemoveAccount_allowed()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAllowedAccountManagementTest.java116 result = mAccountManager.removeAccount(ACCOUNT, null, null, null).getResult(); in testUserRestriction_profileAndDeviceOwnerCanAddAndRemoveAccount()
124 Bundle result = mAccountManager.removeAccount(ACCOUNT, null, null, null).getResult(); in testRemoveAccount_noUserRestriction()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java63 removeAccount(sAccountManager, ACCOUNT, null /* callback */); in tearDown()
84 private boolean removeAccount(AccountManager am, Account account, in removeAccount() method in ContentResolverSyncTestCase
88 AccountManagerFuture<Boolean> futureBoolean = am.removeAccount(account, in removeAccount()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java165 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in tearDown()
167 assertTrue(removeAccount(am, ACCOUNT_SAME_TYPE, mActivity, null /* callback */).getBoolean( in tearDown()
176 removeAccount(am, ctsAccount, mActivity, null /* callback */); in tearDown()
346 private boolean removeAccount(AccountManager am, Account account, in removeAccount() method in AccountManagerTest
349 AccountManagerFuture<Boolean> futureBoolean = am.removeAccount(account, in removeAccount()
362 AccountManagerFuture<Bundle> futureBundle = am.removeAccount(account, in removeAccountWithIntentLaunch()
372 private Bundle removeAccount(AccountManager am, Account account, Activity activity, in removeAccount() method in AccountManagerTest
376 AccountManagerFuture<Bundle> futureBundle = am.removeAccount(account, in removeAccount()
586 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in testAddAccountExplicitlyAndRemoveAccount()
612 assertFalse(removeAccount(am, ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API, null /* callback */)); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
[all …]
DAccountManagerUnaffiliatedAuthenticatorTests.java101 mAccountManager.removeAccount( in testRemoveAccount_withBooleanResult()
111 mAccountManager.removeAccount( in testRemoveAccount_withBundleResult()