Home
last modified time | relevance | path

Searched refs:contentId (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduPart.java196 public void setContentId(byte[] contentId) { in setContentId() argument
197 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()
DPduBody.java46 byte[] contentId = part.getContentId(); in putPartToMaps()
47 if(null != contentId) { in putPartToMaps()
48 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
DPduComposer.java960 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()
DPduParser.java1645 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()
DPduPersister.java390 byte[] contentId = getByteArrayFromPartColumn( in loadParts()
392 if (contentId != null) { in loadParts()
393 part.setContentId(contentId); in loadParts()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java230 int contentId = a.getResourceId(R.styleable.SlidingDrawer_content, 0); in SlidingDrawer() local
231 if (contentId == 0) { in SlidingDrawer()
236 if (handleId == contentId) { in SlidingDrawer()
242 mContentId = contentId; in SlidingDrawer()
/frameworks/support/tv-provider/src/android/support/media/tv/
DBasePreviewProgram.java786 public T setContentId(String contentId) { in setContentId() argument
787 mValues.put(PreviewPrograms.COLUMN_CONTENT_ID, contentId); in setContentId()