/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPart.java | 171 public void setContentId(final byte[] contentId) { in setContentId() argument 172 if ((contentId == null) || (contentId.length == 0)) { in setContentId() 177 if ((contentId.length > 1) in setContentId() 178 && ((char) contentId[0] == '<') in setContentId() 179 && ((char) contentId[contentId.length - 1] == '>')) { in setContentId() 180 mPartHeader.put(P_CONTENT_ID, contentId); in setContentId() 185 final byte[] buffer = new byte[contentId.length + 2]; in setContentId() 188 System.arraycopy(contentId, 0, buffer, 1, contentId.length); in setContentId() 382 final byte[] contentId = (byte[]) mPartHeader.get(P_CONTENT_ID); in generateLocation() 383 return "cid:" + new String(contentId); in generateLocation()
|
D | PduComposer.java | 1027 final byte[] contentId = part.getContentId(); in makeMessageBody() 1029 if (null != contentId) { in makeMessageBody() 1031 if (('<' == contentId[0]) && ('>' == contentId[contentId.length - 1])) { in makeMessageBody() 1032 appendQuotedString(contentId); in makeMessageBody() 1034 appendQuotedString("<" + new String(contentId) + ">"); in makeMessageBody()
|
D | PduParser.java | 1679 byte[] contentId = parseWapString(pduDataStream, TYPE_QUOTED_STRING); in parsePartHeaders() 1680 if (null != contentId) { in parsePartHeaders() 1681 part.setContentId(contentId); in parsePartHeaders() 1804 byte[] contentId = part.getContentId(); in checkPartPosition() 1805 if (null != contentId) { in checkPartPosition() 1806 if (true == Arrays.equals(mStartParam, contentId)) { in checkPartPosition()
|
D | PduPersister.java | 404 final byte[] contentId = getByteArrayFromPartColumn( in loadParts() 406 if (contentId != null) { in loadParts() 407 part.setContentId(contentId); in loadParts()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | PduPart.java | 196 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()
|
D | PduBody.java | 46 byte[] contentId = part.getContentId(); in putPartToMaps() 47 if(null != contentId) { in putPartToMaps() 48 mPartMapByContentId.put(new String(contentId), part); in putPartToMaps()
|
D | PduParser.java | 1642 byte[] contentId = parseWapString(pduDataStream, TYPE_QUOTED_STRING); in parsePartHeaders() 1643 if (null != contentId) { in parsePartHeaders() 1644 part.setContentId(contentId); in parsePartHeaders() 1768 byte[] contentId = part.getContentId(); in checkPartPosition() 1769 if (null != contentId) { in checkPartPosition() 1770 if (true == Arrays.equals(mStartParam, contentId)) { in checkPartPosition()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | LicenseHtmlGeneratorFromXml.java | 98 ContentIdAndFileNames(String contentId) { in ContentIdAndFileNames() argument 99 mContentId = contentId; in ContentIdAndFileNames() 199 String contentId = parser.getAttributeValue("", ATTR_CONTENT_ID); in parse() local 200 if (!TextUtils.isEmpty(contentId)) { in parse() 203 fileNameToContentIdMap.put(fileName, contentId); in parse() 207 String contentId = parser.getAttributeValue("", ATTR_CONTENT_ID); in parse() local 208 if (!TextUtils.isEmpty(contentId) in parse() 209 && !outContentIdToFileContentMap.containsKey(contentId) in parse() 210 && !contentIdToFileContentMap.containsKey(contentId)) { in parse() 213 contentIdToFileContentMap.put(contentId, fileContent); in parse() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageProcessorProxyListener.java | 153 listeners = filteredListeners(job.contentId); in onStart() 165 listeners = filteredListeners(job.contentId); in onResultCompressed() 177 listeners = filteredListeners(job.contentId); in onResultUncompressed() 188 listeners = filteredListeners(job.contentId); in onResultUri()
|
D | TaskImageContainer.java | 122 public final long contentId; field in TaskImageContainer.TaskInfo 130 contentId = aContentId; in TaskInfo()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemData.java | 49 long contentId, in FilmstripItemData() argument 60 mContentId = contentId; in FilmstripItemData() 231 public Builder withContentId(long contentId) { in withContentId() argument 232 mContentId = contentId; in withContentId()
|
D | VideoItemData.java | 31 public VideoItemData(long contentId, String title, String mimeType, Date creationDate, in VideoItemData() argument 35 super(contentId, title, mimeType, creationDate, lastModifiedDate, filePath, uri, dimensions, in VideoItemData()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeBodyPart.java | 125 String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId() local 126 if (contentId == null) { in getContentId() 130 return REMOVE_OPTIONAL_BRACKETS.matcher(contentId).replaceAll("$1"); in getContentId()
|
D | MimeMessage.java | 240 final String contentId = getFirstHeader(MimeHeader.HEADER_CONTENT_ID); in getContentId() local 241 if (contentId == null) { in getContentId() 245 return REMOVE_OPTIONAL_BRACKETS.matcher(contentId).replaceAll("$1"); in getContentId()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 430 final String contentId = (index == -1) ? srcName : srcName.substring(0, index); in setPartContentLocationAndId() local 431 part.setContentId(contentId.getBytes()); in setPartContentLocationAndId()
|