HomeSort by relevance Sort by last modified time
    Searched refs:MediaType (Results 1 - 25 of 32) sorted by null

1 2

  /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/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/third_party/libjingle/source/talk/app/webrtc/
mediastreamsignaling.h 300 cricket::MediaType media_type,
310 cricket::MediaType media_type);
318 cricket::MediaType media_type);
322 void RejectRemoteTracks(cricket::MediaType media_type);
329 TrackInfos* GetRemoteTracks(cricket::MediaType type);
332 TrackInfos* GetLocalTracks(cricket::MediaType type);
333 bool FindLocalTrack(const std::string& track_id, cricket::MediaType type);
340 cricket::MediaType media_type);
351 cricket::MediaType media_type);
361 cricket::MediaType media_type)
    [all...]
mediastreamsignaling.cc 549 cricket::MediaType media_type,
598 cricket::MediaType media_type) {
617 cricket::MediaType media_type) {
641 void MediaStreamSignaling::RejectRemoteTracks(cricket::MediaType media_type) {
716 cricket::MediaType type) {
721 ASSERT(false && "Unknown MediaType");
726 cricket::MediaType media_type) {
736 cricket::MediaType media_type) {
776 cricket::MediaType media_type) {
808 cricket::MediaType media_type)
    [all...]
webrtcsdp.cc 75 using cricket::MediaType;
244 const MediaType media_type,
249 const MediaType media_type,
252 const MediaType media_type,
279 const MediaType media_type,
299 const MediaType media_type,
304 const MediaType media_type,
312 const MediaType media_type,
    [all...]
  /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...]
  /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...]
  /external/chromium_org/third_party/WebKit/public/web/
WebContextMenuData.h 49 enum MediaType {
64 MediaType mediaType;
172 : mediaType(MediaTypeNone)
  /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...]
mediasession.cc 73 MediaType media_type) {
416 MediaType media_type,
969 static bool IsMediaProtocolSupported(MediaType type,
    [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,
  /external/chromium/webkit/glue/
context_menu.h 42 WebKit::WebContextMenuData::MediaType media_type;
  /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"))
  /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/third_party/libjingle/source/talk/session/phone/
mediasessionclient.h 165 enum MediaType {
181 virtual MediaType type() const = 0;
246 virtual MediaType type() const { return MEDIA_TYPE_AUDIO; }
264 virtual MediaType type() const { return MEDIA_TYPE_VIDEO; }
mediasessionclient.cc 210 MediaType media_type) {
    [all...]
  /external/chromium_org/content/public/common/
context_menu_params.h 51 blink::WebContextMenuData::MediaType media_type;
  /external/libnfc-nci/src/udrv/include/
ucodec.h 203 tUCODEC_MEDIA_TYPE MediaType;
  /external/chromium_org/net/base/
mime_util.cc 28 struct MediaType {
33 static const MediaType kIanaMediaTypes[] = {
    [all...]

Completed in 289 milliseconds

1 2