Searched refs:atts (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | PolicyTests.java | 131 ArrayList<Attachment> atts = new ArrayList<Attachment>(); in testSetAttachmentFlagsForNewPolicy() local 133 atts.add(att1); in testSetAttachmentFlagsForNewPolicy() 135 atts.add(att2); in testSetAttachmentFlagsForNewPolicy() 136 msg1.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy() 140 atts.clear(); in testSetAttachmentFlagsForNewPolicy() 142 atts.add(att3); in testSetAttachmentFlagsForNewPolicy() 144 atts.add(att4); in testSetAttachmentFlagsForNewPolicy() 145 msg2.mAttachments = atts; in testSetAttachmentFlagsForNewPolicy()
|
D | ProviderTests.java | 464 ArrayList<Attachment> atts = new ArrayList<Attachment>(); in testMessageWithAttachment() local 466 atts.add(ProviderTestUtils.setupAttachment( in testMessageWithAttachment() 470 message3.mAttachments = atts; in testMessageWithAttachment() 491 ProviderTestUtils.assertAttachmentEqual("save-message3", atts.get(i), actual); in testMessageWithAttachment() 515 ArrayList<Attachment> atts = new ArrayList<Attachment>(); in testMessageSaveWithJustAttachments() local 517 atts.add(ProviderTestUtils.setupAttachment( in testMessageSaveWithJustAttachments() 521 message4.mAttachments = atts; in testMessageSaveWithJustAttachments() 543 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), actual); in testMessageSaveWithJustAttachments() 556 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), attachments[i]); in testMessageSaveWithJustAttachments() 1442 ArrayList<Attachment> atts = new ArrayList<Attachment>(); in testCascadeMessageDelete() local [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 708 Attachment[] atts = Attachment.restoreAttachmentsWithMessageId(context, messageId); 709 for (Attachment att: atts) {
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 3095 Attachment[] atts = Attachment.restoreAttachmentsWithMessageId(context, messageId); in genQueryViewMessage() local 3096 if (atts.length > 0) { in genQueryViewMessage() 3099 for (Attachment att : atts) { in genQueryViewMessage() 4932 final ArrayList<Attachment> atts = new ArrayList<Attachment>(); in uiSaveMessage() local 4959 atts.add(attClone); in uiSaveMessage() 4968 atts.add(convertUiAttachmentToAttachment(uiAtt, cachedFileUri, msg.mAccountKey)); in uiSaveMessage() 4971 if (!atts.isEmpty()) { in uiSaveMessage() 4972 msg.mAttachments = atts; in uiSaveMessage()
|