/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderHost.cpp | 32 IVideoDecoder* createVideoDecoder(const char* mimeType) { 33 if (mimeType == NULL) { 38 if (strcasecmp(mimeType, "video/wmv") == 0 || 39 strcasecmp(mimeType, "video/vc1") == 0 || 40 strcasecmp(mimeType, "video/x-ms-wmv") == 0) { 41 VideoDecoderWMV *p = new VideoDecoderWMV(mimeType); 43 } else if (strcasecmp(mimeType, "video/avc") == 0 || 44 strcasecmp(mimeType, "video/h264") == 0) { 45 VideoDecoderAVC *p = new VideoDecoderAVC(mimeType); 47 } else if (strcasecmp(mimeType, "video/mp4v-es") == 0 | [all...] |
VideoDecoderHost.h | 24 IVideoDecoder* createVideoDecoder(const char* mimeType);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
MIMETypeRegistry.cpp | 59 String mimeType = getMIMETypeForExtension(extension); 60 if (mimeType.isEmpty()) { 61 // If there's no mimetype registered for the extension, check to see 63 mimeType = getPluginMimeTypeFromExtension(extension); 65 if (mimeType.isEmpty()) 67 return mimeType; 70 bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType) 72 return blink::Platform::current()->mimeRegistry()->supportsImageMIMEType(mimeType.lower()) 76 bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType) 78 return isSupportedImageMIMEType(mimeType); [all...] |
MIMETypeRegistry.h | 46 static bool isSupportedImageMIMEType(const String& mimeType); 50 static bool isSupportedImageResourceMIMEType(const String& mimeType); 53 static bool isSupportedImageMIMETypeForEncoding(const String& mimeType); 57 static bool isSupportedJavaScriptMIMEType(const String& mimeType); 61 static bool isSupportedNonImageMIMEType(const String& mimeType); 64 static bool isSupportedMediaSourceMIMEType(const String& mimeType, const String& codecs); 67 static bool isSupportedEncryptedMediaMIMEType(const String& keySystem, const String& mimeType, const String& codecs); 70 static bool isJavaAppletMIMEType(const String& mimeType);
|
SerializedResource.h | 42 String mimeType; 45 SerializedResource(const KURL& url, const String& mimeType, PassRefPtr<SharedBuffer> data) 47 , mimeType(mimeType)
|
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderHost.h | 22 IVideoEncoder *createVideoEncoder(const char *mimeType);
|
VideoEncoderHost.cpp | 31 IVideoEncoder *createVideoEncoder(const char *mimeType) { 40 if (mimeType == NULL) { 45 if (strcasecmp(mimeType, "video/avc") == 0 || 46 strcasecmp(mimeType, "video/h264") == 0) { 49 } else if (strcasecmp(mimeType, "video/h263") == 0) { 56 } else if (strcasecmp(mimeType, "video/mpeg4") == 0 || 57 strcasecmp(mimeType, "video/mp4v-es") == 0) { 64 } else if (strcasecmp(mimeType, "video/x-vnd.on2.vp8") == 0) { 68 LOGE ("Unknown mime type: %s", mimeType);
|
/frameworks/base/drm/java/android/drm/ |
DrmInfoStatus.java | 55 public final String mimeType; 72 * @param mimeType The MIME type. 74 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { 83 if (mimeType == null || mimeType == "") { 84 throw new IllegalArgumentException("mimeType is null or an empty string"); 90 this.mimeType = mimeType;
|
DrmRights.java | 50 * @param mimeType MIME type. Must not be null or an empty string. 52 public DrmRights(String rightsFilePath, String mimeType) { 54 instantiate(file, mimeType); 61 * @param mimeType MIME type. Must not be null or an empty string. 64 public DrmRights(String rightsFilePath, String mimeType, String accountId) { 65 this(rightsFilePath, mimeType); 74 * @param mimeType MIME type. Must not be null or an empty string. 79 String rightsFilePath, String mimeType, String accountId, String subscriptionId) { 80 this(rightsFilePath, mimeType); 90 * @param mimeType MIME type. Must not be null or an empty string [all...] |
DrmSupportInfo.java | 38 * @param mimeType MIME type that can be handles by this DRM plug-in. 41 public void addMimeType(String mimeType) { 42 if (mimeType == null) { 43 throw new IllegalArgumentException("mimeType is null"); 45 if (mimeType == "") { 46 throw new IllegalArgumentException("mimeType is an empty string"); 49 mMimeTypeList.add(mimeType); 157 * @param mimeType MIME type. 159 * Null or empty string is not a supported mimeType. 161 /* package */ boolean isSupportedMimeType(String mimeType) { [all...] |
/frameworks/base/media/java/android/media/ |
IMediaScannerService.aidl | 29 * @param mimeType an optional mimeType for the file. 30 * If mimeType is null, then the mimeType will be inferred from the file extension. 34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); 40 * @param mimeType an optional mimeType for the file. 41 * If mimeType is null, then the mimeType will be inferred from the file extension. 43 void scanFile(String path, String mimeType); [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ActionMultiMap.java | 27 public void put(String mimeType, Action info) { 28 put(mimeType, info, false); 32 * Puts the (mimeType,Action) tuple into the multimap at the front if 35 public void put(String mimeType, Action info, boolean front) { 37 ArrayList<Action> collectList = get(mimeType); 42 put(mimeType, collectList);
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebMimeRegistry.h | 43 virtual SupportsType supportsMIMEType(const blink::WebString& mimeType) = 0; 44 virtual SupportsType supportsImageMIMEType(const blink::WebString& mimeType) = 0; 45 virtual SupportsType supportsJavaScriptMIMEType(const blink::WebString& mimeType) = 0; 46 virtual SupportsType supportsMediaMIMEType(const blink::WebString& mimeType, const blink::WebString& codecs, const blink::WebString& keySystem) = 0; 48 virtual bool supportsMediaSourceMIMEType(const blink::WebString& mimeType, const blink::WebString& codecs) = 0; 49 virtual bool supportsEncryptedMediaMIMEType(const blink::WebString& keySystem, const blink::WebString& mimeType, const blink::WebString& codecs) = 0; 51 virtual SupportsType supportsNonImageMIMEType(const blink::WebString& mimeType) = 0;
|
/frameworks/base/core/java/android/webkit/ |
MimeTypeMap.java | 75 * @param mimeType A MIME type (i.e. text/plain) 76 * @return True iff there is a mimeType entry in the map. 78 public boolean hasMimeType(String mimeType) { 79 return MimeUtils.hasMimeType(mimeType); 109 * @param mimeType A MIME type (i.e. text/plain) 112 public String getExtensionFromMimeType(String mimeType) { 113 return MimeUtils.guessExtensionFromMimeType(mimeType); 121 * @param mimeType MIME type provided by the server. 126 /* package */ String remapGenericMimeType(String mimeType, String url, 130 if ("text/plain".equals(mimeType) || [all...] |
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
WebServerPluginInfo.java | 12 WebServerPlugin getWebServerPlugin(String mimeType);
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
MimeTypeUtil.h | 33 * May convert the mimetype if there is a well known 34 * replacement mimetype otherwise the original mimetype 37 * @param mimeType - mimetype in lower case to convert. 39 * @return mimetype or null. 41 static String8 convertMimeType(String8& mimeType);
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
StyleSheetResource.h | 44 StyleSheetResource(const ResourceRequest& request, Type type, const String& mimeType, const String& charset) 45 : TextResource(request, type, mimeType, charset)
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMimeTypeMap.java | 14 * Shadow for {@code MimeTypeMap} that allows custom extension <-> mimetype mapping to be set up by tests. 51 public String getExtensionFromMimeType(String mimeType) { 52 if (mimeTypeToExtensionMap.containsKey(mimeType)) 53 return mimeTypeToExtensionMap.get(mimeType); 58 public void addExtensionMimeTypMapping(String extension, String mimeType) { 59 extensionToMimeTypeMap.put(extension, mimeType); 60 mimeTypeToExtensionMap.put(mimeType, extension); 74 public boolean hasMimeType(String mimeType) { 75 return mimeTypeToExtensionMap.containsKey(mimeType);
|
/frameworks/av/include/media/stagefright/ |
StagefrightMediaScanner.h | 30 const char *path, const char *mimeType, 40 const char *path, const char *mimeType,
|
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/ |
ArchiveResource.cpp | 34 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) 38 , m_mimeType(mimeType) 45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) 51 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, 52 ResourceResponse(url, mimeType, dataSize, textEncoding, String()))); 54 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response)); 59 return create(data, url, response.mimeType(), response.textEncodingName(), String(), response);
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLViewSourceParser.h | 40 static PassRefPtrWillBeRawPtr<HTMLViewSourceParser> create(HTMLViewSourceDocument& document, const String& mimeType) 42 return adoptRefWillBeNoop(new HTMLViewSourceParser(document, mimeType)); 47 HTMLViewSourceParser(HTMLViewSourceDocument&, const String& mimeType);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
URLTestHelpers.h | 49 // Helper functions for mock URLs. These functions set up the desired URL and mimeType, with a 200 OK return status. 54 void registerMockedURLFromBaseURL(const WebString& baseURL, const WebString& fileName, const WebString& mimeType = WebString::fromUTF8("text/html")); 55 void registerMockedURLLoad(const WebURL& fullURL, const WebString& fileName, const WebString& mimeType = WebString::fromUTF8("text/html")); 56 void registerMockedURLLoad(const WebURL& fullURL, const WebString& fileName, const WebString& relativeBaseDirectory, const WebString& mimeType);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentViewDownloadDelegate.java | 21 * @param mimeType Mime of the downloaded item. 23 void onDownloadStarted(String filename, String mimeType);
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
DocumentWriter.h | 49 static PassRefPtrWillBeRawPtr<DocumentWriter> create(Document*, const AtomicString& mimeType = emptyAtom, const AtomicString& encoding = emptyAtom, bool encodingUserChoosen = false); 62 const AtomicString& mimeType() const { return m_decoderBuilder.mimeType(); } 74 DocumentWriter(Document*, const AtomicString& mimeType, const AtomicString& encoding, bool encodingUserChoosen);
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebPluginParams.h | 42 WebString mimeType;
|