HomeSort by relevance Sort by last modified time
    Searched defs:attachments (Results 1 - 13 of 13) sorted by null

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
ViewResultsActivity.java 81 ArrayList<Parcelable> attachments = new ArrayList<Parcelable>(); local
85 attachments.add(Uri.fromFile(new File(filename)));
88 intent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, attachments);
  /packages/apps/Email/src/com/android/email/mail/internet/
MimeUtility.java 376 * as to which of it's children will be "viewable" and which will be attachments.
377 * The method recursively sorts the viewables and attachments into seperate
381 * @param attachments
385 ArrayList<Part> attachments) throws MessagingException {
409 collectParts(mp.getBodyPart(i), viewables, attachments); local
414 * it, pulling any viewables or attachments into the running list.
418 collectParts(message, viewables, attachments);
438 attachments.add(part);
  /external/webkit/WebKitTools/Scripts/webkitpy/
bugzilla.py 153 # Rarely do we actually want obsolete attachments
154 def attachments(self, include_obsolete=False): member in class:Bug
155 attachments = self.bug_dictionary["attachments"]
157 attachments = filter(lambda attachment:
158 not attachment["is_obsolete"], attachments)
159 return [Attachment(attachment, self) for attachment in attachments]
162 return [patch for patch in self.attachments(include_obsolete)
409 bug["attachments"] = [self._parse_attachment_element(element, bug["id"]) for element in soup.findAll('attachment')]
456 attachments = self.fetch_bug(bug_id).attachments(include_obsolete=True
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 206 * Sunny day test of adding attachments from an IMAP/POP message.
209 // Prepare a local message to add the attachments to
233 ArrayList<Part> attachments = new ArrayList<Part>(); local
234 MimeUtility.collectParts(legacyMessage, viewables, attachments);
235 LegacyConversions.updateAttachments(mProviderContext, localMessage, attachments, false);
237 // Read back all attachments for message and check field values
246 checkAttachment("attachment1Part", attachments.get(0), attachment);
248 checkAttachment("attachment2Part", attachments.get(1), attachment);
259 * Test that attachments aren't re-added in the DB. This supports the "partial download"
263 // Prepare a local message to add the attachments t
274 ArrayList<Part> attachments = new ArrayList<Part>(); local
310 ArrayList<Part> attachments = new ArrayList<Part>(); local
549 ArrayList<Part> attachments = new ArrayList<Part>(); local
    [all...]
  /packages/apps/Email/src/com/android/email/
MessagingController.java 79 * pieces with attachments being left off completely and downloaded on demand.
806 ArrayList<Part> attachments = new ArrayList<Part>(); local
872 ArrayList<Part> attachments = new ArrayList<Part>(); local
978 ArrayList<Part> attachments = new ArrayList<Part>(); local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessageCompose.java 138 * be processed on any subsequent loads. This protects us from adding attachments that
470 mAttachments = (LinearLayout)findViewById(R.id.attachments);
680 protected void onPostExecute(Attachment[] attachments) {
681 if (attachments == null) {
684 for (Attachment attachment : attachments) {
846 Attachment[] attachments = new Attachment[count]; local
867 final Attachment[] attachments = getAttachmentsFromUI(); local
882 final Attachment[] attachments = getAttachmentsFromUI(); local
    [all...]
UpgradeAccounts.java 462 * 1 (account) + # folders + # messages + # attachments
515 // for all other folders, delete the folder (and its messages & attachments)
622 // process local (outgoing) attachments here
635 // Now handle any remaining folders. For incoming folders we skip attachments, as they
658 * @param localAttachments true if the attachments refer to local data (to be sent)
691 // Main case for converting real messages with bodies & attachments
698 ArrayList<Part> attachments = new ArrayList<Part>(); local
699 MimeUtility.collectParts(oldMessage, viewables, attachments);
704 // convert attachments
708 LegacyConversions.updateAttachments(context, newMessage, attachments,
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
LocalStore.java 78 * 20 1.5 Added content_id column to attachments table.
152 mDb.execSQL("DROP TABLE IF EXISTS attachments");
153 mDb.execSQL("CREATE TABLE attachments (id INTEGER PRIMARY KEY, message_id INTEGER,"
166 mDb.execSQL("CREATE TRIGGER delete_message BEFORE DELETE ON messages BEGIN DELETE FROM attachments WHERE old.id = message_id; END;");
179 * Upgrade 19 to 20: add content_id to attachments table
181 mDb.execSQL("ALTER TABLE attachments ADD COLUMN content_id TEXT;");
362 File[] attachments = mAttachmentsDir.listFiles(); local
363 for (File attachment : attachments) {
383 * Report # of attachments (for migration estimates only - catches all exceptions and
388 File[] attachments = mAttachmentsDir.listFiles() local
1179 ArrayList<Part> attachments = new ArrayList<Part>(); local
1253 ArrayList<Part> attachments = new ArrayList<Part>(); local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java 946 ArrayList<Part> attachments = new ArrayList<Part>(); local
    [all...]
LocalStoreUnitTests.java 115 // Delete any attachments we dribbled out
117 File[] attachments = attachmentsDir.listFiles(); local
118 for (File attachment : attachments) {
124 // Delete attachments dir
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTests.java 409 // Message with attachments and body
422 // Now check the attachments; there should be three and they should match name and size
448 // Message with attachments but no body
461 // Now check the attachments; there should be three and they should match name and size
489 Attachment[] attachments = local
491 int size = attachments.length;
494 ProviderTestUtils.assertAttachmentEqual("save-message4", atts.get(i), attachments[i]);
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
EmailContent.java 687 * Also, attachments when we get there...
1737 Attachment[] attachments = new Attachment[count]; local
    [all...]
  /prebuilt/common/ant/
ant.jar 

Completed in 474 milliseconds