Home
last modified time | relevance | path

Searched refs:mContentBytes (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Email/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java279 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Reply()
280 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Reply()
318 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Invite_AllDay()
319 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Invite_AllDay()
322 BlockHash vcalendar = parseIcsContent(att.mContentBytes); in testCreateMessageForEntity_Invite_AllDay()
380 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Invite()
381 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Invite()
384 BlockHash vcalendar = parseIcsContent(att.mContentBytes); in testCreateMessageForEntity_Invite()
446 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Recurring()
447 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Recurring()
[all …]
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DRfc822OutputTests.java187 att.mContentBytes = "__CONTENT__".getBytes("UTF-8"); in testWriteToAlternativePart()
232 att.mContentBytes = "<html>Hi</html>".getBytes("UTF-8"); in testWriteToMixedPart()
/packages/apps/Email/src/com/android/email/mail/transport/
DRfc822Output.java238 if (attachment.mContentBytes != null) { in writeOneAttachment()
239 inStream = new ByteArrayInputStream(attachment.mContentBytes); in writeOneAttachment()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java205 att.mContentBytes = Utility.toUtf8("content " + fileName); in setupAttachment()
371 expect.mContentBytes, actual.mContentBytes); in assertAttachmentEqual()
/packages/apps/Email/src/com/android/email/provider/
DEmailContent.java1671 public byte[] mContentBytes; field in EmailContent.Attachment
1796 mContentBytes = cursor.getBlob(CONTENT_CONTENT_BYTES_COLUMN); in restore()
1813 values.put(AttachmentColumns.CONTENT_BYTES, mContentBytes); in toContentValues()
1834 if (mContentBytes == null) { in writeToParcel()
1837 dest.writeInt(mContentBytes.length); in writeToParcel()
1838 dest.writeByteArray(mContentBytes); in writeToParcel()
1857 mContentBytes = null; in Attachment()
1859 mContentBytes = new byte[contentBytesLen]; in Attachment()
1860 in.readByteArray(mContentBytes); in Attachment()
1879 + mFlags + ", " + mContentBytes + "]"; in toString()
/packages/apps/Email/src/com/android/exchange/utility/
DCalendarUtilities.java1680 att.mContentBytes = ics.getBytes(); in createMessageForEntity()
1683 att.mSize = att.mContentBytes.length; in createMessageForEntity()