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

1 2 3 45 6 7 8 91011>>

  /external/webkit/Source/WebCore/loader/
SubframeLoader.h 80 bool resourceWillUsePlugin(const String& url, const String& mimeType, bool shouldPreferPlugInsForImages);
86 bool loadPlugin(HTMLPlugInImageElement*, const KURL&, const String& mimeType,
89 bool shouldUsePlugin(const KURL&, const String& mimeType, bool shouldPreferPlugInsForImages, bool hasFallback, bool& useFallback);
MainResourceLoader.cpp 245 const String& mimeType = r.mimeType();
250 bool isRemoteWebArchive = equalIgnoringCase("application/x-webarchive", mimeType) && !m_substituteData.isValid() && !url.isLocalFile();
251 if (!frameLoader()->canShowMIMEType(mimeType) || isRemoteWebArchive) {
343 String mimeType = PluginDatabase::installedPlugins()->MIMETypeForExtension(extension);
344 if (!mimeType.isEmpty()) {
346 response->setMimeType(mimeType);
378 if (r.mimeType() == "application/octet-stream")
383 frameLoader()->setupForReplaceByMIMEType(r.mimeType());
413 if (settings && settings->forceFTPDirectoryListings() && m_response.mimeType() == "application/x-ftp-directory")
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/Plugins/
Plugin.h 61 String mimeType;
106 uint32_t lastModifiedTime, const String& mimeType, const String& headers) = 0;
119 uint32_t lastModifiedTime, const String& mimeType, const String& headers) = 0;
  /frameworks/base/drm/java/android/drm/
DrmOutputStream.java 50 public DrmOutputStream(DrmManagerClient client, RandomAccessFile file, String mimeType)
55 mSessionId = mClient.openConvertSession(mimeType);
57 throw new UnknownServiceException("Failed to open DRM session for " + mimeType);
DrmManagerClient.java 466 * @param mimeType MIME type of the object to be handled.
470 public boolean canHandle(String path, String mimeType) {
471 if ((null == path || path.equals("")) && (null == mimeType || mimeType.equals(""))) {
472 throw new IllegalArgumentException("Path or the mimetype should be non null");
474 return _canHandle(mUniqueId, path, mimeType);
481 * @param mimeType MIME type of the object to be handled
485 public boolean canHandle(Uri uri, String mimeType) {
486 if ((null == uri || Uri.EMPTY == uri) && (null == mimeType || mimeType.equals("")))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
UriSource.java 75 String mimeType = getMimeType(uri);
79 && mimeType.startsWith(IMAGE_TYPE_PREFIX))) {
80 type = mimeType;
  /packages/apps/Tag/src/com/android/apps/tag/record/
ImageRecord.java 54 String mimeType = record.toMimeType();
55 if (mimeType == null) {
58 Preconditions.checkArgument(mimeType.startsWith("image/"));
  /external/webkit/Source/WebCore/platform/network/
FormDataBuilder.h 42 static void addContentTypeToMultiPartHeader(Vector<char>&, const CString& mimeType);
ResourceResponseBase.h 62 const String& mimeType() const;
63 void setMimeType(const String& mimeType);
86 bool isMultipart() const { return mimeType() == "multipart/x-mixed-replace"; }
139 ResourceResponseBase(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename);
  /external/webkit/Source/WebKit/gtk/webkit/
webkitwebresource.cpp 68 g_free(priv->mimeType);
69 priv->mimeType = NULL;
263 const gchar* mimeType,
269 g_return_val_if_fail(mimeType, NULL);
275 WebKitWebResource* webResource = webkit_web_resource_new_with_core_resource(ArchiveResource::create(buffer, KURL(KURL(), String::fromUTF8(uri)), String::fromUTF8(mimeType), String::fromUTF8(encoding), String::fromUTF8(frameName)));
351 if (!priv->mimeType)
352 priv->mimeType = g_strdup(priv->resource->mimeType().utf8().data());
354 return priv->mimeType;
  /frameworks/av/drm/libdrmframework/include/
DrmManagerService.h 66 bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
77 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
93 int openConvertSession(int uniqueId, const String8& mimeType);
108 const String8& mimeType);
IDrmManagerService.h 103 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType) = 0;
115 int uniqueId, const String8& path, const String8& mimeType) = 0;
133 virtual int openConvertSession(int uniqueId, const String8& mimeType) = 0;
151 int uniqueId, const DrmBuffer& buf, const String8& mimeType) = 0;
194 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType);
205 virtual int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
222 virtual int openConvertSession(int uniqueId, const String8& mimeType);
240 int uniqueId, const DrmBuffer& buf, const String8& mimeType);
  /frameworks/av/include/drm/
DrmManagerClient.h 89 * @param[in] mimeType Mime type of the protected content
93 sp<DecryptHandle> openDecryptSession(const DrmBuffer& buf, const String8& mimeType);
237 * Check whether the given mimetype or path can be handled
240 * @param[in] mimetype Mimetype of the content needs to be handled
244 bool canHandle(const String8& path, const String8& mimeType);
290 * by using specified path or mimetype. At least one parameter should be non null
294 * @param[in] mimeType Mime type of the content or null.
298 int getDrmObjectType(const String8& path, const String8& mimeType);
335 * @param[in] mimeType Description/MIME type of the input data packe
    [all...]
DrmSupportInfo.h 26 * such as mimetype's and file suffixes it could handle.
108 * Returns MimeTypeIterator object to walk through mimetype values
131 * Adds the mimetype to the list of supported mimetypes
133 * @param[in] mimeType mimetype to be added
136 status_t addMimeType(const String8& mimeType);
162 * Returns whether given mimetype is supported or not
164 * @param[in] mimeType MIME type
169 bool isSupportedMimeType(const String8& mimeType) const;
  /frameworks/base/core/java/android/webkit/
