Searched refs:contentType (Results 1 – 9 of 9) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/mmslib/ |
D | ContentType.java | 169 public static boolean isSupportedType(String contentType) { in isSupportedType() argument 170 return (null != contentType) && sSupportedContentTypes.contains(contentType); in isSupportedType() 173 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType() argument 174 return isImageType(contentType) && isSupportedType(contentType); in isSupportedImageType() 177 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType() argument 178 return isAudioType(contentType) && isSupportedType(contentType); in isSupportedAudioType() 181 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType() argument 182 return isVideoType(contentType) && isSupportedType(contentType); in isSupportedVideoType() 185 public static boolean isTextType(String contentType) { in isTextType() argument 186 return (null != contentType) && contentType.startsWith("text/"); in isTextType() [all …]
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/ |
D | ContentItem.java | 34 public final int contentType; field in ContentItem 45 contentType = type; in ContentItem() 57 contentType = type; in ContentItem() 84 switch (contentType) { in getShareIntent()
|
/development/tools/ota_analysis/src/services/ |
D | payload.js | 59 constructor(payload, contentType = "") { argument 62 this.contentType = contentType 63 this.blob = new Blob([], { type: contentType }) 70 this.blob = new Blob([this.blob, array.buffer], { type: this.contentType })
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduParser.java | 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 Arrays.toString(contentType)); 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 …]
|
D | PduPart.java | 307 public void setContentType(byte[] contentType) { in setContentType() argument 308 if(contentType == null) { in setContentType() 312 mPartHeader.put(P_CONTENT_TYPE, contentType); in setContentType()
|
D | SendReq.java | 60 public SendReq(byte[] contentType, in SendReq() argument 66 setContentType(contentType); in SendReq()
|
D | PduComposer.java | 851 String contentType = new String(mPduHeader.getTextString(PduHeaders.CONTENT_TYPE)); in makeMessageBody() local 852 Integer contentTypeIdentifier = mContentTypeMap.get(contentType); in makeMessageBody()
|
/development/tools/winscope/src/test/common/ |
D | file_impl.ts | 40 slice(start?: number, end?: number, contentType?: string): Blob {
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/ |
D | MainActivity.java | 125 switch (item.contentType) {
|