/external/okhttp/okhttp-tests/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...] |
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
HttpEntityBody.java | 3 import com.squareup.okhttp.MediaType; 11 private static final MediaType DEFAULT_MEDIA_TYPE = MediaType.parse("application/octet-stream"); 14 private final MediaType mediaType; 20 mediaType = MediaType.parse(contentTypeHeader); 22 mediaType = MediaType.parse(entity.getContentType().getValue()); 26 mediaType = DEFAULT_MEDIA_TYPE [all...] |
/external/opencv3/modules/videoio/src/cap_winrt/ |
MediaStreamSink.cpp | 223 HRESULT MediaStreamSink::IsMediaTypeSupported(__in IMFMediaType *mediaType, __deref_out_opt IMFMediaType **closestMediaType) 227 HRESULT hr = ExceptionBoundary([this, mediaType, closestMediaType, &supported]() 236 CHKNULL(mediaType); 240 supported = _IsMediaTypeSupported(mediaType); 262 HRESULT MediaStreamSink::GetMediaTypeByIndex(__in DWORD /*index*/, __deref_out IMFMediaType **mediaType) 264 HRESULT hr = ExceptionBoundary([this, mediaType]() 268 CHKNULL(mediaType); 269 *mediaType = nullptr; 278 HRESULT MediaStreamSink::SetCurrentMediaType(__in IMFMediaType *mediaType) 280 return ExceptionBoundary([this, mediaType]() [all...] |
MediaStreamSink.hpp | 70 IFACEMETHODIMP IsMediaTypeSupported(__in IMFMediaType *mediaType, __deref_out_opt IMFMediaType **closestMediaType); 72 IFACEMETHODIMP GetMediaTypeByIndex(__in DWORD index, __deref_out IMFMediaType **mediaType); 73 IFACEMETHODIMP SetCurrentMediaType(__in IMFMediaType *mediaType); 74 IFACEMETHODIMP GetCurrentMediaType(__deref_out_opt IMFMediaType **mediaType); 81 void InternalSetCurrentMediaType(__in const MW::ComPtr<IMFMediaType>& mediaType);
|
/external/okhttp/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) { 73 return new MediaType(string, type, subtype, charset); 113 return mediaType; 117 return o instanceof MediaType && ((MediaType) o).mediaType.equals(mediaType) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/net/super/com/google/common/net/ |
MediaTypeTest.java | 20 import static com.google.common.net.MediaType.ANY_APPLICATION_TYPE; 21 import static com.google.common.net.MediaType.ANY_AUDIO_TYPE; 22 import static com.google.common.net.MediaType.ANY_IMAGE_TYPE; 23 import static com.google.common.net.MediaType.ANY_TEXT_TYPE; 24 import static com.google.common.net.MediaType.ANY_TYPE; 25 import static com.google.common.net.MediaType.ANY_VIDEO_TYPE; 26 import static com.google.common.net.MediaType.HTML_UTF_8; 27 import static com.google.common.net.MediaType.JPEG; 28 import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8; 43 * Tests for {@link MediaType} [all...] |
/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;
|
LocalSource.java | 132 int mediaType = getMediaType( 143 switch (mediaType) {
|
/external/guava/guava-tests/test/com/google/common/net/ |
MediaTypeTest.java | 21 import static com.google.common.net.MediaType.ANY_APPLICATION_TYPE; 22 import static com.google.common.net.MediaType.ANY_AUDIO_TYPE; 23 import static com.google.common.net.MediaType.ANY_IMAGE_TYPE; 24 import static com.google.common.net.MediaType.ANY_TEXT_TYPE; 25 import static com.google.common.net.MediaType.ANY_TYPE; 26 import static com.google.common.net.MediaType.ANY_VIDEO_TYPE; 27 import static com.google.common.net.MediaType.HTML_UTF_8; 28 import static com.google.common.net.MediaType.JPEG; 29 import static com.google.common.net.MediaType.PLAIN_TEXT_UTF_8; 56 * Tests for {@link MediaType} [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
FilterUtils.java | 177 int mediaType; 180 mediaType = MediaObject.MEDIA_TYPE_IMAGE; 183 mediaType = MediaObject.MEDIA_TYPE_VIDEO; 189 return "/filter/mediatype/" + mediaType + "/{" + base + "}";
|
GalleryActivity.java | 180 int mediaType = intent.getIntExtra(KEY_MEDIA_TYPES, 0); 181 if (mediaType != 0) { 183 KEY_MEDIA_TYPES, String.valueOf(mediaType))
|
/external/guava/guava/src/com/google/common/net/ |
MediaType.java | 83 public final class MediaType { 109 private static final Map<MediaType, MediaType> KNOWN_TYPES = Maps.newHashMap(); 111 private static MediaType createConstant(String type, String subtype) { 112 return addKnownType(new MediaType(type, subtype, ImmutableListMultimap.<String, String>of())); 115 private static MediaType createConstantUtf8(String type, String subtype) { 116 return addKnownType(new MediaType(type, subtype, UTF_8_CONSTANT_PARAMETERS)); 119 private static MediaType addKnownType(MediaType mediaType) { [all...] |
/external/caliper/lib/ |
jersey-core-1.11.jar | |
jsr311-api-1.1.1.jar | |
/external/opencv3/modules/videoio/src/ |
cap_ios_photo_camera.mm | 141 if ([port.mediaType isEqual:AVMediaTypeVideo]) {
|
cap_dshow.cpp | 573 void setAttemptCaptureSize(int deviceID, int w, int h,GUID mediaType=MEDIASUBTYPE_RGB24); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSlidingWindow.java | 52 public int mediaType; 267 entry.mediaType = (item == null)
|
AlbumSlotRenderer.java | 126 if (entry.mediaType == MediaObject.MEDIA_TYPE_VIDEO) {
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 3805 ContentValues mediatype = new ContentValues(); local [all...] |
/frameworks/base/media/java/android/media/ |
MediaScanner.java | [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ToUnknownStream.java | 686 public void setMediaType(String mediaType) 688 m_handler.setMediaType(mediaType); [all...] |
/external/libpcap/msdos/ |
ndis2.c | 79 static int mediaType = 0;
840 switch (mediaType)
|
/external/autotest/client/site_tests/video_YouTubeMseEme/files/ |
video_YouTubeMseEme.js | 414 function createWidevineTest(mediaType) { 418 var codecString = mediaType;
|
/external/chromium-trace/catapult/third_party/html5lib-python/ |
parse.py | 32 (mediaType, params) = cgi.parse_header(contentType)
|