Home
last modified time | relevance | path

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

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsProvider2_AccountRemovalTest.java87 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemoval_deletesContacts()
88 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in testAccountRemoval_deletesContacts()
100 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
101 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in testAccountRemoval_hasDeleteLogsForContacts()
119 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemovalWithMergedContact_deletesContacts()
136 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemoval_doesNotDeleteLocalAccountContacts()
137 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in testAccountRemoval_doesNotDeleteLocalAccountContacts()
168 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemoval_doesNotDeleteSimAccountContacts()
169 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in testAccountRemoval_doesNotDeleteSimAccountContacts()
234 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
[all …]
DContactsContract_SettingsTest.java57 mAccountManager.addAccountExplicitly(ACCT_1, null, null); in setUp()
58 mAccountManager.addAccountExplicitly(ACCT_2, null, null); in setUp()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAccountManagerEnumerationTest.java90 assertThat(mAccountManager.addAccountExplicitly( in addAccountExplicitlyWithVisibility_targetPackageIsVisible()
103 assertThat(mAccountManager.addAccountExplicitly( in addAccountExplicitlyWithVisibility_targetPackageNotVisible()
114 assertThat(mAccountManager.addAccountExplicitly( in setAccountVisibility_targetPackageIsVisible()
122 assertThat(mAccountManager.addAccountExplicitly( in setAccountVisibility_targetPackageNotVisible()
DSyncAdapterEnumerationTests.java85 assertThat(sAccountManager.addAccountExplicitly(ACCOUNT_SYNCADAPTER, in setUpAccounts()
87 assertThat(sAccountManager.addAccountExplicitly(ACCOUNT_SYNCADAPTER_SHARED_USER, in setUpAccounts()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java402 private void addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly() method in AccountManagerTest
403 assertTrue(am.addAccountExplicitly(account, password, userdata)); in addAccountExplicitly()
590 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccount()
616addAccountExplicitly(ACCOUNT_FOR_NEW_REMOVE_ACCOUNT_API, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountWithNewApi()
648 addAccountExplicitly(ACCOUNT_FOR_DEFAULT_IMPL, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountWithDefaultImpl()
673 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountWithDeprecatedApi()
696 addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testAddAccountExplicitlyAndRemoveAccountExplicitly()
718 am.addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testSetAccountVisibility()
741 am.addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testSetAccountVisibilityForPrivilegedPackage()
765 am.addAccountExplicitly(ACCOUNT, ACCOUNT_PASSWORD, null /* userData */); in testGetPackagesAndVisibilityForAccount()
[all …]
DAccountManagerUnaffiliatedAuthenticatorTests.java89 mAccountManager.addAccountExplicitly( in testAddAccountExplicitly()
231 mAccountManager.addAccountExplicitly(Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS, in testAddAccountExplicitlyVisthVisibilityMap()
DMockAccountAuthenticator.java170 am.addAccountExplicitly(AccountManagerTest.ACCOUNT, "fakePassword", null); in addAccount()
/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()
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/
DMockAuthenticator.java70 am.addAccountExplicitly(account, "password", new Bundle()); in addTestAccount()
100 am.addAccountExplicitly(getTestAccount(), "fakePassword", null); in addAccount()
/cts/hostsidetests/accounts/test-apps/AccountManagerCrossUserApp/src/com/android/cts/accountmanager/
DMockAuthenticator.java69 am.addAccountExplicitly(account, "password", new Bundle()); in addTestAccount()
99 am.addAccountExplicitly(getTestAccount(), "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/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/
DPocActivity.java35 .addAccountExplicitly( in onResume()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/
DPocActivity.java35 .addAccountExplicitly( in onResume()
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DInvalidSyncAuthoritiesDeviceTest.java60 mAccountManager.addAccountExplicitly(mValidAccount, "password", null)); in createTestAccount()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/stub-app/src/android/security/cts/CVE_2021_0704_stub/
DStubAuthenticator.java55 accountManager.addAccountExplicitly(new Account(accountName, accountType), in addAccount()
/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/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdAuthenticator.java68 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()
DContactsTest.java169 AccountManager.get(getContext()).addAccountExplicitly(account, null, null); in testAddTestAccount()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppAccountAuthenticator.java83 accountManager.addAccountExplicitly(account, password, new Bundle()); in addAccount()
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsTest.java240 am.addAccountExplicitly(mAccount, password, new Bundle()); in addAccount()
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/
DCloneContactsSharingTest.java410 boolean result = mAccountManager.addAccountExplicitly(testAccount, /* password */ null, in testContactSyncsForCloneAccounts_syncsAreDisabled()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt3773 …id.permission.AUTHENTICATE_ACCOUNTS", apis="..22") public boolean addAccountExplicitly(android.acc…
3774 …method public boolean addAccountExplicitly(android.accounts.Account, String, android.os.Bundle, ja…