Home
last modified time | relevance | path

Searched refs:addAccountExplicitly (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsProvider2_AccountRemovalTest.java64 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemoval_deletesContacts()
65 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in testAccountRemoval_deletesContacts()
77 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
78 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
96 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemovalWithMergedContact_deletesContacts()
107 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
108 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
125 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemovalWithMergedContact_hasDeleteLogsForContacts()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java388 private void addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly() method in AccountManagerTest
389 assertTrue(am.addAccountExplicitly(account, password, userdata)); in addAccountExplicitly()
576 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccount()
602addAccountExplicitly(ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
634 addAccountExplicitly(ACCOUNT_FOR_DEFAULT_IMPL, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountWithDefaultImpl()
659 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountWithDeprecatedApi()
682 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountExplicitly()
704 am.addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testSetAccountVisibility()
727 am.addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testSetAccountVisibilityForPrivilegedPackage()
751 am.addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testGetPackagesAndVisibilityForAccount()
[all …]
DAccountManagerUnaffiliatedAuthenticatorTests.java91 mAccountManager.addAccountExplicitly( in testAddAccountExplicitly()
233 mAccountManager.addAccountExplicitly(Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS, in testAddAccountExplicitlyVisthVisibilityMap()
DMockAccountAuthenticator.java169 am.addAccountExplicitly(AccountManagerTest.ACCOUNT, "fakePassword", null); in addAccount()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverSyncTestCase.java82 private void addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly() method in ContentResolverSyncTestCase
83 assertTrue(sAccountManager.addAccountExplicitly(account, password, userdata)); in addAccountExplicitly()
110 addAccountExplicitly(account, password, null /* userData */); in addAccountAndVerifyInitSync()
280addAccountExplicitly(ACCOUNT, MockAccountAuthenticator.ACCOUNT_PASSWORD, null /* userData */); in testGetAndSetIsSyncable()
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DAccountManagementTest.java98 assertTrue(mAccountManager.addAccountExplicitly(ACCOUNT, "password", null)); in testRemoveAccount_blocked()
121 assertTrue(mAccountManager.addAccountExplicitly(ACCOUNT, "password", null)); in testRemoveAccount_allowed()
DAccountUtilsTest.java55 assertTrue(mAccountManager.addAccountExplicitly(ACCOUNT, "password", null)); in testAddAccountExplicitly()
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DInvalidSyncAuthoritiesDeviceTest.java60 mAccountManager.addAccountExplicitly(mValidAccount, "password", null)); in createTestAccount()
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubAuthenticator.java67 accountManager.addAccountExplicitly(new Account(accountName, accountType), "bar", null); in addAccount()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DAuthenticatorContentProvider.java91 am.addAccountExplicitly(account, Fixtures.PREFIX_PASSWORD + name, null); in setup()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdAuthenticator.java68 am.addAccountExplicitly(account, "password", new Bundle()); in ensureTestAccount()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DTestAuthenticator.java80 mContxet.getSystemService(AccountManager.class).addAccountExplicitly( in addAccount()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsAuthenticator.java69 am.addAccountExplicitly(account, "password", new Bundle()); in ensureTestAccount()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsAuthenticator.java74 getAccountManager().addAccountExplicitly(account, "password", new Bundle()); in ensureTestAccount()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DAccountAuthenticator.java132 AccountManager.get(mContext).addAccountExplicitly(TEST_ACCOUNT, null, null); in addAccountFromCredentials()
DProvisioningTest.java155 AccountManager.get(mContext).addAccountExplicitly(account, null, null); in addAndGetTestAccount()
DCrossProfileCalendarTest.java513 AccountManager.get(mContext).addAccountExplicitly(account, null, null); in addTestAccount()
DContactsTest.java158 AccountManager.get(getContext()).addAccountExplicitly(account, null, null); in testAddTestAccount()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/
DTestAuthenticator.java76 context.getSystemService(AccountManager.class).addAccountExplicitly( in createAccount()
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsTest.java240 am.addAccountExplicitly(mAccount, password, new Bundle()); in addAccount()