/frameworks/base/media/libstagefright/ |
MediaExtractor.cpp | 54 const sp<DataSource> &source, const char *mime) { 58 if (mime == NULL) { 66 mime = tmp.string(); 68 mime, confidence); 72 // DRM MIME type syntax is "drm+type+original" where 74 // original is the content's cleartext MIME type 75 if (!strncmp(mime, "drm+", 4)) { 76 const char *originalMime = strchr(mime+4, '+'); 82 if (!strncmp(mime, "drm+es_based+", 13)) { 85 } else if (!strncmp(mime, "drm+container_based+", 20)) [all...] |
/external/webkit/Source/WebCore/plugins/wx/ |
PluginDataWx.cpp | 52 MimeClassInfo mime; local 54 mime.type = it->first; 55 mime.desc = it->second; 56 mime.extensions = package->mimeToExtensions().get(mime.type); 58 info.mimes.append(mime);
|
/external/webkit/Source/WebCore/plugins/android/ |
PluginDataAndroid.cpp | 52 MimeClassInfo mime; local 53 mime.type = it->first; 54 mime.desc = it->second; 55 mime.extensions = package->mimeToExtensions().get(mime.type); 56 info.mimes.append(mime);
|
/external/webkit/Source/WebCore/plugins/gtk/ |
PluginDataGtk.cpp | 46 MimeClassInfo mime; local 48 mime.type = it->first; 49 mime.desc = it->second; 50 mime.extensions = package->mimeToExtensions().get(mime.type); 52 info.mimes.append(mime);
|
/external/webkit/Source/WebCore/plugins/qt/ |
PluginPackageQt.cpp | 77 Vector<String> mime; local 78 types[i].split(UChar(':'), true, mime); 79 if (mime.size() > 0) { 81 if (mime.size() > 1) 82 mime[1].split(UChar(','), false, exts); 83 determineQuirks(mime[0]); 84 m_mimeToExtensions.add(mime[0], exts); 85 if (mime.size() > 2) 86 m_mimeToDescriptions.add(mime[0], mime[2]) [all...] |
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
WebPlatformStrategies.cpp | 89 MimeClassInfo mime; local 91 mime.type = it->first; 92 mime.desc = it->second; 93 mime.extensions = package->mimeToExtensions().get(mime.type); 95 info.mimes.append(mime);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMimeTest.java | 35 * System tests for the handling of mime type in the media framework. 71 // AUDIO mime type resolution tests. 97 // Checks the activity resolver handling of mime types is case sensitive. 105 // resolving mime types. Trailing whitespaces seems to be non 114 // @return a ResolveInfo instance for the mime type or null if the type is 116 private ResolveInfo resolveMime(String mime) { 120 viewIntent.setDataAndType(uri, mime); 125 // Helper method to check the media playback activity handles the given mime type. 126 // @param mime type to test for 127 private void assertMediaPlaybackActivityHandles(String mime) throws Exception [all...] |
/prebuilt/common/http-client/ |
httpmime-4.1.1.jar | |
/external/bluetooth/glib/gio/xdgmime/ |
xdgmimecache.h | 74 char **_xdg_mime_cache_list_mime_parents (const char *mime); 75 const char *_xdg_mime_cache_unalias_mime_type (const char *mime); 77 const char *_xdg_mime_cache_get_icon (const char *mime); 78 const char *_xdg_mime_cache_get_generic_icon (const char *mime);
|
xdgmime.h | 2 /* xdgmime.h: XDG Mime Spec mime resolver. Based on version 0.11 of the spec. 103 const char **xdg_mime_get_mime_parents (const char *mime); 104 char ** xdg_mime_list_mime_parents (const char *mime); 105 const char *xdg_mime_unalias_mime_type (const char *mime); 106 const char *xdg_mime_get_icon (const char *mime); 107 const char *xdg_mime_get_generic_icon (const char *mime); 119 int _xdg_mime_mime_type_subclass (const char *mime, 121 const char *_xdg_mime_unalias_mime_type (const char *mime);
|
xdgmimeparent.c | 52 char *mime; member in struct:XdgMimeParents 90 free (list->parents[i].mime); 100 return strcmp (((XdgMimeParents *)v1)->mime, ((XdgMimeParents *)v2)->mime); 105 const char *mime) 112 key.mime = (char *)mime; 156 if (strcmp (list->parents[i].mime, line) == 0) 171 list->parents[list->n_mimes].mime = strdup (line); 214 printf ("%s %s\n", list->parents[i].mime, *p) [all...] |
xdgmimeicon.h | 47 const char *mime);
|
xdgmimeparent.h | 48 const char *mime);
|
xdgmime.c | 2 /* xdgmime.c: XDG Mime Spec mime resolver. Based on version 0.11 of the spec. 144 file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); 145 strcpy (file_name, directory); strcat (file_name, "/mime/mime.cache"); 164 file_name = malloc (strlen (directory) + strlen ("/mime/globs2") + 1); 165 strcpy (file_name, directory); strcat (file_name, "/mime/globs2"); 174 file_name = malloc (strlen (directory) + strlen ("/mime/globs") + 1); 175 strcpy (file_name, directory); strcat (file_name, "/mime/globs") [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageSourceCGMac.mm | 37 RetainPtr<CFStringRef> mime(AdoptCF, UTTypeCopyPreferredTagWithClass(utiref.get(), kUTTagClassMIMEType)); 38 return mime.get();
|
/external/webkit/Source/WebCore/plugins/symbian/ |
PluginPackageSymbian.cpp | 51 Vector<String> mime; local 52 types[i].split(UChar(';'), true, mime); // <MIME1>;<ext1,ext2,ext3,...>;<Description> 53 if (mime.size() > 0) { 55 if (mime.size() > 1) 56 mime[1].split(UChar(','), false, exts); // <ext1,ext2,ext3,...> 58 m_mimeToExtensions.add(mime[0], exts); // <MIME>,<ext1,ext2,ext3> 59 determineQuirks(mime[0]); 60 if (mime.size() > 2) 61 m_mimeToDescriptions.add(mime[0], mime[2]); // <MIME>,<Description [all...] |
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/x11/ |
NetscapePluginModuleX11.cpp | 86 MimeClassInfo& mime = plugin.info.mimes[i++]; local 87 mime.type = it->first; 88 mime.desc = it->second; 91 mime.extensions = extensionIt->second;
|
/external/webkit/Source/WebCore/plugins/chromium/ |
PluginDataChromium.cpp | 86 const MimeClassInfo& mime = plugins[i].mimes[j]; local 87 const Vector<String>& extensions = mime.extensions; 90 return mime.type;
|
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebResource.idl | 51 @param MIMEType The MIME type of the resource. 75 @result The MIME type of the resource. 78 HRESULT MIMEType([out, retval] BSTR* mime);
|
/frameworks/base/media/libmediaplayerservice/nuplayer/ |
NuPlayerDecoder.cpp | 50 const char *mime; local 51 CHECK(meta->findCString(kKeyMIMEType, &mime)); 66 bool needDedicatedLooper = !strncasecmp(mime, "video/", 6); 108 const char *mime; local 109 CHECK(meta->findCString(kKeyMIMEType, &mime)); 112 msg->setString("mime", mime); 114 if (!strncasecmp("video/", mime, 6)) { 122 CHECK(!strncasecmp("audio/", mime, 6));
|
/system/media/wilhelm/tests/listening/ |
seekTorture.c | 60 SLDataFormat_MIME mime; local 65 mime.formatType = SL_DATAFORMAT_MIME; 66 mime.mimeType = (SLchar *) NULL; 67 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 69 audiosrc.pFormat = &mime;
|
/external/webkit/Source/WebKit/win/ |
WebResource.cpp | 133 /* [retval][out] */ BSTR *mime) 135 if (!mime) { 140 *mime = BString(m_mimeType).release();
|
/frameworks/base/media/libstagefright/id3/ |
testid3.cpp | 100 String8 mime; local 101 const void *data = tag.getAlbumArt(&dataSize, &mime); 104 printf("found album art: size=%d mime='%s'\n", dataSize, 105 mime.string());
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
WebResponse.cpp | 133 // Try to guess a better MIME type from the URL. We call 143 WTF::String mime = WebCore::MIMETypeRegistry::getMIMETypeForExtension(path); local 144 if (!mime.isEmpty()) { 145 // Great, we found a MIME type. 146 mimeType = std::string(mime.utf8().data(), mime.length());
|
/frameworks/base/include/media/stagefright/ |
MediaExtractor.h | 32 const sp<DataSource> &source, const char *mime = NULL);
|