Home
last modified time | relevance | path

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

/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPart.java204 public void setContentId(byte[] contentId) { in setContentId() argument
205 if((contentId == null) || (contentId.length == 0)) { in setContentId()
210 if ((contentId.length > 1) in setContentId()
211 && ((char) contentId[0] == '<') in setContentId()
212 && ((char) contentId[contentId.length - 1] == '>')) { in setContentId()
213 mPartHeader.put(P_CONTENT_ID, contentId); in setContentId()
218 byte[] buffer = new byte[contentId.length + 2]; in setContentId()
221 System.arraycopy(contentId, 0, buffer, 1, contentId.length); in setContentId()
431 byte[] contentId = (byte[]) mPartHeader.get(P_CONTENT_ID); in generateLocation()
432 return "cid:" + new String(contentId); in generateLocation()
DPduBody.java49 byte[] contentId = part.getContentId(); in putPartToMaps()
50 if(null != contentId) { in putPartToMaps()
51 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
DPduComposer.java999 byte[] contentId = part.getContentId(); in makeMessageBody()
1001 if (null != contentId) { in makeMessageBody()
1003 if (('<' == contentId[0]) && ('>' == contentId[contentId.length - 1])) { in makeMessageBody()
1004 appendQuotedString(contentId); in makeMessageBody()
1006 appendQuotedString("<" + new String(contentId) + ">"); in makeMessageBody()
DPduParser.java1655 byte[] contentId = parseWapString(pduDataStream, TYPE_QUOTED_STRING); in parsePartHeaders()
1656 if (null != contentId) { in parsePartHeaders()
1657 part.setContentId(contentId); in parsePartHeaders()
1782 byte[] contentId = part.getContentId(); in checkPartPosition()
1783 if (null != contentId) { in checkPartPosition()
1784 if (true == Arrays.equals(mStartParam, contentId)) { in checkPartPosition()
DPduPersister.java402 byte[] contentId = getByteArrayFromPartColumn( in loadParts()
404 if (contentId != null) { in loadParts()
405 part.setContentId(contentId); in loadParts()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlGeneratorFromXml.java103 ContentIdAndFileNames(String contentId) { in ContentIdAndFileNames() argument
104 mContentId = contentId; in ContentIdAndFileNames()
207 String contentId = parser.getAttributeValue("", ATTR_CONTENT_ID); in parse() local
208 if (!TextUtils.isEmpty(contentId)) { in parse()
214 contentIds.add(contentId); in parse()
218 String contentId = parser.getAttributeValue("", ATTR_CONTENT_ID); in parse() local
219 if (!TextUtils.isEmpty(contentId) in parse()
220 && !outContentIdToFileContentMap.containsKey(contentId) in parse()
221 && !contentIdToFileContentMap.containsKey(contentId)) { in parse()
224 contentIdToFileContentMap.put(contentId, fileContent); in parse()
[all …]
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java237 int contentId = a.getResourceId(R.styleable.SlidingDrawer_content, 0); in SlidingDrawer() local
238 if (contentId == 0) { in SlidingDrawer()
243 if (handleId == contentId) { in SlidingDrawer()
249 mContentId = contentId; in SlidingDrawer()