Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType1Authenticator.java48 AccountManagerServiceTestFixtures.ACCOUNT_NAME_SUCCESS); in editProperties()
50 AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); in editProperties()
70 accountName = options.getString(AccountManagerServiceTestFixtures.KEY_ACCOUNT_NAME); in addAccount()
74 if (accountName.equals(AccountManagerServiceTestFixtures.ACCOUNT_NAME_SUCCESS)) { in addAccount()
80 result.putParcelable(AccountManagerServiceTestFixtures.KEY_OPTIONS_BUNDLE, options); in addAccount()
82 AccountManagerServiceTestFixtures.ACCOUNT_NAME_INTERVENE)) { in addAccount()
89 … intent.putExtra(AccountManagerServiceTestFixtures.KEY_RESULT, eventualActivityResultData); in addAccount()
90 intent.putExtra(AccountManagerServiceTestFixtures.KEY_CALLBACK, response); in addAccount()
97 AccountManagerServiceTestFixtures.ERROR_MESSAGE); in addAccount()
112 if (account.name.equals(AccountManagerServiceTestFixtures.ACCOUNT_NAME_SUCCESS)) { in confirmCredentials()
[all …]
DAccountManagerServiceTest.java224 Account a11 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); in testCheckAddAccount()
225 Account a21 = new Account("account2", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); in testCheckAddAccount()
226 Account a31 = new Account("account3", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); in testCheckAddAccount()
227 Account a12 = new Account("account1", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); in testCheckAddAccount()
228 Account a22 = new Account("account2", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); in testCheckAddAccount()
229 Account a32 = new Account("account3", AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); in testCheckAddAccount()
243 String[] list = new String[]{AccountManagerServiceTestFixtures.CALLER_PACKAGE}; in testCheckAddAccount()
256 accounts = mAms.getAccountsAsUser(AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1, in testCheckAddAccount()
266 accounts = mAms.getAccountsAsUser(AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1, in testCheckAddAccount()
281 Account a11 = new Account(longString, AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); in testCheckAddAccountLongName()
[all …]
DAccountAuthenticatorDummyActivity.java34 intent.getParcelableExtra(AccountManagerServiceTestFixtures.KEY_CALLBACK); in onCreate()
35 Intent result = intent.getParcelableExtra(AccountManagerServiceTestFixtures.KEY_RESULT); in onCreate()
DAccountManagerServiceTestFixtures.java23 public final class AccountManagerServiceTestFixtures { class
87 private AccountManagerServiceTestFixtures() {} in AccountManagerServiceTestFixtures() method in AccountManagerServiceTestFixtures
DTestAccountType2AuthenticatorService.java30 this, AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2); in onBind()
DTestAccountType1AuthenticatorService.java30 this, AccountManagerServiceTestFixtures.ACCOUNT_TYPE_1); in onBind()
DPreNTestDatabaseHelper.java29 public static final String ACCOUNT_TYPE = AccountManagerServiceTestFixtures.ACCOUNT_TYPE_2;