Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityMediumTests.java85 Account account3 = ProviderTestUtils.setupAccount("account3", false, mMockContext); in testFindExistingAccount() local
86 account3.mHostAuthRecv = ProviderTestUtils.setupHostAuth("foo_ba", -1, false, mMockContext); in testFindExistingAccount()
87 account3.mHostAuthSend = ProviderTestUtils.setupHostAuth("foo_ba", -1, false, mMockContext); in testFindExistingAccount()
88 account3.save(mMockContext); in testFindExistingAccount()
152 Account account3 = ProviderTestUtils.setupAccount("X2", true, mMockContext); in testGetFirstRowLong() local
161 assertEquals((Long) account3.mId, Utility.getFirstRowLong( in testGetFirstRowLong()
185 Account account3 = ProviderTestUtils.setupAccount("X2", true, mMockContext); in testGetFirstRowInt() local
194 assertEquals((Integer)(int) account3.mId, Utility.getFirstRowInt( in testGetFirstRowInt()
220 Account account3 = ProviderTestUtils.setupAccount("X2", true, mMockContext); in testGetFirstRowString() local
229 assertEquals(account3.mDisplayName, Utility.getFirstRowString( in testGetFirstRowString()
DUtilityUnitTests.java323 Account account3 = ProviderTestUtils.setupAccount("account3", true, mockContext); in testUpdateLastSeenMessageKey() local
337 Mailbox mailbox3_1 = ProviderTestUtils.setupMailbox("mbox3_1", account3.mId, true, in testUpdateLastSeenMessageKey()
339 Mailbox mailbox3_2 = ProviderTestUtils.setupMailbox("mbox3_2", account3.mId, true, in testUpdateLastSeenMessageKey()
361 Message message3_1_1 = ProviderTestUtils.setupMessage("message_3_1_1", account3.mId, in testUpdateLastSeenMessageKey()
408 Utility.updateLastSeenMessageKey(mockContext, account3.mId).get(); in testUpdateLastSeenMessageKey()
/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java96 Account account3 = ProviderTestUtils.setupAccount("pop-account2", false, mMockContext); in testSetImapDeletePolicy() local
97 account3.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testSetImapDeletePolicy()
98 account3.mHostAuthSend = setupSimpleHostAuth("smtp"); in testSetImapDeletePolicy()
99 account3.save(mMockContext); in testSetImapDeletePolicy()
100 long accountId3 = account3.mId; in testSetImapDeletePolicy()
DMailServiceTests.java312 Account account3 = ProviderTestUtils.setupAccount("account3", false, mMockContext); in testSetupSyncReportsWithBadAccounts() local
313 account3.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetupSyncReportsWithBadAccounts()
314 account3.mHostAuthSend = null; in testSetupSyncReportsWithBadAccounts()
315 account3.mSyncInterval = 30; in testSetupSyncReportsWithBadAccounts()
316 account3.save(mMockContext); in testSetupSyncReportsWithBadAccounts()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java502 Account account3 = ProviderTestUtils.setupAccount("account3", false, in testIsMessagingController() local
504 account3.mHostAuthRecv = setupSimpleHostAuth("pop3"); in testIsMessagingController()
505 account3.save(mProviderContext); in testIsMessagingController()
506 assertTrue(mTestController.isMessagingController(account3)); in testIsMessagingController()
515 assertNotNull(mTestController.mLegacyControllerMap.get(account3.mId)); in testIsMessagingController()
520 assertTrue(mTestController.mLegacyControllerMap.get(account3.mId)); in testIsMessagingController()
525 assertTrue(mTestController.isMessagingController(account3)); in testIsMessagingController()
/packages/apps/Email/tests/src/com/android/email/activity/
DWelcomeTests.java43 final Account account3 = ProviderTestUtils.setupAccount("account-3", true, c); in testResolveAccountId() local
44 final long id3 = account3.mId; in testResolveAccountId()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java3250 AccountWithDataSet account3 = new AccountWithDataSet("e", "f", "plus"); in testSettingsQuery() local
3253 createSettings(account3, "1", "0"); in testSettingsQuery()
3257 .appendQueryParameter(RawContacts.ACCOUNT_NAME, account3.getAccountName()) in testSettingsQuery()
3258 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, account3.getAccountType()) in testSettingsQuery()
3259 .appendQueryParameter(RawContacts.DATA_SET, account3.getDataSet()) in testSettingsQuery()