Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsProvider2_AccountRemovalTest.java69 mAccountManager.removeAccount(ACCT_2, null, null); in testAccountRemoval_deletesContacts()
72 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemoval_deletesContacts()
83 mAccountManager.removeAccount(ACCT_2, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
87 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
98 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemovalWithMergedContact_deletesContacts()
114 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
121 mAccountManager.removeAccount(ACCT_2, null, null); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
128 mAccountManager.removeAccount(ACCT_1, null, null); in testAccountRemovalWithMergedContact_hasDeleteLogsForContacts()
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsTest.java144 removeAccount(mContext); in testIsSyncableChanged_ifTurnOnSyncEnabled()
170 removeAccount(mContext); in testIsSyncableIsZero_ifTurnOffSyncEnabled()
199 removeAccount(mContext); in testIsSyncableIsOne_ifTurnOffSyncEnabled()
260 private void removeAccount(Context context) { in removeAccount() method in SyncAdapterSettingsTest
/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.java65 removeAccount(sAccountManager, ACCOUNT, null /* callback */); in tearDown()
86 private boolean removeAccount(AccountManager am, Account account, in removeAccount() method in ContentResolverSyncTestCase
90 AccountManagerFuture<Boolean> futureBoolean = am.removeAccount(account, in removeAccount()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java163 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in tearDown()
165 assertTrue(removeAccount(am, ACCOUNT_SAME_TYPE, mActivity, null /* callback */).getBoolean( in tearDown()
174 removeAccount(am, ctsAccount, mActivity, null /* callback */); in tearDown()
344 private boolean removeAccount(AccountManager am, Account account, in removeAccount() method in AccountManagerTest
347 AccountManagerFuture<Boolean> futureBoolean = am.removeAccount(account, in removeAccount()
360 AccountManagerFuture<Bundle> futureBundle = am.removeAccount(account, in removeAccountWithIntentLaunch()
370 private Bundle removeAccount(AccountManager am, Account account, Activity activity, in removeAccount() method in AccountManagerTest
374 AccountManagerFuture<Bundle> futureBundle = am.removeAccount(account, in removeAccount()
584 assertTrue(removeAccount(am, ACCOUNT, mActivity, null /* callback */).getBoolean( in testAddAccountExplicitlyAndRemoveAccount()
610 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()