Home
last modified time | relevance | path

Searched refs:setupAttachment (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java107 Attachment newAttachment1 = ProviderTestUtils.setupAttachment(message1Id, "file1", 100, in testQuery()
114 Attachment newAttachment2 = ProviderTestUtils.setupAttachment(message1Id, "file2", 200, in testQuery()
121 Attachment newAttachment3 = ProviderTestUtils.setupAttachment(message1Id, "file3", 300, in testQuery()
271 Attachment newAttachment2 = ProviderTestUtils.setupAttachment(message1Id, "file2", 100, in testGetType()
276 Attachment newAttachment3 = ProviderTestUtils.setupAttachment(message1Id, "file3", 100, in testGetType()
281 Attachment newAttachment4 = ProviderTestUtils.setupAttachment(message1Id, "file4.doc", 100, in testGetType()
286 Attachment newAttachment5 = ProviderTestUtils.setupAttachment(message1Id, "file5.xyz", 100, in testGetType()
291 Attachment newAttachment6 = ProviderTestUtils.setupAttachment(message1Id, "file6", 100, in testGetType()
353 Attachment newAttachment = ProviderTestUtils.setupAttachment(message1Id, "file", 100, in testOpenFile()
368 Attachment newAttachment2 = ProviderTestUtils.setupAttachment(message1Id, "file", 100, in testOpenFile()
[all …]
DProviderTests.java466 atts.add(ProviderTestUtils.setupAttachment( in testMessageWithAttachment()
517 atts.add(ProviderTestUtils.setupAttachment( in testMessageSaveWithJustAttachments()
1444 atts.add(ProviderTestUtils.setupAttachment( in testCascadeMessageDelete()
1460 atts.add(ProviderTestUtils.setupAttachment( in testCascadeMessageDelete()
1560 Attachment a1 = ProviderTestUtils.setupAttachment(1, "a1", 100, true, mMockContext); in testGetAttachmentByMessageIdUri()
1561 Attachment a2 = ProviderTestUtils.setupAttachment(1, "a2", 200, true, mMockContext); in testGetAttachmentByMessageIdUri()
1562 ProviderTestUtils.setupAttachment(2, "a3", 300, true, mMockContext); in testGetAttachmentByMessageIdUri()
1563 ProviderTestUtils.setupAttachment(2, "a4", 400, true, mMockContext); in testGetAttachmentByMessageIdUri()
1593 ProviderTestUtils.setupAttachment(1, "a1", 100, true, mMockContext); in testDeleteAttachmentByMessageIdUri()
1594 ProviderTestUtils.setupAttachment(1, "a2", 200, true, mMockContext); in testDeleteAttachmentByMessageIdUri()
[all …]
DProviderTestUtils.java235 public static Attachment setupAttachment(long messageId, String fileName, long length, in setupAttachment() method in ProviderTestUtils
265 public static Attachment setupAttachment(long messageId, String fileName, long length, in setupAttachment() method in ProviderTestUtils
267 return setupAttachment(messageId, fileName, length, 0, saveIt, context); in setupAttachment()
DPolicyTests.java119 Attachment att = ProviderTestUtils.setupAttachment(-1, name, size, false, mMockContext); in setupSimpleAttachment()