/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageAttachmentBar.java | 124 " contentUri=%s MIME=%s flags=%d", attachment.getName(), attachment.state, 224 final String mime = Utils.normalizeMimeType(mAttachment.getContentType()); local 282 .sendEvent("view_attachment", mime, action, mAttachment.size);
|
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 188 String mime = format.getString(MediaFormat.KEY_MIME); local 189 assertTrue("not an audio file", mime.startsWith("audio/")); 191 codec = MediaCodec.createDecoderByType(mime); 500 private MediaCodec createDecoder(String mime) { 503 if (mime.contains("avc")) { 505 } else if (mime.contains("3gpp")) { 507 } else if (mime.contains("mp4v")) { 509 } else if (mime.contains("vp8")) { 511 } else if (mime.contains("vp9")) { 515 return MediaCodec.createDecoderByType(mime); 534 String mime = format.getString(MediaFormat.KEY_MIME); local 732 String mime = format.getString(MediaFormat.KEY_MIME); local 1016 String mime = format.getString(MediaFormat.KEY_MIME); local [all...] |
/external/chromium_org/third_party/libxml/src/ |
nanohttp.c | 155 char *contentType; /* the MIME type for the input */ 159 char *mimeType; /* Mime-Type extracted from the contentType */ 687 * - The Content-Type, Mime-Type and charset used 732 const xmlChar *charset, *last, *mime; local 738 mime = (const xmlChar *) cur; 739 last = mime; 745 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime); 758 const xmlChar *charset, *last, *mime; local 763 mime = (const xmlChar *) cur [all...] |
xmlIO.c | 3687 const char *mime; local [all...] |
/external/libxml2/ |
nanohttp.c | 153 char *contentType; /* the MIME type for the input */ 157 char *mimeType; /* Mime-Type extracted from the contentType */ 685 * - The Content-Type, Mime-Type and charset used 730 const xmlChar *charset, *last, *mime; local 736 mime = (const xmlChar *) cur; 737 last = mime; 743 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime); 756 const xmlChar *charset, *last, *mime; local 761 mime = (const xmlChar *) cur [all...] |
xmlIO.c | 3813 const char *mime; local [all...] |
/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 167 const char *mime; local 168 CHECK(meta->findCString(kKeyMIMEType, &mime)); 171 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) { 189 fprintf(stderr, "Failed to instantiate decoder for '%s'.\n", mime); 375 if (!strncasecmp("video/", mime, 6)) { 386 } else if (!strncasecmp("audio/", mime, 6)) { 426 const char *mime; local 427 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 429 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 431 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG4)) 1005 const char *mime; local 1021 const char *mime; local 1049 const char *mime; local [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.cpp | 190 const char *mime; local 191 CHECK(meta->findCString(kKeyMIMEType, &mime)); 193 if (!haveVideo && !strncasecmp(mime, "video/", 6)) { 196 } else if (!haveAudio && !strncasecmp(mime, "audio/", 6)) { 200 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 703 const char *mime; local 704 CHECK(meta->findCString(kKeyMIMEType, &mime)); 706 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)) { 731 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_QCELP)) { [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditor3gpReader.cpp | 1445 const char *mime; local [all...] |
VideoEditorVideoEncoder.cpp | 561 const char* mime = NULL; local 620 mime = MEDIA_MIMETYPE_VIDEO_H263; 623 mime = MEDIA_MIMETYPE_VIDEO_MPEG4; 626 mime = MEDIA_MIMETYPE_VIDEO_AVC; 635 ALOGV("Encoder mime %s profile %d, level %d", 636 mime,iProfile, iLevel); 645 encoderMetadata->setCString(kKeyMIMEType, mime); [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayer.cpp | 899 AString mime; local 900 CHECK(format->findString("mime", &mime)); 901 mVideoIsAVC = !strcasecmp(MEDIA_MIMETYPE_VIDEO_AVC, mime.c_str()); [all...] |
/frameworks/av/media/libstagefright/ |
AVIExtractor.cpp | 112 const char *mime; local 113 CHECK(mTrack.mMeta->findCString(kKeyMIMEType, &mime)); 115 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_MPEG)) { 618 const char *mime = NULL; local 622 mime = GetMIMETypeForHandler(handler); 624 if (mime && strncasecmp(mime, "video/", 6)) { 628 if (mime == NULL) { 638 if (mime && strncasecmp(mime, "audio/", 6)) 920 AString mime = tmp; local [all...] |
AwesomePlayer.cpp | 386 const char *mime; local 387 CHECK(meta->findCString(kKeyMIMEType, &mime)); 388 ALOGV("track of type '%s' does not publish bitrate", mime); 417 String8 mime = String8(_mime); local 419 if (!haveVideo && !strncasecmp(mime.string(), "video/", 6)) { 440 stat->mMIME = mime.string(); 442 } else if (!haveAudio && !strncasecmp(mime.string(), "audio/", 6)) { 453 stat->mMIME = mime.string(); 456 if (!strcasecmp(mime.string(), MEDIA_MIMETYPE_AUDIO_VORBIS)) { 468 } else if (!strcasecmp(mime.string(), MEDIA_MIMETYPE_TEXT_3GPP)) 1492 const char *mime; local 2508 String8 mime = String8(_mime); local 2623 const char *mime; local [all...] |
ACodec.cpp | 926 bool isEncoder, const char *mime) { 928 const char *mime; member in struct:android::MimeToRole 975 if (!strcasecmp(mime, kMimeToRole[i].mime)) { 1013 const char *mime, const sp<AMessage> &msg) { 1021 status_t err = setComponentRole(encoder /* isEncoder */, mime); 1029 if (encoder && strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_FLAC) 2472 AString mime; local 3566 AString mime; local 3755 AString mime; local [all...] |
MPEG4Extractor.cpp | 434 const char *mime; local 435 CHECK(track->meta->findCString(kKeyMIMEType, &mime)); 436 if (!strncasecmp("video/", mime, 6)) { 1196 const char *mime; local 1391 const char *mime; local 2200 const char *mime; local 2388 const char *mime; local 3565 const char *mime; local [all...] |
MPEG4Writer.cpp | 442 const char *mime; local 443 source->getFormat()->findCString(kKeyMIMEType, &mime); 444 bool isAudio = !strncasecmp(mime, "audio/", 6); 445 bool isVideo = !strncasecmp(mime, "video/", 6); 448 mime); 1360 const char *mime; local 1455 const char *mime; local 2566 const char *mime; local 2633 const char *mime; local 2687 const char *mime; local [all...] |
OMXCodec.cpp | 183 const char *mime, 197 list->findCodecByType(mime, createEncoder, index); 291 const char *mime; local 292 bool success = meta->findCString(kKeyMIMEType, &mime); 297 mime, createEncoder, matchComponentName, flags, &matchingCodecs); 300 ALOGV("No matching codecs! (mime: %s, createEncoder: %s, " 302 mime, createEncoder ? "true" : "false", matchComponentName, flags); 356 createEncoder, mime, componentName, 786 const char *mime, const sp<MetaData>& meta) { 799 if (!strcasecmp(MEDIA_MIMETYPE_VIDEO_AVC, mime)) { 1363 const char *mime; member in struct:android::MimeToRole [all...] |
/frameworks/av/media/libstagefright/matroska/ |
MatroskaExtractor.cpp | 169 const char *mime; local 170 CHECK(meta->findCString(kKeyMIMEType, &mime)); 172 mIsAudio = !strncasecmp("audio/", mime, 6); 174 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 187 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 937 const char *mime; local 938 CHECK(info->mMeta->findCString(kKeyMIMEType, &mime)); 940 if (strncasecmp(mime, "video/", 6)) {
|
/frameworks/base/drm/java/android/drm/ |
DrmManagerClient.java | 463 * Checks whether the given MIME type or path can be handled. 466 * @param mimeType MIME type of the object to be handled. 468 * @return True if the given MIME type or path can be handled; false if they cannot be handled. 478 * Checks whether the given MIME type or URI can be handled. 481 * @param mimeType MIME type of the object to be handled 483 * @return True if the given MIME type or URI can be handled; false if they cannot be handled. 549 * object, and so on) using the specified path or MIME type. At least one parameter must 553 * @param mimeType MIME type of the content or null. 566 * object, and so on) using the specified URI or MIME type. At least one parameter must 570 * @param mimeType MIME type of the content or null 600 String mime = null; local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 819 const char *mime; local 823 mime = MEDIA_MIMETYPE_AUDIO_AMR_NB; 826 mime = MEDIA_MIMETYPE_AUDIO_AMR_WB; 829 mime = MEDIA_MIMETYPE_AUDIO_AAC; 833 mime = MEDIA_MIMETYPE_AUDIO_AAC; 837 mime = MEDIA_MIMETYPE_AUDIO_AAC; 845 encMeta->setCString(kKeyMIMEType, mime); [all...] |
/packages/apps/Music/src/com/android/music/ |
MediaPlaybackActivity.java | 266 String mime = null; local 320 mime = MediaStore.Audio.Artists.ENTRY_CONTENT_TYPE; 328 mime = MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE; 342 mime = "audio/*"; // the specific type doesn't matter, so don't bother retrieving it 359 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, mime); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 2089 String mime = null; local [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
VideoModule.java | 1065 String mime = convertOutputFormatToMimeType(outputFileFormat); local [all...] |
/packages/apps/Camera/src/com/android/camera/ |
VideoModule.java | 1400 String mime = convertOutputFormatToMimeType(outputFileFormat); local [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
VideoCamera.java | 1396 String mime = convertOutputFormatToMimeType(outputFileFormat); local [all...] |