/frameworks/av/media/libmedia/ |
H A D | IMediaExtractorService.cpp | 41 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) { argument 45 if (mime != NULL) { 46 data.writeCString(mime); 75 const char *mime = data.readCString(); local 76 sp<IMediaExtractor> ex = makeExtractor(source, mime);
|
H A D | IDataSource.cpp | 90 virtual sp<DecryptHandle> DrmInitialization(const char *mime) { argument 93 if (mime == NULL) { 97 data.writeCString(mime); 174 const char *mime = NULL; local 177 mime = data.readCString(); 179 sp<DecryptHandle> handle = DrmInitialization(mime);
|
/frameworks/av/services/mediaextractor/ |
H A D | MediaExtractorService.cpp | 30 const sp<IDataSource> &remoteSource, const char *mime) { 31 ALOGV("@@@ MediaExtractorService::makeExtractor for %s", mime); 35 sp<IMediaExtractor> ret = MediaExtractor::CreateFromService(localSource, mime); 42 registerMediaExtractor(ret, localSource, mime); 29 makeExtractor( const sp<IDataSource> &remoteSource, const char *mime) argument
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 73 bool AMediaCrypto_requiresSecureDecoderComponent(const char *mime) { argument 78 return crypto->requiresSecureDecoderComponent(mime);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCrypto.java | 70 * to decode data of the given mime type. 71 * @param mime The mime type of the media data 73 public final native boolean requiresSecureDecoderComponent(@NonNull String mime); argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | 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) { 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/libstagefright/ |
H A D | CallbackDataSource.cpp | 112 sp<DecryptHandle> CallbackDataSource::DrmInitialization(const char *mime) { argument 113 return mIDataSource->DrmInitialization(mime); 186 sp<DecryptHandle> TinyCacheSource::DrmInitialization(const char *mime) { argument 191 return mSource->DrmInitialization(mime);
|
H A D | FileSource.cpp | 173 sp<DecryptHandle> FileSource::DrmInitialization(const char *mime) { argument 184 mFd, mOffset, mLength, mime);
|
H A D | AMRWriter.cpp | 69 const char *mime; local 70 CHECK(meta->findCString(kKeyMIMEType, &mime)); 73 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) { 75 } else if (strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)) {
|
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 100 String8 mime; local 101 const void *data = tag.getAlbumArt(&dataSize, &mime); 104 printf("found album art: size=%zu mime='%s'\n", dataSize, 105 mime.string());
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | MediaPuller.cpp | 40 const char *mime; local 41 CHECK(meta->findCString(kKeyMIMEType, &mime)); 43 mIsAudio = !strncasecmp(mime, "audio/", 6); 119 AString mime = tmp; local 121 ALOGI("MediaPuller(%s) stopping.", mime.c_str()); 123 ALOGI("MediaPuller(%s) stopped.", mime.c_str());
|
/frameworks/wilhelm/tests/listening/ |
H A D | 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;
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTest_playStates.cpp | 58 SLDataFormat_MIME mime; local 112 mime.formatType = SL_DATAFORMAT_MIME; 113 /* this is how ignored mime information is specified, according to OpenSL ES spec 115 mime.mimeType = (SLchar*)NULL; 116 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 118 audioSource.pFormat = (void*)&mime;
|
H A D | slesTestPlayStreamType.cpp | 59 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 D | slesTestPlayUri.cpp | 133 SLDataFormat_MIME mime; local 174 mime.formatType = SL_DATAFORMAT_MIME; 175 mime.mimeType = (SLchar*)NULL; 176 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 178 audioSource.pFormat = (void *)&mime;
|
H A D | slesTestPlayUri2.cpp | 74 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;
|
/frameworks/av/include/media/stagefright/ |
H A D | CodecBase.h | 76 const AString &name, const AString &mime, bool isEncoder, 75 queryCapabilities( const AString &name, const AString &mime, bool isEncoder, sp<MediaCodecInfo::Capabilities> *caps ) argument
|
/frameworks/av/media/libstagefright/http/ |
H A D | MediaHTTP.cpp | 153 sp<DecryptHandle> MediaHTTP::DrmInitialization(const char* mime) { argument 164 String8(mLastURI.c_str()), mime);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 65 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 D | slesTestPlayFdPath.cpp | 82 SLDataFormat_MIME mime; local 141 mime.formatType = SL_DATAFORMAT_MIME; 142 /* this is how ignored mime information is specified, according to OpenSL ES spec 144 mime.mimeType = (SLchar*)NULL; 145 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 147 audioSource.pFormat = (void*)&mime;
|
H A D | slesTestVirtualizerPath.cpp | 66 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/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 296 AString mime; local 297 CHECK(format->findString("mime", &mime)); 299 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 301 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) { 318 mCodecLooper, mime.c_str(), false /* encoder */); 577 AString mime; local 578 CHECK(format->findString("mime", &mime)); 580 if (!strncasecmp(mime [all...] |
H A D | codec.cpp | 97 AString mime; local 98 CHECK(format->findString("mime", &mime)); 100 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 101 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 124 looper, mime.c_str(), false /* encoder */);
|
H A D | muxer.cpp | 107 AString mime; local 108 CHECK(format->findString("mime", &mime)); 110 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 111 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
|
/frameworks/av/drm/common/ |
H A D | 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); 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
|