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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/platform/chromium/
MIMETypeRegistryChromium.cpp 67 String mimeType = type.substring(0, static_cast<unsigned>(type.find(';')));
82 String mimeType = getMIMETypeForExtension(extension);
83 if (mimeType.isEmpty()) {
84 // If there's no mimetype registered for the extension, check to see
86 mimeType = getPluginMimeTypeFromExtension(extension);
88 if (mimeType.isEmpty())
90 return mimeType;
93 bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType)
95 return PlatformBridge::isSupportedImageMIMEType(mimeType);
98 bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
    [all...]
  /external/webkit/Source/WebKit/chromium/public/
WebMimeRegistry.h 44 virtual SupportsType supportsMIMEType(const WebString& mimeType) = 0;
45 virtual SupportsType supportsImageMIMEType(const WebString& mimeType) = 0;
46 virtual SupportsType supportsJavaScriptMIMEType(const WebString& mimeType) = 0;
47 virtual SupportsType supportsMediaMIMEType(const WebString& mimeType,
49 virtual SupportsType supportsNonImageMIMEType(const WebString& mimeType) = 0;
53 virtual WebString preferredExtensionForMIMEType(const WebString& mimeType) = 0;
WebPluginParams.h 42 WebString 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...]
  /external/webkit/Tools/DumpRenderTree/qt/
testplugin.cpp 45 MimeType mimeType;
46 mimeType.name = "testtype";
47 mimeType.fileExtensions.append("testsuffixes");
48 plugin.mimeTypes.append(mimeType);
52 mimeType.name = "testtype2";
53 mimeType.fileExtensions.append("testsuffixes2");
54 mimeType.fileExtensions.append("testsuffixes3");
55 plugin.mimeTypes.append(mimeType);
  /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...]
MediaScannerClient.java 35 public void setMimeType(String mimeType);
  /external/webkit/Source/WebCore/platform/qt/
MIMETypeRegistryQt.cpp 39 const char* mimeType;
83 return e->mimeType;
90 bool MIMETypeRegistry::isApplicationPluginMIMEType(const String& mimeType)
92 return mimeType.startsWith("application/x-qt-plugin", false)
93 || mimeType.startsWith("application/x-qt-styled-widget", false);
  /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;
  /external/webkit/Source/WebCore/platform/
MIMETypeRegistry.h 51 static bool isSupportedImageMIMEType(const String& mimeType);
55 static bool isSupportedImageResourceMIMEType(const String& mimeType);
58 static bool isSupportedImageMIMETypeForEncoding(const String& mimeType);
62 static bool isSupportedJavaScriptMIMEType(const String& mimeType);
66 static bool isSupportedNonImageMIMEType(const String& mimeType);
69 static bool isSupportedMediaMIMEType(const String& mimeType);
73 static bool isUnsupportedTextMIMEType(const String& mimeType);
76 static bool isJavaAppletMIMEType(const String& mimeType);
80 static bool isApplicationPluginMIMEType(const String& mimeType);
MIMETypeRegistry.cpp 69 String mimeType = MIMETypeForImageSourceType(supportedType.get());
70 if (!mimeType.isEmpty()) {
71 supportedImageMIMETypes->add(mimeType);
72 supportedImageResourceMIMETypes->add(mimeType);
108 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
109 if (!mimeType.isEmpty()) {
110 supportedImageMIMETypes->add(mimeType);
111 supportedImageResourceMIMETypes->add(mimeType);
166 String mimeType = MIMETypeForImageSourceType(supportedType.get());
167 if (!mimeType.isEmpty()
    [all...]
  /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/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/webkit/Source/WebCore/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)
38 , m_mimeType(mimeType)
45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& 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/android/jni/
mime_utils.h 17 static bool GuessExtensionFromMimeType(const std::string& 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;
  /external/webkit/Source/WebCore/platform/brew/
MIMETypeRegistryBrew.cpp 40 const char* mimeType;
75 return e->mimeType;

Completed in 1145 milliseconds

1 2 3 4 5 6 7 8 91011>>