Lines Matching refs:contentType
400 byte[] contentType = getByteArrayFromPartColumn(
402 if (contentType != null) {
403 part.setContentType(contentType);
427 String type = toIsoString(contentType);
710 String contentType = getPartContentType(part);
711 if (contentType != null) {
714 if (ContentType.IMAGE_JPG.equals(contentType)) {
715 contentType = ContentType.IMAGE_JPEG;
718 values.put(Part.CONTENT_TYPE, contentType);
720 if (ContentType.APP_SMIL.equals(contentType)) {
758 persistData(part, res, contentType, preOpenedFiles);
775 * @param contentType The MIME type of the part.
781 String contentType, HashMap<Uri, InputStream> preOpenedFiles)
791 if (ContentType.TEXT_PLAIN.equals(contentType)
792 || ContentType.APP_SMIL.equals(contentType)
793 || ContentType.TEXT_HTML.equals(contentType)) {
800 boolean isDrm = DownloadDrmHelper.isDrmConvertNeeded(contentType);
823 drmConvertSession = DrmConvertSession.open(mContext, contentType);
825 throw new MmsException("Mimetype " + contentType +
998 byte[] contentType = sendReq.getContentType();
999 if (contentType != null) {
1000 values.put(Mms.CONTENT_TYPE, toIsoString(contentType));
1094 String contentType = null;
1096 contentType = toIsoString(part.getContentType());
1097 values.put(Part.CONTENT_TYPE, contentType);
1135 persistData(part, uri, contentType, preOpenedFiles);
1391 String contentType = getPartContentType(part);
1392 if (contentType != null && !ContentType.APP_SMIL.equals(contentType)
1393 && !ContentType.TEXT_PLAIN.equals(contentType)) {