/external/webkit/Source/WebCore/platform/network/qt/ |
ResourceResponse.h | 39 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 40 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
|
QtMIMETypeSniffer.h | 32 QString mimeType() const { return m_mimeType; }
|
/external/webkit/Source/WebCore/platform/network/win/ |
ResourceResponse.h | 38 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 39 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
|
/external/webkit/Source/WebCore/platform/wx/ |
MimeTypeRegistryWx.cpp | 38 const char* mimeType; 71 return e->mimeType;
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldFileNameMapTest.java | 35 String mimeType = fileNameMap.getContentTypeFor("test." + files[i]); 37 files[i], mimeTypes[i], mimeType);
|
/external/webkit/Source/WebCore/loader/archive/ |
ArchiveFactory.cpp | 75 bool ArchiveFactory::isArchiveMimeType(const String& mimeType) 77 return !mimeType.isEmpty() && archiveMIMETypes().contains(mimeType); 80 PassRefPtr<Archive> ArchiveFactory::create(SharedBuffer* data, const String& mimeType) 82 RawDataCreationFunction* function = mimeType.isEmpty() ? 0 : archiveMIMETypes().get(mimeType);
|
ArchiveResource.h | 40 const String& mimeType, const String& textEncoding, const String& frameName, 43 const String& mimeType() const { return m_mimeType; } 51 ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse&);
|
ArchiveFactory.h | 44 static PassRefPtr<Archive> create(SharedBuffer* data, const String& mimeType);
|
/frameworks/base/drm/java/android/drm/ |
DrmSupportInfo.java | 38 * @param mimeType MIME type that can be handles by this DRM plug-in. 40 public void addMimeType(String mimeType) { 41 mMimeTypeList.add(mimeType); 122 * @param mimeType MIME type. 125 /* package */ boolean isSupportedMimeType(String mimeType) { 126 if (null != mimeType && !mimeType.equals("")) { 129 if (completeMimeType.startsWith(mimeType)) {
|
/packages/apps/Browser/src/com/android/browser/ |
FetchUrlMimeType.java | 37 * we can analyse the mimetype and make any correction needed before we give 40 * we don't know the mimetype. If the user just clicks on the link, we will 41 * do the same steps of correcting the mimetype down in 78 String mimeType = null; 84 // the server sends the right mimetype 88 mimeType = header.getValue(); 89 final int semicolonIndex = mimeType.indexOf(';'); 91 mimeType = mimeType.substring(0, semicolonIndex); 107 if (mimeType != null) [all...] |
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
ImageBufferGtk.cpp | 35 String ImageBuffer::toDataURL(const String& mimeType, const double* quality) const 37 ASSERT(MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(mimeType)); 39 if (!mimeType.startsWith("image/")) 44 String type = mimeType.substring(sizeof "image"); 70 return makeString("data:", mimeType, ";base64,", out);
|
/external/webkit/Source/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; }
|
TextResourceDecoder.h | 45 static PassRefPtr<TextResourceDecoder> create(const String& mimeType, const TextEncoding& defaultEncoding = TextEncoding(), bool usesEncodingDetector = false) 47 return adoptRef(new TextResourceDecoder(mimeType, defaultEncoding, usesEncodingDetector)); 69 TextResourceDecoder(const String& mimeType, const TextEncoding& defaultEncoding, 73 static ContentType determineContentType(const String& mimeType);
|
/external/webkit/Source/WebKit/android/jni/ |
MIMETypeRegistry.cpp | 54 jobject mimeType = env->CallStaticObjectMethod(mimeClass, 56 String result = android::jstringToWtfString(env, (jstring) mimeType); 59 env->DeleteLocalRef(mimeType);
|
/external/webkit/Source/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/Source/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/emailcommon/src/org/apache/james/mime4j/field/ |
ContentTypeField.java | 71 private String mimeType = "";
75 protected ContentTypeField(String name, String body, String raw, String mimeType, Map<String, String> parameters, ParseException parseException) {
77 this.mimeType = mimeType;
96 return mimeType;
190 * @param mimeType the MIME type to match against.
194 public boolean isMimeType(String mimeType) {
195 return this.mimeType.equalsIgnoreCase(mimeType);
205 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/Source/WebCore/platform/network/curl/ |
ResourceResponse.h | 42 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename) 43 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename),
|
/frameworks/base/include/drm/ |
DrmRights.h | 39 * @param[in] mimeType MIME type 44 const String8& rightsFilePath, const String8& mimeType, 52 * @param[in] mimeType MIME type 57 const DrmBuffer& rightsData, const String8& mimeType,
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ContactEntry.java | 33 public ContentValuesBuilder addContentValues(String mimeType) { 35 contentValues.put(Data.MIMETYPE, mimeType);
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
MessageTestUtils.java | 72 * @param mimeType MIME type of body part 77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { 78 final MimeBodyPart bp = new MimeBodyPart(null, mimeType); 88 * @param mimeType MIME type of text 93 public static BodyPart textPart(String mimeType, String text) throws MessagingException { 96 textPart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType); 114 * @param mimeType MIME type of this Multipart 116 public MultipartBuilder(String mimeType) { 117 this(mimeType, "this_is_boundary"); 123 * @param mimeType MIME type of this Multipar [all...] |
/external/webkit/Source/WebCore/platform/network/ |
MIMESniffing.cpp | 159 const char* mimeType; 164 #define MAGIC_NUMBERS_MASKED(pattern, mask, mimeType, flags) {(pattern), (mask), (mimeType), sizeof(pattern) - 1, (flags)} 165 #define MAGIC_NUMBERS_SIMPLE(pattern, mimeType) {(pattern), 0, (mimeType), sizeof(pattern) - 1, 0} 291 return types[i].mimeType; 303 return types[i].mimeType; 311 if (!strcmp(type, types[i].mimeType)) 320 const char* mimeType = 0; 322 mimeType = findSimpleMIMEType(data, dataSize, bomTypes, bomTypesSize) [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
SourceTokenizer.js | 85 getTokenizer: function(mimeType) 87 if (!this._tokenizerConstructors[mimeType]) 89 var tokenizerClass = this._tokenizerConstructors[mimeType]; 93 this._tokenizers[mimeType] = tokenizer;
|
/external/webkit/Source/WebCore/plugins/ |
PluginData.cpp | 47 bool PluginData::supportsMimeType(const String& mimeType) const 50 if (m_mimes[i].type == mimeType) 55 String PluginData::pluginNameForMimeType(const String& mimeType) const 60 if (info.type == mimeType)
|