HomeSort by relevance Sort by last modified time
    Searched full:mediatype (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/okhttp/src/test/java/com/squareup/okhttp/
MediaTypeTest.java 31 * Test MediaType API and parsing.
38 MediaType mediaType = MediaType.parse("text/plain;boundary=foo;charset=utf-8");
39 assertEquals("text", mediaType.type());
40 assertEquals("plain", mediaType.subtype());
41 assertEquals("UTF-8", mediaType.charset().name());
42 assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString());
43 assertTrue(mediaType.equals(MediaType.parse("text/plain;boundary=foo;charset=utf-8")))
    [all...]
RequestTest.java 29 MediaType contentType = MediaType.parse("text/plain; charset=utf-8");
38 MediaType contentType = MediaType.parse("text/plain");
40 assertEquals(MediaType.parse("text/plain; charset=utf-8"), body.contentType());
46 MediaType contentType = MediaType.parse("text/plain; charset=utf-16be");
54 MediaType contentType = MediaType.parse("text/plain");
68 MediaType contentType = MediaType.parse("text/plain")
    [all...]
  /external/nist-sip/java/javax/sip/header/
AcceptHeader.java 5 public interface AcceptHeader extends Header, MediaType, Parameters {
ContentTypeHeader.java 5 public interface ContentTypeHeader extends Header, MediaType, Parameters {
MediaType.java 5 public interface MediaType {
  /external/okhttp/src/main/java/com/squareup/okhttp/
MediaType.java 27 public final class MediaType {
34 private final String mediaType;
39 private MediaType(String mediaType, String type, String subtype, String charset) {
40 this.mediaType = mediaType;
50 public static MediaType parse(String string) {
70 return new MediaType(string, type, subtype, charset);
110 return mediaType;
114 return o instanceof MediaType && ((MediaType) o).mediaType.equals(mediaType)
    [all...]
Request.java 102 public MediaType contentType() {
118 public static Body create(MediaType contentType, String content) {
121 : MediaType.parse(contentType + "; charset=utf-8");
131 public static Body create(final MediaType contentType, final byte[] content) {
136 @Override public MediaType contentType() {
151 public static Body create(final MediaType contentType, final File file) {
156 @Override public MediaType contentType() {
  /frameworks/av/libvideoeditor/vss/mcs/inc/
M4MCS_InternalFunctions.h 81 * M4VIDEOEDITING_FileType MediaType,
85 * @note According to the Mediatype, this function will store in the internal
90 * is M4OSA_NULL (debug only), or invalid MediaType
95 M4WRITER_OutputFileType MediaType,
102 * M4VIDEOEDITING_VideoFormat mediaType,
105 * @note According to the Mediatype, this function will store in the internal
110 * M4OSA_NULL (debug only), or invalid MediaType
115 M4ENCODER_Format MediaType,
121 * M4ENCODER_AudioFormat mediaType,
124 * @note According to the Mediatype, this function will store in the interna
    [all...]
  /frameworks/av/libvideoeditor/vss/src/
M4VSS3GPP_Codecs.c 124 * @note According to the Mediatype, this function will store in the internal
129 * (debug only), or invalid MediaType
133 M4WRITER_OutputFileType MediaType,
151 if( ( MediaType == M4WRITER_kUnknown) || (MediaType >= M4WRITER_kType_NB) )
157 if( pC->WriterInterface[MediaType].pGlobalFcts != M4OSA_NULL )
167 pC->WriterInterface[MediaType].pGlobalFcts = pWtrGlobalInterface;
168 pC->WriterInterface[MediaType].pDataFcts = pWtrDataInterface;
177 * @note According to the Mediatype, this function will store in the internal
182 * or invalid MediaType
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/
ContextMenuParams.java 20 /** Must correspond to the MediaType enum in WebKit/chromium/public/WebContextMenuData.h */
22 private static interface MediaType {
151 private ContextMenuParams(int mediaType, String linkUrl, String linkText,
161 mIsImage = mediaType == MediaType.MEDIA_TYPE_IMAGE;
162 mIsVideo = mediaType == MediaType.MEDIA_TYPE_VIDEO;
166 private static ContextMenuParams create(int mediaType, String linkUrl, String linkText,
168 return new ContextMenuParams(mediaType, linkUrl, linkText, unfilteredLinkUrl, srcUrl,
  /frameworks/av/libvideoeditor/vss/mcs/src/
M4MCS_Codecs.c 124 * @note According to the Mediatype, this function will store in the internal context
130 * (debug only), or invalid MediaType
133 M4OSA_ERR M4MCS_registerWriter(M4MCS_Context pContext, M4WRITER_OutputFileType MediaType,
152 if((MediaType == M4WRITER_kUnknown) || (MediaType >= M4WRITER_kType_NB))
158 if (pC->WriterInterface[MediaType].pGlobalFcts != M4OSA_NULL)
167 pC->WriterInterface[MediaType].pGlobalFcts = pWtrGlobalInterface;
168 pC->WriterInterface[MediaType].pDataFcts = pWtrDataInterface;
177 * @note According to the Mediatype, this function will store in the internal context
182 * or invalid MediaType
    [all...]
  /packages/providers/MediaProvider/tools/genfiles/
genfiles.sh 54 while read format mediatype mimetype data;
64 elif [ "$format" == "14343" -a "$mediatype" == "0" ]
68 elif [ "$format" == "12292" -a "$mediatype" == "0" ]
72 elif [ "$format" == "12293" -a "$mediatype" == "0" ]
84 elif [ "$format" == "12299" -a "$mediatype" == "0" ]
88 elif [ "$format" == "12299" -a "$mediatype" == "3" ]
92 elif [ "$format" == "12299" -a "$mediatype" == "2" ]
108 elif [ "$format" == "12288" -a "$mediatype" == "0" ]
116 elif [ "$format" == "12288" -a "$mediatype" == "4" ]
121 echo ignored: $format '|' $mediatype '|' $mimetype '|' $dat
    [all...]
  /external/chromium/net/base/
data_url.h 21 // data:[<mediatype>][;base64],<data>
23 // The <mediatype> is an Internet media type specification (with optional
28 // If <mediatype> is omitted, it defaults to text/plain;charset=US-ASCII. As a
  /external/chromium_org/net/base/
data_url.h 20 // data:[<mediatype>][;base64],<data>
22 // The <mediatype> is an Internet media type specification (with optional
27 // If <mediatype> is omitted, it defaults to text/plain;charset=US-ASCII. As a
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
FilterSource.java 44 mMatcher.add("/filter/mediatype/*/*", FILTER_BY_MEDIATYPE);
58 // /filter/mediatype/k/{set} where k is the media type we want.
66 int mediaType = mMatcher.getIntVar(0);
69 return new FilterTypeSet(path, dataManager, sets[0], mediaType);
FilterTypeSet.java 33 int mediaType) {
37 mMediaType = mediaType;
84 String basePath = "/filter/mediatype/" + mMediaType;
  /frameworks/av/libvideoeditor/vss/inc/
M4VSS3GPP_InternalFunctions.h 246 * @note According to the Mediatype, this function will store in the internal context
251 * M4OSA_NULL (debug only), or invalid MediaType
255 M4WRITER_OutputFileType MediaType,
263 * @note According to the Mediatype, this function will store in the internal context
268 * or invalid MediaType
272 M4ENCODER_Format MediaType,
279 * @note According to the Mediatype, this function will store in the internal context
282 * @param mediaType: (IN) The media type.
289 M4ENCODER_AudioFormat MediaType,
302 M4READER_MediaType mediaType,
    [all...]
  /external/chromium_org/content/test/data/media/
encrypted_media_utils.js 7 var mediaType = QueryString.mediatype || 'video/webm; codecs="vorbis, vp8"';
101 if (mediaType.indexOf('mp4') != -1)
128 var mediaSource = loadMediaSource(mediaFile, mediaType,
  /external/chromium_org/third_party/libjingle/source/talk/session/media/
mediasession.h 60 enum MediaType {
102 // Add a stream with MediaType type and id.
105 void AddStream(MediaType type,
111 void RemoveStream(MediaType type, const std::string& id);
115 void AddStreamInternal(MediaType type,
133 Stream(MediaType type,
140 MediaType type;
165 virtual MediaType type() const = 0;
337 virtual MediaType type() const { return MEDIA_TYPE_AUDIO; }
359 virtual MediaType type() const { return MEDIA_TYPE_VIDEO;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/network/
HTTPParsers.cpp 269 AtomicString extractMIMETypeFromMediaType(const AtomicString& mediaType)
272 unsigned length = mediaType.length();
275 UChar c = mediaType[i];
300 return mediaType;
304 String extractCharsetFromMediaType(const String& mediaType)
307 findCharsetInMediaType(mediaType, pos, len);
308 return mediaType.substring(pos, len);
311 void findCharsetInMediaType(const String& mediaType, unsigned& charsetPos, unsigned& charsetLen, unsigned start)
317 unsigned length = mediaType.length();
320 pos = mediaType.find("charset", pos, false)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
MediaQueryMatcher.cpp 69 AtomicString MediaQueryMatcher::mediaType() const
74 return m_document->frame()->view()->mediaType();
89 return adoptPtr(new MediaQueryEvaluator(mediaType(), m_document->frame(), rootStyle.get()));
MediaQuery.h 49 MediaQuery(Restrictor, const AtomicString& mediaType, PassOwnPtr<ExpressionVector> exprs);
54 const AtomicString& mediaType() const { return m_mediaType; }
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
Stream.h 47 static PassRefPtr<Stream> create(ExecutionContext* context, const String& mediaType)
49 RefPtr<Stream> stream = adoptRef(new Stream(context, mediaType));
84 Stream(ExecutionContext*, const String& mediaType);
Stream.cpp 40 Stream::Stream(ExecutionContext* context, const String& mediaType)
42 , m_mediaType(mediaType)
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
AsyncApiTest.java 21 import com.squareup.okhttp.MediaType;
63 .post(Request.Body.create(MediaType.parse("text/plain"), "def"))

Completed in 1048 milliseconds

1 2 3 4 5