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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/
MIMETypeRegistryChromium.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 WebKit::Platform::current()->mimeRegistry()->supportsImageMIMEType(mimeType)
76 bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
78 return isSupportedImageMIMEType(mimeType);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
MIMETypeRegistry.h 45 static bool isSupportedImageMIMEType(const String& mimeType);
49 static bool isSupportedImageResourceMIMEType(const String& mimeType);
52 static bool isSupportedImageMIMETypeForEncoding(const String& mimeType);
56 static bool isSupportedJavaScriptMIMEType(const String& mimeType);
60 static bool isSupportedNonImageMIMEType(const String& mimeType);
63 static bool isSupportedMediaSourceMIMEType(const String& mimeType, const String& codecs);
66 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)
  /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);
  /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...]
WebResourceResponse.java 40 * @param mimeType the resource response's MIME type, for example text/html
44 public WebResourceResponse(String mimeType, String encoding,
46 mMimeType = mimeType;
54 * @param mimeType the resource response's MIME type
56 public void setMimeType(String mimeType) {
57 mMimeType = 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/public/platform/
WebMimeRegistry.h 43 virtual SupportsType supportsMIMEType(const WebKit::WebString& mimeType) = 0;
44 virtual SupportsType supportsImageMIMEType(const WebKit::WebString& mimeType) = 0;
45 virtual SupportsType supportsJavaScriptMIMEType(const WebKit::WebString& mimeType) = 0;
47 virtual SupportsType supportsMediaMIMEType(const WebKit::WebString& mimeType,
49 virtual SupportsType supportsMediaMIMEType(const WebKit::WebString& mimeType,
52 return supportsMediaMIMEType(mimeType, codecs);
55 virtual bool supportsMediaSourceMIMEType(const WebKit::WebString& mimeType, const WebKit::WebString& codecs) = 0;
57 virtual SupportsType supportsNonImageMIMEType(const WebKit::WebString& mimeType) = 0;
63 virtual WebKit::WebString preferredExtensionForMIMEType(const WebKit::WebString& mimeType)
  /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,
  /packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DataItem.java 52 * Factory for creating subclasses of DataItem objects based on the mimetype in the
56 final String mimeType = values.getAsString(Data.MIMETYPE);
57 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) {
59 } else if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) {
61 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimeType)) {
63 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType)) {
65 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType)) {
67 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType)) {
69 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/loader/archive/
ArchiveResource.cpp 36 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response)
40 , m_mimeType(mimeType)
47 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response)
53 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName,
54 ResourceResponse(url, mimeType, dataSize, textEncoding, String())));
56 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response));
61 return create(data, url, response.mimeType(), response.textEncodingName(), String(), response);
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLViewSourceParser.h 39 static PassRefPtr<HTMLViewSourceParser> create(HTMLViewSourceDocument* document, const String& mimeType)
41 return adoptRef(new HTMLViewSourceParser(document, mimeType));
46 HTMLViewSourceParser(HTMLViewSourceDocument*, const String& mimeType);
  /external/chromium_org/third_party/WebKit/Source/core/loader/
SubstituteData.h 40 SubstituteData(PassRefPtr<SharedBuffer> content, const String& mimeType, const String& textEncoding, const KURL& failingURL)
42 , m_mimeType(mimeType)
51 const String& mimeType() const { return m_mimeType; }
DocumentWriter.h 48 static PassRefPtr<DocumentWriter> create(Document*, const String& mimeType = "", const String& encoding = "", bool encodingUserChoosen = false);
60 const String& mimeType() const { return m_decoderBuilder.mimeType(); }
72 DocumentWriter(Document*, const String& mimeType, const String& encoding, bool encodingUserChoosen);
  /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/android/jni/
mime_utils.h 17 static bool GuessExtensionFromMimeType(const std::string& mimeType,
  /external/chromium_org/third_party/WebKit/public/web/
WebPluginParams.h 42 WebString mimeType;
  /frameworks/av/drm/common/
DrmInfoStatus.cpp 26 mimeType(_mimeType) {
DrmRights.cpp 22 DrmRights::DrmRights(const String8& rightsFilePath, const String8& mimeType,
24 mMimeType(mimeType),
35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType,
38 mMimeType(mimeType),
  /frameworks/av/include/drm/
DrmInfoStatus.h 61 String8 mimeType;

Completed in 234 milliseconds

1 2 3 4 5 6 7 8 91011>>