Searched refs:contentType (Results 1 – 6 of 6) 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()
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) {