Home
last modified time | relevance | path

Searched refs:account1 (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java93 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); in testQuery() local
94 account1.mCompatibilityUuid = "test-UUID"; in testQuery()
95 account1.save(mMockContext); in testQuery()
105 Uri attachment1Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery()
107 Uri attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery()
109 Uri attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery()
121 AttachmentUtilities.getAttachmentUri(account1.mId, attachment1Id).toString(); in testQuery()
122 attachment1Id = addAttachmentToDb(account1, newAttachment1); in testQuery()
128 AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id).toString(); in testQuery()
129 attachment2Id = addAttachmentToDb(account1, newAttachment2); in testQuery()
[all …]
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java181 Account account1 = ProviderTestUtils.setupAccount("message-move", true, mProviderContext); in testMoveMessage() local
182 long account1Id = account1.mId; in testMoveMessage()
213 Account account1 = ProviderTestUtils.setupAccount("message-delete", true, mProviderContext); in testDeleteMessage() local
214 long account1Id = account1.mId; in testDeleteMessage()
273 Account account1 = in testDeleteMessageNoTrash() local
275 long account1Id = account1.mId; in testDeleteMessageNoTrash()
302 Account account1 = ProviderTestUtils.setupAccount("read-unread", false, mProviderContext); in testReadUnread() local
303 account1.mHostAuthRecv in testReadUnread()
305 account1.save(mProviderContext); in testReadUnread()
306 long account1Id = account1.mId; in testReadUnread()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java321 Account account1 = ProviderTestUtils.setupAccount("account1", true, mockContext); in testUpdateLastSeenMessageKey() local
325 Mailbox mailbox1_1 = ProviderTestUtils.setupMailbox("mbox1_1", account1.mId, true, in testUpdateLastSeenMessageKey()
327 Mailbox mailbox1_2 = ProviderTestUtils.setupMailbox("mbox1_2", account1.mId, true, in testUpdateLastSeenMessageKey()
329 Mailbox mailbox1_3 = ProviderTestUtils.setupMailbox("mbox1_3", account1.mId, true, in testUpdateLastSeenMessageKey()
331 Mailbox mailbox1_4 = ProviderTestUtils.setupMailbox("mbox1_4", account1.mId, true, in testUpdateLastSeenMessageKey()
333 Mailbox mailbox1_5 = ProviderTestUtils.setupMailbox("mbox1_5", account1.mId, true, in testUpdateLastSeenMessageKey()
343 Message message1_1_1 = ProviderTestUtils.setupMessage("message_1_1_1", account1.mId, in testUpdateLastSeenMessageKey()
345 Message message1_1_2 = ProviderTestUtils.setupMessage("message_1_1_2", account1.mId, in testUpdateLastSeenMessageKey()
347 Message message1_1_3 = ProviderTestUtils.setupMessage("message_1_1_3", account1.mId, in testUpdateLastSeenMessageKey()
349 Message message1_2_1 = ProviderTestUtils.setupMessage("message_1_2_1", account1.mId, in testUpdateLastSeenMessageKey()
[all …]
DUtilityMediumTests.java62 Account account1 = ProviderTestUtils.setupAccount("account1", false, mMockContext); in testFindExistingAccount() local
63 account1.mHostAuthRecv = ProviderTestUtils.setupHostAuth("ha1", -1, false, mMockContext); in testFindExistingAccount()
64 account1.mHostAuthSend = ProviderTestUtils.setupHostAuth("ha1", -1, false, mMockContext); in testFindExistingAccount()
65 account1.save(mMockContext); in testFindExistingAccount()
81 acct = Utility.findExistingAccount(mMockContext, account1.mId, "address-ha1", "login-ha1"); in testFindExistingAccount()
150 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext); in testGetFirstRowLong() local
183 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext); in testGetFirstRowInt() local
218 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext); in testGetFirstRowString() local
/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java85 Account account1 = ProviderTestUtils.setupAccount("eas-account1", false, mMockContext); in testSetImapDeletePolicy() local
86 account1.mHostAuthRecv = setupSimpleHostAuth("eas"); in testSetImapDeletePolicy()
87 account1.mHostAuthSend = account1.mHostAuthRecv; in testSetImapDeletePolicy()
88 account1.save(mMockContext); in testSetImapDeletePolicy()
89 long accountId1 = account1.mId; in testSetImapDeletePolicy()
DMailServiceTests.java299 Account account1 = ProviderTestUtils.setupAccount("account1", false, mMockContext); in testSetupSyncReportsWithBadAccounts() local
300 account1.mHostAuthRecv = setupSimpleHostAuth("imap"); in testSetupSyncReportsWithBadAccounts()
301 account1.mHostAuthSend = setupSimpleHostAuth("smtp"); in testSetupSyncReportsWithBadAccounts()
302 account1.mSyncInterval = 30; in testSetupSyncReportsWithBadAccounts()
303 account1.mEmailAddress = null; in testSetupSyncReportsWithBadAccounts()
304 account1.save(mMockContext); in testSetupSyncReportsWithBadAccounts()
/packages/apps/Email/tests/src/com/android/email/activity/
DWelcomeTests.java39 final Account account1 = ProviderTestUtils.setupAccount("account-1", true, c); in testResolveAccountId() local
40 final long id1 = account1.mId; in testResolveAccountId()
62 assertEquals(id1, Welcome.resolveAccountId(c, -1, account1.mCompatibilityUuid)); in testResolveAccountId()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java830 Account account1 = new Account("act1", "actype1"); in testContactEntitiesWithIdBasedUri() local
833 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithIdBasedUri()
852 Account account1 = new Account("act1", "actype1"); in testContactEntitiesWithLookupUri() local
855 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithLookupUri()
974 Account account1 = new Account("a", "b"); in testRawContactDataQuery() local
976 long rawContactId1 = RawContactUtil.createRawContact(mResolver, account1); in testRawContactDataQuery()
981 Uri uri1 = TestUtil.maybeAddAccountQueryParameters(dataUri1, account1); in testRawContactDataQuery()
2992 Account account1 = new Account("a", "b"); in testGroupQuery() local
2994 long groupId1 = createGroup(account1, "e", "f"); in testGroupQuery()
2996 Uri uri1 = TestUtil.maybeAddAccountQueryParameters(Groups.CONTENT_URI, account1); in testGroupQuery()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java97 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); in testSave() local
98 long account1Id = account1.mId; in testSave()
113 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); in testDelete() local
114 long account1Id = account1.mId; in testDelete()