/external/webkit/WebCore/loader/archive/ |
ArchiveResource.h | 41 static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName); 42 static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse&); 44 const String& mimeType() const { return m_mimeType; } 53 ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName); 54 ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse&);
|
ArchiveFactory.cpp | 71 bool ArchiveFactory::isArchiveMimeType(const String& mimeType) 73 return archiveMIMETypes().contains(mimeType); 76 PassRefPtr<Archive> ArchiveFactory::create(SharedBuffer* data, const String& mimeType) 78 RawDataCreationFunction* function = archiveMIMETypes().get(mimeType);
|
/external/webkit/WebCore/plugins/ |
PluginInfoStore.cpp | 76 String PluginInfoStore::pluginNameForMIMEType(const String& mimeType) 78 String mimeTypeCopy(mimeType); 81 ASSERT(mimeType == mimeTypeCopy); 90 bool PluginInfoStore::supportsMIMEType(const WebCore::String& mimeType) 92 return PluginDatabase::installedPlugins()->isMIMETypeRegistered(mimeType);
|
PluginDatabase.h | 68 bool isMIMETypeRegistered(const String& mimeType); 74 PluginPackage* findPlugin(const KURL&, String& mimeType); 75 PluginPackage* pluginForMIMEType(const String& mimeType); 76 void setPreferredPluginForMIMEType(const String& mimeType, PluginPackage* plugin);
|
PluginData.h | 58 bool supportsMimeType(const String& mimeType) const; 59 String pluginNameForMimeType(const String& mimeType) const;
|
/external/webkit/WebCore/html/ |
HTMLViewSourceDocument.h | 40 static PassRefPtr<HTMLViewSourceDocument> create(Frame* frame, const String& mimeType) 42 return adoptRef(new HTMLViewSourceDocument(frame, mimeType)); 50 HTMLViewSourceDocument(Frame*, const String& mimeType);
|
/external/webkit/WebCore/loader/ |
SubstituteData.h | 41 SubstituteData(PassRefPtr<SharedBuffer> content, const String& mimeType, const String& textEncoding, const KURL& failingURL, const KURL& responseURL = KURL()) 43 , m_mimeType(mimeType) 53 const String& mimeType() const { return m_mimeType; }
|
CrossOriginAccessControl.cpp | 50 String mimeType = extractMIMETypeFromMediaType(value); 51 return equalIgnoringCase(mimeType, "application/x-www-form-urlencoded") 52 || equalIgnoringCase(mimeType, "multipart/form-data") 53 || equalIgnoringCase(mimeType, "text/plain");
|
TextResourceDecoder.h | 43 static PassRefPtr<TextResourceDecoder> create(const String& mimeType, const TextEncoding& defaultEncoding = TextEncoding(), bool usesEncodingDetector = false) 45 return adoptRef(new TextResourceDecoder(mimeType, defaultEncoding, usesEncodingDetector)); 67 TextResourceDecoder(const String& mimeType, const TextEncoding& defaultEncoding, 71 static ContentType determineContentType(const String& mimeType);
|
CachedCSSStyleSheet.cpp | 140 String mimeType = extractMIMETypeFromMediaType(response().httpHeaderField("Content-Type")); 141 bool typeOK = mimeType.isEmpty() || equalIgnoringCase(mimeType, "text/css") || equalIgnoringCase(mimeType, "application/x-unknown-content-type");
|
/external/webkit/WebKit/android/jni/ |
MIMETypeRegistry.cpp | 52 jobject mimeType = env->CallStaticObjectMethod(mimeClass, 54 String result = android::to_string(env, (jstring) mimeType); 57 env->DeleteLocalRef(mimeType);
|
/external/webkit/WebKit/qt/Api/ |
qwebplugindatabase.cpp | 30 \typedef QWebPluginInfo::MimeType 117 QList<QWebPluginInfo::MimeType> QWebPluginInfo::mimeTypes() const 124 MimeType mimeType; 125 mimeType.name = it->first; 126 mimeType.description = it->second; 129 Vector<String> extensions = m_package->mimeToExtensions().get(mimeType.name); 134 mimeType.fileExtensions = fileExtensions; 135 m_mimeTypes.append(mimeType); 143 Returns true if the plugin supports a specific \a mimeType; otherwis [all...] |
/external/webkit/WebKit/qt/tests/qwebplugindatabase/ |
tst_qwebplugindatabase.cpp | 47 typedef QWebPluginInfo::MimeType MimeType; 74 QList<MimeType> mimeTypes; 80 MimeType mimeType; 81 mimeType.name = jsMimeType["type"].toString(); 82 mimeType.description = jsMimeType["description"].toString(); 83 mimeType.fileExtensions = jsMimeType["suffixes"].toString().split(',', QString::SkipEmptyParts); 85 mimeTypes.append(mimeType); 86 QVERIFY(plugin.supportsMimeType(mimeType.name)) [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/ |
ContentTypeField.java | 71 private String mimeType = "";
75 protected ContentTypeField(String name, String body, String raw, String mimeType, Map parameters, ParseException parseException) {
77 this.mimeType = mimeType;
96 return mimeType;
189 * @param mimeType the MIME type to match against.
193 public boolean isMimeType(String mimeType) {
194 return this.mimeType.equalsIgnoreCase(mimeType);
204 return mimeType.startsWith(TYPE_MULTIPART_PREFIX); [all...] |
/frameworks/base/media/java/android/drm/mobile1/ |
DrmRightsManager.java | 95 int mimeType = 0; 98 mimeType = DRM_MIMETYPE_RIGHTS_XML; 100 mimeType = DRM_MIMETYPE_RIGHTS_WBXML; 102 mimeType = DRM_MIMETYPE_MESSAGE; 104 throw new IllegalArgumentException("mimeType must be DRM_MIMETYPE_RIGHTS_XML or DRM_MIMETYPE_RIGHTS_WBXML or DRM_MIMETYPE_MESSAGE"); 112 int res = nativeInstallDrmRights(rightsData, len, mimeType, rights); 193 * @param mimeType the mime type of this DRM rights object. the value of this field includes: 201 private native int nativeInstallDrmRights(InputStream data, int len, int mimeType, DrmRights rights);
|
/external/webkit/WebCore/platform/network/cf/ |
ResourceResponse.h | 49 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 50 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
|
/external/webkit/WebCore/platform/network/mac/ |
ResourceResponse.h | 54 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 55 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/ |
ContactEntry.java | 33 public ContentValuesBuilder addContentValues(String mimeType) { 35 contentValues.put(Data.MIMETYPE, mimeType);
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldFileNameMapTest.java | 40 String mimeType = fileNameMap.getContentTypeFor("test." + files[i]); 42 files[i], mimeTypes[i], mimeType);
|
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
testplugin.h | 39 virtual QObject *create(const QString &mimeType,
|
/frameworks/base/include/media/stagefright/ |
StagefrightMediaScanner.h | 32 const char *path, const char *mimeType,
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
MessageTestUtils.java | 75 * @param mimeType MIME type of body part 80 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { 81 final MimeBodyPart bp = new MimeBodyPart(null, mimeType); 91 * @param mimeType MIME type of text 96 public static BodyPart textPart(String mimeType, String text) throws MessagingException { 99 textPart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType); 106 * @param mimeType MIME type of image body 114 public static BodyPart imagePart(String mimeType, String contentId, 119 imagePart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType); 140 * @param mimeType MIME type of this Multipart [all...] |
/frameworks/base/media/java/android/media/ |
MediaFile.java | 91 String mimeType; 93 MediaFileType(int fileType, String mimeType) { 95 this.mimeType = mimeType; 103 static void addFileType(String extension, int fileType, String mimeType) { 104 sFileTypeMap.put(extension, new MediaFileType(fileType, mimeType)); 105 sMimeTypeMap.put(mimeType, Integer.valueOf(fileType)); 220 public static int getFileTypeForMimeType(String mimeType) { 221 Integer value = sMimeTypeMap.get(mimeType);
|
/libcore/luni/src/main/java/libcore/net/ |
MimeUtils.java | 357 private static void add(String mimeType, String extension) { 366 if (!mimeTypeToExtensionMap.containsKey(mimeType)) { 367 mimeTypeToExtensionMap.put(mimeType, extension); 369 extensionToMimeTypeMap.put(extension, mimeType); 419 String mimeType = (String) entry.getValue(); 420 add(mimeType, extension); 434 * @param mimeType A MIME type (i.e. text/plain) 435 * @return True iff there is a mimeType entry in the map. 437 public static boolean hasMimeType(String mimeType) { 438 if (mimeType == null || mimeType.isEmpty()) [all...] |
/external/webkit/WebCore/platform/network/chromium/ |
ResourceResponse.h | 45 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 46 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
|