/packages/apps/Email/tests/src/com/android/email/service/ |
EmailBroadcastProcessorServiceTests.java | 92 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext); local 93 account2.mHostAuthRecv = setupSimpleHostAuth("pop3"); 94 account2.mHostAuthSend = setupSimpleHostAuth("smtp"); 95 account2.mFlags = 0x08; // set delete policy 96 account2.save(mMockContext); 97 long accountId2 = account2.mId; 98 Account account3 = ProviderTestUtils.setupAccount("pop-account2", false, mMockContext); 109 Account account5 = ProviderTestUtils.setupAccount("imap-account2", false, mMockContext);
|
AttachmentDownloadServiceTests.java | 268 Account account = ProviderTestUtils.setupAccount("account2", false, mMockContext);
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityMediumTests.java | 67 Account account2 = ProviderTestUtils.setupAccount("account2", false, mMockContext); local 68 account2.mHostAuthRecv = ProviderTestUtils.setupHostAuth("ha2", -1, false, mMockContext); 69 account2.mHostAuthSend = ProviderTestUtils.setupHostAuth("ha2", -1, false, mMockContext); 70 account2.save(mMockContext); 77 assertEquals("account2", acct.mDisplayName); 152 Account account2 = ProviderTestUtils.setupAccount("X1", true, mMockContext); local 156 assertEquals((Long) account2.mId, Utility.getFirstRowLong( 185 Account account2 = ProviderTestUtils.setupAccount("X1", true, mMockContext); local 189 assertEquals((Integer)(int) account2.mId, Utility.getFirstRowInt 220 Account account2 = ProviderTestUtils.setupAccount("X1", true, mMockContext); local [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenServiceTest.java | 60 Account account2 = AccountManagerHelper.createAccountFromName("bar@gmail.com"); local 61 AccountHolder accountHolder2 = AccountHolder.create().account(account2).build(); 68 assertTrue("The list should contain " + account2, 69 Arrays.asList(accounts).contains(account2.name));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncStorageEngineTest.java | 127 final Account account2 = new Account("b@example.com", "example.type.2"); local 139 PeriodicSync sync4 = new PeriodicSync(account2, authority, extras2, period2); 144 removePeriodicSyncs(engine, account2, 0, authority); 147 // this should add two distinct periodic syncs for account1 and one for account2 168 syncs = engine.getPeriodicSyncs(account2, 0, authority); 183 final Account account2 = new Account("b@example.com", "example.type.2"); local 197 PeriodicSync sync4 = new PeriodicSync(account2, authority, extras2, period2, flex2); 205 removePeriodicSyncs(engine, account2, 0, authority); 208 // This should add two distinct periodic syncs for account1 and one for account2 229 syncs = engine.getPeriodicSyncs(account2, 0, authority) 249 final Account account2 = new Account("b@example.com", "example.type.2"); local 594 final Account account2 = new Account("acc2", "type2"); local [all...] |
SyncOperationTest.java | 41 Account account2 = new Account("account2", "type2"); local 83 SyncOperation op4 = new SyncOperation(account2, 0,
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 74 Account account2 = ProviderTestUtils.setupAccount("acct2", true, mMockContext); local 76 SecurityPolicy.setAccountPolicy(mMockContext, account2, policy2, securitySyncKey); 79 account2.refresh(mMockContext); 83 assertTrue(account2.mPolicyKey > 0); 86 assertEquals(account2.mId, Policy.getAccountIdWithPolicyKey(mMockContext, 87 account2.mPolicyKey));
|
AttachmentProviderTests.java | 604 Account account2 = ProviderTestUtils.setupAccount("attach-acct-del2", false, mMockContext); local 605 account2.mCompatibilityUuid = "test-UUID-2"; 606 account2.save(mMockContext); 607 long account2Id = account2.mId; 616 populateAccountMailbox(account2, mailbox3Id, 5); 617 populateAccountMailbox(account2, mailbox4Id, 2); 624 account2.mId);
|
ProviderTests.java | 194 Account account2 = Account.restoreAccountWithId(mMockContext, account1Id); local 196 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account2); 309 Account account2 = (Account) b2.getParcelable("account"); local 312 ProviderTestUtils.assertAccountEqual("testAccountParcel", account1, account2); 321 final Account account2 = ProviderTestUtils.setupAccount("account-2", true, mMockContext); local 323 final long account2Id = account2.mId; 326 final Uri uri2 = account2.getShortcutSafeUri(); 331 MoreAsserts.assertEquals(new String[] {"account", account2.mCompatibilityUuid}, 341 mMockContext, getEclairStyleShortcutUri(account2))); 362 Account account2 local 374 final Account account2 = ProviderTestUtils.setupAccount("account-2", true, mMockContext); local 648 Account account2 = ProviderTestUtils.setupAccount("account-delete-2", true, mMockContext); local 1662 Account account2 = ProviderTestUtils.setupAccount("account-default-2", false, mMockContext); local 1694 Account account2 = ProviderTestUtils.setupAccount("account-default-2", false, mMockContext); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTest.java | 73 Account a21 = new Account("account2", "type1"); 76 Account a22 = new Account("account2", "type2");
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
ComposeActivityTest.java | 429 messageValues[UIProvider.MESSAGE_TO_COLUMN] = "account1@mock.com, account2@mock.com"; 699 final Account currentAccount = getAccountForName(context, "account2@mockuiprovider.com"); [all...] |