Home
last modified time | relevance | path

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

/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPart.java205 public void setContentId(byte[] contentId) { in setContentId() argument
206 if((contentId == null) || (contentId.length == 0)) { in setContentId()
211 if ((contentId.length > 1) in setContentId()
212 && ((char) contentId[0] == '<') in setContentId()
213 && ((char) contentId[contentId.length - 1] == '>')) { in setContentId()
214 mPartHeader.put(P_CONTENT_ID, contentId); in setContentId()
219 byte[] buffer = new byte[contentId.length + 2]; in setContentId()
222 System.arraycopy(contentId, 0, buffer, 1, contentId.length); in setContentId()
432 byte[] contentId = (byte[]) mPartHeader.get(P_CONTENT_ID); in generateLocation()
433 return "cid:" + new String(contentId); in generateLocation()
DPduBody.java50 byte[] contentId = part.getContentId(); in putPartToMaps()
51 if(null != contentId) { in putPartToMaps()
52 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.java1660 byte[] contentId = parseWapString(pduDataStream, TYPE_QUOTED_STRING); in parsePartHeaders()
1661 if (null != contentId) { in parsePartHeaders()
1662 part.setContentId(contentId); in parsePartHeaders()
1787 byte[] contentId = part.getContentId(); in checkPartPosition()
1788 if (null != contentId) { in checkPartPosition()
1789 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/av/media/libaudioclient/aidl/android/media/
DAudioOffloadInfo.aidl49 int contentId;
/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()
/frameworks/base/media/java/android/media/
DAudioTrack.java958 @IntRange(from = 0) int contentId, @IntRange(from = 1)int syncId) { in TunerConfiguration()
959 if (contentId < 0) { in TunerConfiguration()
961 "contentId " + contentId + " must be positive or CONTENT_ID_NONE"); in TunerConfiguration()
966 mContentId = contentId; in TunerConfiguration()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp1491 legacy.content_id = VALUE_OR_RETURN(convertReinterpret<int32_t>(aidl.contentId)); in aidl2legacy_AudioOffloadInfo_audio_offload_info_t()
1527 aidl.contentId = VALUE_OR_RETURN(convertReinterpret<int32_t>(legacy.content_id)); in legacy2aidl_audio_offload_info_t_AudioOffloadInfo()