Home
last modified time | relevance | path

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

/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java338 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Reply()
339 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Reply()
380 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Invite_AllDay()
381 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Invite_AllDay()
384 BlockHash vcalendar = parseIcsContent(att.mContentBytes); in testCreateMessageForEntity_Invite_AllDay()
442 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Invite()
443 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Invite()
446 BlockHash vcalendar = parseIcsContent(att.mContentBytes); in testCreateMessageForEntity_Invite()
508 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Recurring()
509 assertEquals(att.mSize, att.mContentBytes.length); in testCreateMessageForEntity_Recurring()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1366 public byte[] mContentBytes; field in EmailContent.Attachment
1556 mContentBytes = cursor.getBlob(CONTENT_CONTENT_BYTES_COLUMN); in restore()
1577 values.put(AttachmentColumns.CONTENT_BYTES, mContentBytes); in toContentValues()
1606 if (mContentBytes == null) { in writeToParcel()
1609 dest.writeInt(mContentBytes.length); in writeToParcel()
1610 dest.writeByteArray(mContentBytes); in writeToParcel()
1634 mContentBytes = null; in Attachment()
1636 mContentBytes = new byte[contentBytesLen]; in Attachment()
1637 in.readByteArray(mContentBytes); in Attachment()
1661 + mLocation + ", " + mEncoding + ", " + mFlags + ", " + mContentBytes + ", " in toString()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java248 att.mContentBytes = Utility.toUtf8("content " + fileName); in setupAttachment()
447 expect.mContentBytes, actual.mContentBytes); in assertAttachmentEqual()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java236 if (attachment.mContentBytes != null) { in writeOneAttachment()
237 inStream = new ByteArrayInputStream(attachment.mContentBytes); in writeOneAttachment()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java150 att.mContentBytes = "__CONTENT__".getBytes("UTF-8"); in testWriteToAlternativePart()
195 att.mContentBytes = "<html>Hi</html>".getBytes("UTF-8"); in testWriteToMixedPart()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java427 if (att.mContentBytes != null) { in makeMessage()
430 content = new ByteArrayInputStream(att.mContentBytes); in makeMessage()
/packages/apps/Exchange/src/com/android/exchange/utility/
DCalendarUtilities.java2013 att.mContentBytes = ics.getBytes(); in createMessageForEntity()
2016 att.mSize = att.mContentBytes.length; in createMessageForEntity()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java651 } else if (attachment.mContentBytes != null) {