/packages/apps/Email/tests/src/com/android/email/service/ |
EmailBroadcastProcessorServiceTests.java | 90 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext); local 91 account2.mHostAuthRecv = setupSimpleHostAuth("pop3"); 92 account2.mHostAuthSend = setupSimpleHostAuth("smtp"); 93 account2.mFlags = 0x08; // set delete policy 94 account2.save(mMockContext); 95 long accountId2 = account2.mId; 96 Account account3 = ProviderTestUtils.setupAccount("pop-account2", false, mMockContext); 107 Account account5 = ProviderTestUtils.setupAccount("imap-account2", false, mMockContext);
|
MailServiceTests.java | 245 Account imapAccount = ProviderTestUtils.setupAccount("account2", false, mMockContext); 306 Account account2 = ProviderTestUtils.setupAccount("account2", false, mMockContext); local 307 account2.mHostAuthRecv = null; 308 account2.mHostAuthSend = setupSimpleHostAuth("smtp"); 309 account2.mSyncInterval = 30; 310 account2.save(mMockContext);
|
AttachmentDownloadServiceTests.java | 267 Account account = ProviderTestUtils.setupAccount("account2", false, mMockContext);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 40 Account account2 = new Account("account2", "type2"); local 79 SyncOperation op4 = new SyncOperation(account2, 0,
|
SyncStorageEngineTest.java | 76 final Account account2 = new Account("b@example.com", "example.type.2"); local 88 PeriodicSync sync4 = new PeriodicSync(account2, authority, extras2, period2); 96 removePeriodicSyncs(engine, account2, 0, authority); 99 // this should add two distinct periodic syncs for account1 and one for account2 120 syncs = engine.getPeriodicSyncs(account2, 0, authority); 142 final Account account2 = new Account("b@example.com", "example.type.2"); local 162 PeriodicSync sync5 = new PeriodicSync(account2, authority1, extras1, period1); 170 removePeriodicSyncs(engine, account2, 0, authority1); 172 removePeriodicSyncs(engine, account2, 0, authority2); 179 engine.setIsSyncable(account2, 0, authority1, 1) 360 final Account account2 = new Account("acc2", "type2"); local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityMediumTests.java | 66 Account account2 = ProviderTestUtils.setupAccount("account2", false, mMockContext); local 67 account2.mHostAuthRecv = ProviderTestUtils.setupHostAuth("ha2", -1, false, mMockContext); 68 account2.mHostAuthSend = ProviderTestUtils.setupHostAuth("ha2", -1, false, mMockContext); 69 account2.save(mMockContext); 76 assertEquals("account2", acct.mDisplayName); 151 Account account2 = ProviderTestUtils.setupAccount("X1", true, mMockContext); local 155 assertEquals((Long) account2.mId, Utility.getFirstRowLong( 184 Account account2 = ProviderTestUtils.setupAccount("X1", true, mMockContext); local 188 assertEquals((Integer)(int) account2.mId, Utility.getFirstRowInt 219 Account account2 = ProviderTestUtils.setupAccount("X1", true, mMockContext); local [all...] |
UtilityUnitTests.java | 322 Account account2 = ProviderTestUtils.setupAccount("account2", true, mockContext); local 335 Mailbox mailbox2_1 = ProviderTestUtils.setupMailbox("mbox2_1", account2.mId, true, 357 Message message2_1_1 = ProviderTestUtils.setupMessage("message_2_1_1", account2.mId, 359 Message message2_1_2 = ProviderTestUtils.setupMessage("message_2_1_2", account2.mId, 396 Utility.updateLastSeenMessageKey(mockContext, account2.mId).get();
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
WelcomeTests.java | 41 final Account account2 = ProviderTestUtils.setupAccount("account-2", true, c); local 42 final long id2 = account2.mId;
|
/packages/apps/Email/tests/src/com/android/email/ |
ControllerProviderOpsTests.java | 406 Account account2 = ProviderTestUtils.setupAccount("wipe-synced-2", false, mProviderContext); local 407 account2.mSyncKey = "account-2-sync-key"; 408 account2.save(mProviderContext); 409 long account2Id = account2.mId; 497 Account account2 = ProviderTestUtils.setupAccount("account2", false, local 499 account2.mHostAuthRecv = setupSimpleHostAuth("imap"); 500 account2.save(mProviderContext); 501 assertTrue(mTestController.isMessagingController(account2)); 514 assertNotNull(mTestController.mLegacyControllerMap.get(account2.mId)) [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 614 Account account2 = ProviderTestUtils.setupAccount("attach-acct-del2", false, mMockContext); local 615 account2.mCompatibilityUuid = "test-UUID-2"; 616 account2.save(mMockContext); 617 long account2Id = account2.mId; 626 populateAccountMailbox(account2, mailbox3Id, 5); 627 populateAccountMailbox(account2, mailbox4Id, 2); 634 account2.mId);
|
/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/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 831 Account account2 = new Account("act2", "actype2"); local 853 Account account2 = new Account("act2", "actype2"); local 975 Account account2 = new Account("c", "d"); local 2993 Account account2 = new Account("c", "d"); local 3068 final Account account2 = new Account("accountName2", "accountType2"); local 3096 final Account account2 = new Account("accountName2", "accountType2"); local 3127 final Account account2 = new Account("accountName2", "accountType2"); local 3249 Account account2 = new Account("c", "d"); local 3274 AccountWithDataSet account2 = new AccountWithDataSet("c", "d", "plus"); local 5282 Account account2 = new Account("c", "d"); local [all...] |
BaseContactsProvider2Test.java | 91 protected Account mAccountTwo = new Account("account2", "account type2"); [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 1128 String account2 = "ceq2_account"; local 1519 String account2 = "colw2_account"; local 2769 String account2 = "roid2_account"; local [all...] |