Searched refs:atts (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
H A DPolicyTests.java129 ArrayList<Attachment> atts = new ArrayList<Attachment>();
131 atts.add(att1);
133 atts.add(att2);
134 msg1.mAttachments = atts;
138 atts.clear();
140 atts.add(att3);
142 atts.add(att4);
143 msg2.mAttachments = atts;
H A DProviderTests.java486 ArrayList<Attachment> atts = new ArrayList<Attachment>();
488 atts.add(ProviderTestUtils.setupAttachment(
492 message3.mAttachments = atts;
515 ProviderTestUtils.assertAttachmentEqual("save-message3", atts.get(i), actual);
535 ArrayList<Attachment> atts = new ArrayList<Attachment>();
537 atts.add(ProviderTestUtils.setupAttachment(
541 message4.mAttachments = atts;
565 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), actual);
578 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), attachments[i]);
1343 ArrayList<Attachment> atts
[all...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DEmailSyncParser.java114 ArrayList<EmailContent.Attachment> atts = new ArrayList<EmailContent.Attachment>();
121 attachmentsParser(atts, msg);
217 if (atts.size() > 0) {
218 msg.mAttachments = atts;
425 private void attachmentsParser(ArrayList<EmailContent.Attachment> atts, argument
431 attachmentParser(atts, msg);
439 private void attachmentParser(ArrayList<EmailContent.Attachment> atts, argument
495 atts.add(att);
H A DEmailSyncAdapter.java516 ArrayList<Attachment> atts = new ArrayList<Attachment>();
523 attachmentsParser(atts, msg);
619 if (atts.size() > 0) {
620 msg.mAttachments = atts;
826 private void attachmentsParser(ArrayList<Attachment> atts, Message msg) throws IOException { argument
831 attachmentParser(atts, msg);
839 private void attachmentParser(ArrayList<Attachment> atts, Message msg) throws IOException { argument
894 atts.add(att);
/packages/apps/Exchange/src/com/android/exchange/
H A DEasOutboxService.java310 * @param atts the array of attachments to look in
313 private static boolean amongAttachments(Attachment att, Attachment[] atts) { argument
316 for (Attachment a: atts) {
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasOutboxSyncHandler.java150 * @param atts the array of attachments to look in
153 private static boolean amongAttachments(final Attachment att, final Attachment[] atts) { argument
156 for (final Attachment a: atts) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java795 Attachment[] atts = Attachment.restoreAttachmentsWithMessageId(context, messageId);
796 for (Attachment att: atts) {
/packages/apps/Email/src/com/android/email/provider/
H A DEmailProvider.java2654 Attachment[] atts = Attachment.restoreAttachmentsWithMessageId(context, messageId);
2655 if (atts.length > 0) {
2658 for (Attachment att : atts) {
4480 final ArrayList<Attachment> atts = new ArrayList<Attachment>();
4507 atts.add(attClone);
4516 atts.add(convertUiAttachmentToAttachment(uiAtt, cachedFileUri, msg.mAccountKey));
4519 if (!atts.isEmpty()) {
4520 msg.mAttachments = atts;
4542 // Add the ops for the message, atts, and body

Completed in 126 milliseconds