Searched refs:contentType (Results 1 – 7 of 7) sorted by relevance
169 public static boolean isSupportedType(String contentType) { in isSupportedType() argument170 return (null != contentType) && sSupportedContentTypes.contains(contentType); in isSupportedType()173 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType() argument174 return isImageType(contentType) && isSupportedType(contentType); in isSupportedImageType()177 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType() argument178 return isAudioType(contentType) && isSupportedType(contentType); in isSupportedAudioType()181 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType() argument182 return isVideoType(contentType) && isSupportedType(contentType); in isSupportedVideoType()185 public static boolean isTextType(String contentType) { in isTextType() argument186 return (null != contentType) && contentType.startsWith("text/"); in isTextType()[all …]
34 public final int contentType; field in ContentItem45 contentType = type; in ContentItem()57 contentType = type; in ContentItem()84 switch (contentType) { in getShareIntent()
175 byte[] contentType = retrieveConf.getContentType(); in parse()176 if (null == contentType) { in parse()179 String ctTypeStr = new String(contentType); in parse()786 byte[] contentType = in parseHeaders()789 if (null != contentType) { in parseHeaders()793 contentType.toString()); in parseHeaders()795 headers.setTextString(contentType, PduHeaders.CONTENT_TYPE); in parseHeaders()855 byte[] contentType = parseContentType(pduDataStream, map); in parseParts()856 if (null != contentType) { in parseParts()857 part.setContentType(contentType); in parseParts()[all …]
307 public void setContentType(byte[] contentType) { in setContentType() argument308 if(contentType == null) { in setContentType()312 mPartHeader.put(P_CONTENT_TYPE, contentType); in setContentType()
60 public SendReq(byte[] contentType, in SendReq() argument66 setContentType(contentType); in SendReq()
851 String contentType = new String(mPduHeader.getTextString(PduHeaders.CONTENT_TYPE)); in makeMessageBody() local852 Integer contentTypeIdentifier = mContentTypeMap.get(contentType); in makeMessageBody()
125 switch (item.contentType) {