Searched defs:mime (Results 1 - 25 of 96) sorted by last modified time

1234

/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp244 const char *mime; local
245 CHECK(meta->findCString(kKeyMIMEType, &mime));
247 if (!strncasecmp("audio/", mime, 6)) {
248 if (isSupportedCodec(mime)) {
251 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) {
789 bool AudioSfDecoder::isSupportedCodec(const char* mime) { argument
792 if (!strcasecmp(mime, kPlaybackOnlyCodecs[i])) {
/frameworks/wilhelm/src/itf/
H A DIEngine.c70 const char* mime = (char*)ap->mDataSource.mFormat.mMIME.mimeType; local
71 if ((mime != NULL) && !(strcasecmp(mime, (const char *)SL_ANDROID_MIME_AACADTS) &&
72 strcasecmp(mime, ANDROID_MIME_AACADTS_ANDROID_FRAMEWORK))) {
/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 DslesTestEqFdPath.cpp70 SLDataFormat_MIME mime; local
136 mime.formatType = SL_DATAFORMAT_MIME;
137 /* this is how ignored mime information is specified, according to OpenSL ES spec
139 mime.mimeType = (SLchar*)NULL;
140 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
142 audioSource.pFormat = (void*)&mime;
H A DslesTestEqOutputPath.cpp70 SLDataFormat_MIME mime; local
143 mime.formatType = SL_DATAFORMAT_MIME;
144 /* this is how ignored mime information is specified, according to OpenSL ES spec
146 mime.mimeType = (SLchar*)NULL;
147 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
149 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 DslesTestSendToPresetReverb.cpp87 SLDataFormat_MIME mime; local
191 mime.formatType = SL_DATAFORMAT_MIME;
192 /* this is how ignored mime information is specified, according to OpenSL ES spec
194 mime.mimeType = (SLchar*)NULL;
195 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
197 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/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;
H A DslesTest_playMuteSolo.cpp174 SLDataFormat_MIME mime; local
228 mime.formatType = SL_DATAFORMAT_MIME;
229 /* this is how ignored mime information is specified, according to OpenSL ES spec
231 mime.mimeType = (SLchar*)NULL;
232 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
234 audioSource.pFormat = (void*)&mime;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp135 SLDataFormat_MIME mime; local
181 mime.formatType = SL_DATAFORMAT_MIME;
182 mime.mimeType = (SLchar*)NULL;
183 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
185 audioSource.pFormat = (void *)&mime;
H A DslesTestLoopUri.cpp130 SLDataFormat_MIME mime; local
168 mime.formatType = SL_DATAFORMAT_MIME;
169 mime.mimeType = (SLchar*)NULL;
170 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
172 audioSource.pFormat = (void *)&mime;
H A DslesTestManyPlayers.cpp48 SLDataFormat_MIME mime; variable
159 //mime = { /*formatType*/ SL_DATAFORMAT_MIME, /*mimeType*/ (SLchar*)NULL,
163 mime.formatType = SL_DATAFORMAT_MIME;
164 mime.mimeType = (SLchar*)NULL;
165 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
167 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;
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 DslesTestSlowDownUri.cpp186 SLDataFormat_MIME mime; local
223 mime.formatType = SL_DATAFORMAT_MIME;
224 mime.mimeType = (SLchar*)NULL;
225 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
227 audioSource.pFormat = (void *)&mime;
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;
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp107 SLDataFormat_MIME mime; local
148 mime.formatType = SL_DATAFORMAT_MIME;
149 mime.mimeType = (SLchar*)NULL;
150 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
152 audioSource.pFormat = (void *)&mime;
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp191 SLDataFormat_MIME mime; local
236 mime.formatType = SL_DATAFORMAT_MIME;
237 mime.mimeType = (SLchar *) "video/mp2ts";//(SLchar*)NULL;
238 mime.containerType = SL_CONTAINERTYPE_MPEG_TS;
240 audioSource.pFormat = (void *)&mime;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp98 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const {
103 return mCrypto->requiresSecureDecoderComponent(mime);
268 const char *mime = env->GetStringUTFChars(mimeObj, NULL); local
270 if (mime == NULL) {
274 bool result = crypto->requiresSecureDecoderComponent(mime);
276 env->ReleaseStringUTFChars(mimeObj, mime);
277 mime = NULL;
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp521 const char *mime; local
522 if (!AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime)) {
527 if (strncmp(mime, "audio/", 6) == 0) {
529 AMediaCodec *codec = AMediaCodec_createDecoderByType(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/base/media/java/android/media/
H A DMediaCodecInfo.java618 final String mime = (String)map.get(MediaFormat.KEY_MIME);
620 // mime must match if present
621 if (mime != null && !mMime.equalsIgnoreCase(mime)) {
773 * Returns the mime type for which this codec-capability object was created.
837 * Retrieve the codec capabilities for a certain {@code mime type}, {@code
845 String mime, int profile, int level) {
850 defaultFormat.setString(MediaFormat.KEY_MIME, mime);
1065 String mime = mParent.getMimeType();
1067 if (mime
844 createFromProfileLevel( String mime, int profile, int level) argument
[all...]

Completed in 663 milliseconds

1234