Lines Matching defs:contentType
404 byte[] contentType = getByteArrayFromPartColumn(
406 if (contentType != null) {
407 part.setContentType(contentType);
431 String type = toIsoString(contentType);
714 String contentType = getPartContentType(part);
715 if (contentType != null) {
718 if (ContentType.IMAGE_JPG.equals(contentType)) {
719 contentType = ContentType.IMAGE_JPEG;
722 values.put(Part.CONTENT_TYPE, contentType);
724 if (ContentType.APP_SMIL.equals(contentType)) {
762 persistData(part, res, contentType, preOpenedFiles);
779 * @param contentType The MIME type of the part.
785 String contentType, HashMap<Uri, InputStream> preOpenedFiles)
795 if (ContentType.TEXT_PLAIN.equals(contentType)
796 || ContentType.APP_SMIL.equals(contentType)
797 || ContentType.TEXT_HTML.equals(contentType)) {
807 boolean isDrm = DownloadDrmHelper.isDrmConvertNeeded(contentType);
830 drmConvertSession = DrmConvertSession.open(mContext, contentType);
832 throw new MmsException("Mimetype " + contentType +
1005 byte[] contentType = sendReq.getContentType();
1006 if (contentType != null) {
1007 values.put(Mms.CONTENT_TYPE, toIsoString(contentType));
1101 String contentType = null;
1103 contentType = toIsoString(part.getContentType());
1104 values.put(Part.CONTENT_TYPE, contentType);
1142 persistData(part, uri, contentType, preOpenedFiles);
1407 String contentType = getPartContentType(part);
1408 if (contentType != null && !ContentType.APP_SMIL.equals(contentType)
1409 && !ContentType.TEXT_PLAIN.equals(contentType)) {