/external/chromium_org/third_party/WebKit/Source/core/plugins/ |
DOMPlugin.cpp | 64 const MimeClassInfo& mime = pluginInfo().mimes[index]; local 68 if (mimes[i] == mime && m_pluginData->mimePluginIndices()[i] == m_index)
|
/frameworks/av/drm/common/ |
DrmEngineBase.cpp | 124 int fd, off64_t offset, off64_t length, const char* mime) { 126 if (!mime || mime[0] == '\0') { 130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime); 135 const char* uri, const char* mime) { 136 if (!mime || mime[0] == '\0') { 139 return onOpenDecryptSession(uniqueId, decryptHandle, uri, mime);
|
/frameworks/av/media/libstagefright/ |
DRMExtractor.cpp | 81 const char *mime; local 82 bool success = getFormat()->findCString(kKeyMIMEType, &mime); 85 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 155 const char *mime; local 156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); 158 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC) && !mWantsNALFragments) { 231 DRMExtractor::DRMExtractor(const sp<DataSource> &source, const char* mime) 235 mOriginalExtractor = MediaExtractor::Create(source, mime);
|
/frameworks/av/media/libstagefright/include/ |
ThrottledSource.h | 57 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL) { 58 return mSource->DrmInitialization(mime);
|
DRMExtractor.h | 34 DRMExtractor(const sp<DataSource> &source, const char *mime);
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
MediaCodecBridge.java | 152 // Return the first (highest-priority) codec for each MIME type. 177 private static String getSecureDecoderNameForMime(String mime) { 187 if (supportedTypes[j].equalsIgnoreCase(mime)) { 204 private static MediaCodecBridge create(String mime, boolean isSecure, int direction) { 213 if (mime.startsWith("video") && isSecure && direction == MEDIA_CODEC_DECODER) { 214 mediaCodec = MediaCodec.createByCodecName(getSecureDecoderNameForMime(mime)); 217 mediaCodec = MediaCodec.createEncoderByType(mime); 219 mediaCodec = MediaCodec.createDecoderByType(mime); 223 Log.e(TAG, "Failed to create MediaCodec: " + mime + ", isSecure: " 453 private static MediaFormat createAudioFormat(String mime, int sampleRate, int channelCount) [all...] |
WebAudioMediaCodecBridge.java | 71 String mime = format.getString(MediaFormat.KEY_MIME); local 88 codec = MediaCodec.createDecoderByType(mime); 90 Log.w(LOG_TAG, "Failed to create MediaCodec for mime type: " + mime); 152 " Mime: " + mime +
|
/frameworks/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/chromium_org/media/base/android/ |
media_codec_bridge.cc | 79 static const std::string AndroidMimeTypeToCodecType(const std::string& mime) { 80 if (mime == "video/mp4v-es") 82 if (mime == "video/avc") 84 if (mime == "video/x-vnd.on2.vp8") 86 if (mime == "video/x-vnd.on2.vp9") 88 if (mime == "audio/mp4a-latm") 90 if (mime == "audio/mpeg") 92 if (mime == "audio/vorbis") 149 std::string mime = CodecTypeToAndroidMimeType(codec); local 150 if (mime.empty() 610 const std::string mime = AudioCodecToAndroidMimeType(codec); local 633 const std::string mime = VideoCodecToAndroidMimeType(codec); local 666 const std::string mime = VideoCodecToAndroidMimeType(codec); local [all...] |
/frameworks/base/media/jni/ |
android_media_MediaCrypto.cpp | 102 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { 107 return mCrypto->requiresSecureDecoderComponent(mime); 263 const char *mime = env->GetStringUTFChars(mimeObj, NULL); local 265 if (mime == NULL) { 269 bool result = crypto->requiresSecureDecoderComponent(mime); 271 env->ReleaseStringUTFChars(mimeObj, mime); 272 mime = NULL;
|
android_media_MediaCrypto.h | 38 bool requiresSecureDecoderComponent(const char *mime) const;
|
/external/chromium_org/third_party/WebKit/Source/platform/plugins/ |
PluginData.cpp | 132 const MimeClassInfo& mime = plugins[i].mimes[j]; local 133 const Vector<String>& extensions = mime.extensions; 136 return mime.type;
|
/frameworks/av/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());
|
/frameworks/av/include/media/ |
ICrypto.h | 42 const char *mime) const = 0;
|
/frameworks/av/include/media/stagefright/ |
FileSource.h | 41 virtual sp<DecryptHandle> DrmInitialization(const char *mime);
|
MediaExtractor.h | 32 const sp<DataSource> &source, const char *mime = NULL);
|
/frameworks/base/media/java/android/media/ |
MediaCrypto.java | 68 * to decode data of the given mime type. 69 * @param mime The mime type of the media data 71 public final native boolean requiresSecureDecoderComponent(String mime);
|
/frameworks/native/include/media/hardware/ |
CryptoAPI.h | 64 // media data of the given mime type. 65 virtual bool requiresSecureDecoderComponent(const char *mime) const = 0;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/mime/ |
audio.py | 5 """Class representing audio/* type MIME documents.""" 13 from email.mime.nonmultipart import MIMENonMultipart 24 # There are others in sndhdr that don't have MIME types. :( 45 """Class for generating audio/* MIME documents.""" 49 """Create an audio/* type MIME document. 72 raise TypeError('Could not find audio MIME subtype')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/mime/ |
audio.py | 5 """Class representing audio/* type MIME documents.""" 13 from email.mime.nonmultipart import MIMENonMultipart 24 # There are others in sndhdr that don't have MIME types. :( 45 """Class for generating audio/* MIME documents.""" 49 """Create an audio/* type MIME document. 72 raise TypeError('Could not find audio MIME subtype')
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
PlaylistItem.java | 41 public PlaylistItem(String qid, String iid, Uri uri, String mime, PendingIntent pi) { 45 mMime = mime;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parseDiff.pl | 77 svn:mime-type = application/octet-stream 81 Name: svn:mime-type 93 svn:mime-type = application/octet-stream 113 svn:mime-type = application/octet-stream 117 Name: svn:mime-type 130 svn:mime-type = application/octet-stream 502 svn:mime-type = application/octet-stream 506 Name: svn:mime-type 520 svn:mime-type = application/octet-stream 541 svn:mime-type = application/octet-strea [all...] |
parseSvnDiffHeader.pl | 204 svn:mime-type = application/octet-stream 208 Name: svn:mime-type 220 svn:mime-type = application/octet-stream 236 svn:mime-type = application/octet-stream 244 Added: svn:mime-type 257 svn:mime-type = application/octet-stream
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorSRC.cpp | 52 const char *mime; local 53 CHECK(format->findCString(kKeyMIMEType, &mime)); 54 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); 298 const char *mime; local 299 CHECK(format->findCString(kKeyMIMEType, &mime)); 300 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
|
/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 167 const char *mime; local 168 CHECK(meta->findCString(kKeyMIMEType, &mime)); 171 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) { 189 fprintf(stderr, "Failed to instantiate decoder for '%s'.\n", mime); 375 if (!strncasecmp("video/", mime, 6)) { 386 } else if (!strncasecmp("audio/", mime, 6)) { 426 const char *mime; local 427 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 429 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 431 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG4)) 1005 const char *mime; local 1021 const char *mime; local 1049 const char *mime; local [all...] |