Searched refs:mimeType (Results 126 - 150 of 160) sorted by relevance

1234567

/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp2135 String8 mimeType; local
2143 success = SniffWVM(dataSource, &mimeType, &confidence, &dummy);
2148 mimeType.string(), MEDIA_MIMETYPE_CONTAINER_WVM)) {
2547 String8 mimeType(request.readString16());
2549 return mTextDriver->addOutOfBandTextSource(nTracks, uri, mimeType);
2560 String8 mimeType(request.readString16());
2563 nTracks, fd, offset, length, mimeType);
H A DMPEG4Extractor.cpp2307 const sp<DataSource> &source, String8 *mimeType, float *confidence) {
2321 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4;
2365 const sp<DataSource> &source, String8 *mimeType, float *confidence,
2459 *mimeType = MEDIA_MIMETYPE_CONTAINER_MPEG4;
2473 const sp<DataSource> &source, String8 *mimeType, float *confidence,
2475 if (BetterSniffMPEG4(source, mimeType, confidence, meta)) {
2479 if (LegacySniffMPEG4(source, mimeType, confidence)) {
2306 LegacySniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence) argument
2364 BetterSniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
2472 SniffMPEG4( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
H A DFLACExtractor.cpp793 const sp<DataSource> &source, String8 *mimeType, float *confidence,
807 *mimeType = MEDIA_MIMETYPE_AUDIO_FLAC;
792 SniffFLAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
H A DMP3Extractor.cpp648 const sp<DataSource> &source, String8 *mimeType,
662 *mimeType = MEDIA_MIMETYPE_AUDIO_MPEG;
647 SniffMP3( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
H A DAVIExtractor.cpp1286 const sp<DataSource> &source, String8 *mimeType, float *confidence,
1294 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_AVI);
1285 SniffAVI( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
H A DOggExtractor.cpp1014 const sp<DataSource> &source, String8 *mimeType, float *confidence,
1021 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_OGG);
1013 SniffOgg( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_api.c49 s->mimeType = data.mimeType;
739 if (TYPE_DRM_UNKNOWN == data.mimeType)
740 data.mimeType = getMimeType(buf, bufLen);
742 switch(data.mimeType) {
769 if (FALSE == drm_relParser(buf, bufLen, data.mimeType, &rights)) {
829 if (TYPE_DRM_UNKNOWN == data.mimeType)
830 data.mimeType = getMimeType(s->rawContent, s->rawContentLen);
832 switch(data.mimeType) {
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp1056 SL_LOGD("source MIME is %s", (char*)df_mime->mimeType);
1059 if (strcasecmp((char*)df_mime->mimeType, (const char *)XA_ANDROID_MIME_MP2TS)) {
1061 (char*)df_mime->mimeType, XA_ANDROID_MIME_MP2TS);
1067 if (strcasecmp((char*)df_mime->mimeType, (const char *)SL_ANDROID_MIME_AACADTS) &&
1068 strcasecmp((char*)df_mime->mimeType,
1071 (char*)df_mime->mimeType, df_mime->containerType,
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp697 const sp<DataSource> &source, String8 *mimeType, float *confidence,
710 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MPEG2PS);
696 SniffMPEG2PS( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardExporterTests.java1042 private String getAndroidPropValue(final String mimeType, String value, Integer type) { argument
1043 return getAndroidPropValue(mimeType, value, type, null);
1046 private String getAndroidPropValue(final String mimeType, String value, argument
1048 return (mimeType + ";" + value + ";"
/frameworks/wilhelm/tests/examples/
H A DslesTestEqFdPath.cpp139 mime.mimeType = (SLchar*)NULL;
H A DslesTestEqOutputPath.cpp146 mime.mimeType = (SLchar*)NULL;
H A DslesTestSendToPresetReverb.cpp195 mime.mimeType = (SLchar*)NULL;
H A DslesTestDecodeToBuffQueue.cpp337 decMime.mimeType = (SLchar*)NULL;
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp231 mime.mimeType = (SLchar*)NULL;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp185 mime.mimeType = (SLchar*)NULL;
H A DslesTestManyPlayers.cpp161 //mime = { /*formatType*/ SL_DATAFORMAT_MIME, /*mimeType*/ (SLchar*)NULL,
166 mime.mimeType = (SLchar*)NULL;
H A DslesTestSlowDownUri.cpp227 mime.mimeType = (SLchar*)NULL;
/frameworks/wilhelm/tests/sandbox/
H A Dmonkey.c104 format_mime.mimeType = NULL;
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp237 mime.mimeType = (SLchar *) "video/mp2ts";//(SLchar*)NULL;
/frameworks/base/core/java/android/content/
H A DContentResolver.java693 * @param mimeType The desired MIME type of the returned data. This can
707 String mimeType, Bundle opts) throws FileNotFoundException {
717 fd = unstableProvider.openTypedAssetFile(uri, mimeType, opts);
731 fd = stableProvider.openTypedAssetFile(uri, mimeType, opts);
706 openTypedAssetFileDescriptor(Uri uri, String mimeType, Bundle opts) argument
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java308 String mimeType = intent.resolveType(this);
309 if (mimeType != null) {
311 filter.addDataType(mimeType);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java1438 public AndroidCustomData(String mimeType, List<String> dataList) { argument
1439 mMimeType = mimeType;
1444 String mimeType;
1448 mimeType = null;
1451 mimeType = list.get(0);
1456 mimeType = list.get(0);
1460 return new AndroidCustomData(mimeType, dataList);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp940 const sp<DataSource> &source, String8 *mimeType, float *confidence,
949 mimeType->setTo(MEDIA_MIMETYPE_CONTAINER_MATROSKA);
939 SniffMatroska( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp255 const char *mimeType) {
268 if (!strcasecmp(trackMIME, mimeType)) {
253 MakeSource( const char *uri, const char *mimeType) argument

Completed in 1212 milliseconds

1234567