Searched refs:contentId (Results 1 – 5 of 5) sorted by relevance
196 public void setContentId(byte[] contentId) { in setContentId() argument197 if((contentId == null) || (contentId.length == 0)) { in setContentId()202 if ((contentId.length > 1) in setContentId()203 && ((char) contentId[0] == '<') in setContentId()204 && ((char) contentId[contentId.length - 1] == '>')) { in setContentId()205 mPartHeader.put(P_CONTENT_ID, contentId); in setContentId()210 byte[] buffer = new byte[contentId.length + 2]; in setContentId()213 System.arraycopy(contentId, 0, buffer, 1, contentId.length); in setContentId()407 byte[] contentId = (byte[]) mPartHeader.get(P_CONTENT_ID); in generateLocation()408 return "cid:" + new String(contentId); in generateLocation()
46 byte[] contentId = part.getContentId(); in putPartToMaps()47 if(null != contentId) { in putPartToMaps()48 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
960 byte[] contentId = part.getContentId(); in makeMessageBody()962 if (null != contentId) { in makeMessageBody()964 if (('<' == contentId[0]) && ('>' == contentId[contentId.length - 1])) { in makeMessageBody()965 appendQuotedString(contentId); in makeMessageBody()967 appendQuotedString("<" + new String(contentId) + ">"); in makeMessageBody()
1645 byte[] contentId = parseWapString(pduDataStream, TYPE_QUOTED_STRING); in parsePartHeaders()1646 if (null != contentId) { in parsePartHeaders()1647 part.setContentId(contentId); in parsePartHeaders()1771 byte[] contentId = part.getContentId(); in checkPartPosition()1772 if (null != contentId) { in checkPartPosition()1773 if (true == Arrays.equals(mStartParam, contentId)) { in checkPartPosition()
386 String contentId = (index == -1) ? TEXT_PART_FILENAME in addTextPart() local388 part.setContentId(contentId.getBytes()); in addTextPart()