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

12345

/frameworks/av/drm/libmediadrm/
H A DDescramblerImpl.cpp71 const String16& mime, bool *result) {
72 *result = mPlugin->requiresSecureDecoderComponent(String8(mime));
70 requiresSecureDecoderComponent( const String16& mime, bool *result) argument
/frameworks/av/media/ndk/
H A DNdkMediaCrypto.cpp73 bool AMediaCrypto_requiresSecureDecoderComponent(const char *mime) { argument
78 return crypto->requiresSecureDecoderComponent(mime);
/frameworks/av/services/mediaextractor/
H A DMediaExtractorService.cpp31 const sp<IDataSource> &remoteSource, const char *mime) {
32 ALOGV("@@@ MediaExtractorService::makeExtractor for %s", mime);
36 sp<IMediaExtractor> ret = MediaExtractor::CreateFromService(localSource, mime);
43 registerMediaExtractor(ret, localSource, mime);
30 makeExtractor( const sp<IDataSource> &remoteSource, const char *mime) argument
/frameworks/base/media/java/android/media/
H A DMediaCrypto.java70 * 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
H A DMediaDescrambler.java118 * to decode data of the given mime type.
120 * @param mime The mime type of the media data
124 public final boolean requiresSecureDecoderComponent(@NonNull String mime) { argument
128 return mIDescrambler.requiresSecureDecoderComponent(mime);
/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/include/media/stagefright/
H A DRemoteDataSource.h69 virtual sp<DecryptHandle> DrmInitialization(const char *mime) { argument
70 return mSource->DrmInitialization(mime);
/frameworks/av/media/libmedia/
H A DIMediaExtractorService.cpp43 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) { argument
47 if (mime != NULL) {
48 data.writeCString(mime);
95 const char *mime = data.readCString(); local
96 sp<IMediaExtractor> ex = makeExtractor(source, mime);
H A DIDataSource.cpp99 virtual sp<DecryptHandle> DrmInitialization(const char *mime) { argument
102 if (mime == NULL) {
106 data.writeCString(mime);
183 const char *mime = NULL; local
186 mime = data.readCString();
188 sp<DecryptHandle> handle = DrmInitialization(mime);
/frameworks/av/media/libstagefright/
H A DFileSource.cpp174 sp<DecryptHandle> FileSource::DrmInitialization(const char *mime) { argument
186 mFd, mOffset, mLength, mime);
234 bool FileSource::requiresDrm(int fd, int64_t offset, int64_t length, const char *mime) { argument
237 drmClient->openDecryptSession(fd, offset, length, mime);
H A DAMRWriter.cpp69 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)) {
H A DCallbackDataSource.cpp112 sp<DecryptHandle> CallbackDataSource::DrmInitialization(const char *mime) { argument
113 return mIDataSource->DrmInitialization(mime);
190 sp<DecryptHandle> TinyCacheSource::DrmInitialization(const char *mime) { argument
195 return mSource->DrmInitialization(mime);
/frameworks/av/media/libstagefright/foundation/include/
H A DRemoteDataSource.h69 virtual sp<DecryptHandle> DrmInitialization(const char *mime) { argument
70 return mSource->DrmInitialization(mime);
/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=%zu mime='%s'\n", dataSize,
105 mime.string());
/frameworks/av/media/libstagefright/include/
H A DRemoteDataSource.h69 virtual sp<DecryptHandle> DrmInitialization(const char *mime) { argument
70 return mSource->DrmInitialization(mime);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp40 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 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/wilhelm/tests/mimeUri/
H A DslesTest_playStates.cpp58 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 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 DslesTestPlayUri.cpp133 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;
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp157 sp<DecryptHandle> MediaHTTP::DrmInitialization(const char* mime) { argument
168 String8(mLastURI.c_str()), mime);
/frameworks/av/media/libstagefright/omx/
H A DOMXUtils.cpp111 const char *GetComponentRole(bool isEncoder, const char *mime) { argument
113 const char *mime; member in struct:android::MimeToRole
172 if (!strcasecmp(mime, kMimeToRole[i].mime)) {
/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.cpp82 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 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;

Completed in 331 milliseconds

12345