Home
last modified time | relevance | path

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

/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerUnaffiliatedAuthenticatorTests.java25 import android.accounts.cts.common.Fixtures;
77 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS); in testNotifyAccountAuthenticated()
85 Fixtures.TYPE_STANDARD_UNAFFILIATED, in testEditProperties()
98 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS, in testAddAccountExplicitly()
108 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS, in testRemoveAccount_withBooleanResult()
118 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS, in testRemoveAccount_withBundleResult()
129 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS); in testRemoveAccountExplicitly()
137 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS); in testGetPassword()
145 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS, in testSetPassword()
154 Fixtures.ACCOUNT_UNAFFILIATED_FIXTURE_SUCCESS); in testClearPassword()
[all …]
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java67 accountName = options.getString(Fixtures.KEY_ACCOUNT_NAME); in addAccount()
68 isCallbackRequired = options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED, false); in addAccount()
73 if (accountName.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in addAccount()
77 } else if (accountName.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in addAccount()
84 intent.putExtra(Fixtures.KEY_RESULT, eventualActivityResultData); in addAccount()
85 intent.putExtra(Fixtures.KEY_CALLBACK, response); in addAccount()
122 options != null && options.getBoolean(Fixtures.KEY_CALLBACK_REQUIRED); in confirmCredentials()
123 if (account.name.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in confirmCredentials()
128 } else if (account.name.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in confirmCredentials()
137 intent.putExtra(Fixtures.KEY_RESULT, eventualActivityResultData); in confirmCredentials()
[all …]
DTestAuthenticatorActivity.java30 AccountAuthenticatorResponse response = intent.getParcelableExtra(Fixtures.KEY_CALLBACK); in onCreate()
31 Intent result = intent.getParcelableExtra(Fixtures.KEY_RESULT); in onCreate()
DFixtures.java27 public final class Fixtures { class
73 private Fixtures() {} in Fixtures() method in Fixtures
DAuthenticatorContentProvider.java89 for (String name : Fixtures.getFixtureAccountNames()) { in setup()
91 am.addAccountExplicitly(account, Fixtures.PREFIX_PASSWORD + name, null); in setup()
/cts/tests/tests/accounts/CtsUnaffiliatedAccountAuthenticators/src/android/accounts/cts/unaffiliated/
DStdAccountAuthService.java19 import android.accounts.cts.common.Fixtures;
33 new TestAccountAuthenticator(this, Fixtures.TYPE_STANDARD_UNAFFILIATED); in onBind()