Searched defs:mime (Results 1 - 25 of 83) sorted by relevance

1234

/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSource.cpp37 const char *mime; local
38 CHECK(mediaSource->getFormat()->findCString(kKeyMIMEType, &mime));
39 if (strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0) {
42 ALOGE("Unsupported mime type for subtitle. : %s", mime);
H A DTimedText3GPPSource.cpp71 const char *mime; local
72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
73 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0);
95 const char *mime; local
96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
97 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0);
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h84 int fd, off64_t offset, off64_t length, const char* mime);
88 const char* uri, const char* mime);
221 * Retrieves the mime type embedded inside the original content
227 * Returns mime-type of the original content, such as "video/mpeg"
395 * @param[in] mime Mime type of the protected content
396 * drm plugin may do some optimization since the mime type is known.
403 const char* mime) {
427 * @param[in] mime Mime type of the protected content. The corresponding
428 * drm plugin may do some optimization since the mime type is known.
434 const char* uri, const char* mime) {
400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
432 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMediaExtractor.cpp55 const sp<DataSource> &source, const char *mime) {
59 if (mime == NULL) {
67 mime = tmp.string();
69 mime, confidence);
76 if (!strncmp(mime, "drm+", 4)) {
77 const char *originalMime = strchr(mime+4, '+');
83 if (!strncmp(mime, "drm+es_based+", 13)) {
86 } else if (!strncmp(mime, "drm+container_based+", 20)) {
87 mime = originalMime;
95 if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MPEG
54 Create( const sp<DataSource> &source, const char *mime) argument
[all...]
H A DFileSource.cpp130 sp<DecryptHandle> FileSource::DrmInitialization(const char *mime) { argument
141 mFd, mOffset, mLength, mime);
H A DAMRWriter.cpp80 const char *mime; local
81 CHECK(meta->findCString(kKeyMIMEType, &mime));
84 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) {
86 } else if (strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)) {
/frameworks/base/media/java/android/media/
H A DMediaCrypto.java68 * 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); argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMimeTest.java35 * 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) { argument
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) throw argument
135 assertNoActivityHandles(String mime) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp44 AString mime; local
45 CHECK(format->findString("mime", &mime));
68 bool needDedicatedLooper = !strncasecmp(mime.c_str(), "video/", 6);
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp100 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/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp39 const char *mime; local
40 CHECK(meta->findCString(kKeyMIMEType, &mime));
42 mIsAudio = !strncasecmp(mime, "audio/", 6);
108 AString mime = tmp; local
110 ALOGI("MediaPuller(%s) stopping.", mime.c_str());
112 ALOGI("MediaPuller(%s) stopped.", mime.c_str());
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c60 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;
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp52 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/media/libmedia/
H A DICrypto.cpp85 const char *mime) const {
88 data.writeCString(mime);
218 const char *mime = data.readCString(); local
219 reply->writeInt32(requiresSecureDecoderComponent(mime));
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp35 const char *mime; local
36 CHECK(meta->findCString(kKeyMIMEType, &mime));
38 if (!strncasecmp("audio/", mime, 6)) {
41 CHECK(!strncasecmp("video/", mime, 6));
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp65 SLDataFormat_MIME mime; local
131 mime.formatType = SL_DATAFORMAT_MIME;
132 /* this is how ignored mime information is specified, according to OpenSL ES spec
134 mime.mimeType = (SLchar*)NULL;
135 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
137 audioSource.pFormat = (void*)&mime;
H A DslesTestPlayFdPath.cpp61 SLDataFormat_MIME mime; local
120 mime.formatType = SL_DATAFORMAT_MIME;
121 /* this is how ignored mime information is specified, according to OpenSL ES spec
123 mime.mimeType = (SLchar*)NULL;
124 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
126 audioSource.pFormat = (void*)&mime;
H A DslesTestVirtualizerPath.cpp66 SLDataFormat_MIME mime; local
132 mime.formatType = SL_DATAFORMAT_MIME;
133 /* this is how ignored mime information is specified, according to OpenSL ES spec
135 mime.mimeType = (SLchar*)NULL;
136 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
138 audioSource.pFormat = (void*)&mime;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayStreamType.cpp59 SLDataFormat_MIME mime; local
118 mime.formatType = SL_DATAFORMAT_MIME;
119 /* this is how ignored mime information is specified, according to OpenSL ES spec
121 mime.mimeType = (SLchar*)NULL;
122 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
124 audioSource.pFormat = (void*)&mime;
H A DslesTestPlayUri2.cpp74 SLDataFormat_MIME mime; local
127 mime.formatType = SL_DATAFORMAT_MIME;
128 /* this is how ignored mime information is specified, according to OpenSL ES spec
130 mime.mimeType = (SLchar*)NULL;
131 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
133 audioSource.pFormat = (void *)&mime;
H A DslesTest_playStates.cpp59 SLDataFormat_MIME mime; local
113 mime.formatType = SL_DATAFORMAT_MIME;
114 /* this is how ignored mime information is specified, according to OpenSL ES spec
116 mime.mimeType = (SLchar*)NULL;
117 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
119 audioSource.pFormat = (void*)&mime;
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp297 AString mime; local
298 CHECK(format->findString("mime", &mime));
300 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) {
302 } else if (!haveVideo && !strncasecmp(mime.c_str(), "video/", 6)) {
317 mCodecLooper, mime.c_str(), false /* encoder */);
576 AString mime; local
577 CHECK(format->findString("mime", &mime));
579 if (!strncasecmp(mime
[all...]
H A Dcodec.cpp91 AString mime; local
92 CHECK(format->findString("mime", &mime));
94 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6);
95 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
118 looper, mime.c_str(), false /* encoder */);
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp124 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);
122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
133 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp120 int fd, off64_t offset, off64_t length, const char* mime) {
123 mUniqueId, fd, offset, length, mime);
127 const char* uri, const char* mime) {
130 mUniqueId, uri, mime);
119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument
126 openDecryptSession( const char* uri, const char* mime) argument

Completed in 56 milliseconds

1234