URLUtil.java 292 * is added based on the mimetype
295 * @param mimeType Mime-type of the content or null
302 String mimeType) {
344 if (mimeType != null) {
345 extension = MimeTypeMap.getSingleton().getExtensionFromMimeType(mimeType);
351 if (mimeType != null && mimeType.toLowerCase().startsWith("text/")) {
352 if (mimeType.equalsIgnoreCase("text/html")) {
362 if (mimeType != null) {
368 if (typeFromExt != null && !typeFromExt.equalsIgnoreCase(mimeType)) {
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ImportTestProvider.java 45 final String mimeType = expectedContentValues.getAsString(Data.MIMETYPE);
48 if (mMimeTypeToExpectedContentValues.containsKey(mimeType)) {
49 contentValuesCollection = mMimeTypeToExpectedContentValues.get(mimeType);
52 mMimeTypeToExpectedContentValues.put(mimeType, contentValuesCollection);
86 final String mimeType = actualContentValues.getAsString(Data.MIMETYPE);
87 if (!mMimeTypeToExpectedContentValues.containsKey(mimeType)) {
88 TestCase.fail("Unregistered MimeType " + mimeType);
    [all...]
  /development/samples/NotePad/tests/src/com/example/android/notepad/
NotePadProviderTest.java 165 String mimeType = mMockResolver.getType(NotePad.Notes.CONTENT_URI);
166 assertEquals(NotePad.Notes.CONTENT_TYPE, mimeType);
169 mimeType = mMockResolver.getType(NotePad.Notes.LIVE_FOLDER_URI);
170 assertEquals(NotePad.Notes.CONTENT_TYPE, mimeType);
176 mimeType = mMockResolver.getType(noteIdUri);
177 assertEquals(NotePad.Notes.CONTENT_ITEM_TYPE, mimeType);
180 mimeType = mMockResolver.getType(INVALID_URI);
207 String mimeType[] = mMockResolver.getStreamTypes(testUri, MIME_TYPES_ALL);
211 assertNotNull(mimeType);
212 assertEquals(mimeType[0],"text/plain")
    [all...]
  /external/chromium/android/jni/
mime_utils.cc 47 bool MimeUtils::GuessExtensionFromMimeType(const std::string& mimeType,
50 jstring jMimeType = env->NewStringUTF(mimeType.c_str());
  /external/webkit/Source/WebCore/inspector/front-end/
DOMSyntaxHighlighter.js 31 WebInspector.DOMSyntaxHighlighter = function(mimeType)
33 this._tokenizer = WebInspector.SourceTokenizer.Registry.getInstance().getTokenizer(mimeType);
  /external/webkit/Source/WebCore/platform/network/cf/
ResourceResponse.h 67 ResourceResponse(const KURL& url, const String& mimeType, long long expectedLength, const String& textEncodingName, const String& filename)
68 : ResourceResponseBase(url, mimeType, expectedLength, textEncodingName, filename)
  /external/webkit/Source/WebCore/plugins/
PluginData.h 59 bool supportsMimeType(const String& mimeType) const;
60 String pluginNameForMimeType(const String& mimeType) const;
  /external/webkit/Source/WebKit/win/Interfaces/
IWebResource.idl 47 @method initWithData:URL:MIMEType:textEncodingName:frameName
51 @param MIMEType The MIME type of the resource.
55 - (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName frameName:(NSString *)frameName;
57 HRESULT initWithData([in] IStream* data, [in] BSTR url, [in] BSTR mimeType, [in] BSTR textEncodingName, [in] BSTR frameName);
74 @method MIMEType
76 - (NSString *)MIMEType;
78 HRESULT MIMEType([out, retval] BSTR* mime);
IWebURLResponse.idl 48 - (id)initWithURL:(NSURL *)URL MIMEType:(NSString *)MIMEType expectedContentLength:(int)length textEncodingName:(NSString *)name
50 HRESULT initWithURL([in] BSTR url, [in] BSTR mimeType, [in] int expectedContentLength, [in] BSTR textEncodingName);
53 - (NSString *)MIMEType
55 HRESULT MIMEType([out, retval] BSTR* result);
  /external/webkit/Source/WebKit/win/
WebResource.h 41 WebResource(IStream* data, const WebCore::KURL& url, const WTF::String& mimeType, const WTF::String& textEncodingName, const WTF::String& frameName);
54 /* [in] */ BSTR mimeType,
64 virtual HRESULT STDMETHODCALLTYPE MIMEType(
  /frameworks/av/drm/libdrmframework/
DrmManagerClient.cpp 50 bool DrmManagerClient::canHandle(const String8& path, const String8& mimeType) {
51 return mDrmManagerClientImpl->canHandle(mUniqueId, path, mimeType);
71 int DrmManagerClient::getDrmObjectType(const String8& path, const String8& mimeType) {
72 return mDrmManagerClientImpl->getDrmObjectType( mUniqueId, path, mimeType);
103 int DrmManagerClient::openConvertSession(const String8& mimeType) {
104 return mDrmManagerClientImpl->openConvertSession(mUniqueId, mimeType);
134 const DrmBuffer& buf, const String8& mimeType) {
135 return mDrmManagerClientImpl->openDecryptSession(mUniqueId, buf, mimeType);

Completed in 4571 milliseconds

1 2 3 45 6 7 8 91011>>