Searched refs:mContentBytes (Results 1 – 6 of 6) sorted by relevance
279 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 …]
187 att.mContentBytes = "__CONTENT__".getBytes("UTF-8"); in testWriteToAlternativePart()232 att.mContentBytes = "<html>Hi</html>".getBytes("UTF-8"); in testWriteToMixedPart()
238 if (attachment.mContentBytes != null) { in writeOneAttachment()239 inStream = new ByteArrayInputStream(attachment.mContentBytes); in writeOneAttachment()
205 att.mContentBytes = Utility.toUtf8("content " + fileName); in setupAttachment()371 expect.mContentBytes, actual.mContentBytes); in assertAttachmentEqual()
1671 public byte[] mContentBytes; field in EmailContent.Attachment1796 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()
1680 att.mContentBytes = ics.getBytes(); in createMessageForEntity()1683 att.mSize = att.mContentBytes.length; in createMessageForEntity()