/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 297 AString mime; local 298 CHECK(format->findString("mime", &mime)); 300 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 302 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) { 319 mCodecLooper, mime.c_str(), false /* encoder */); 578 AString mime; local 579 CHECK(format->findString("mime", &mime)); 581 if (!strncasecmp(mime.c_str(), "audio/", 6)) [all...] |
stream.cpp | 174 const char *mime; local 175 CHECK(meta->findCString(kKeyMIMEType, &mime)); 177 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 6)) {
|
codec.cpp | 92 AString mime; local 93 CHECK(format->findString("mime", &mime)); 95 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 96 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 119 looper, mime.c_str(), false /* encoder */);
|
record.cpp | 133 const char *mime; 134 if (!meta->findCString(kKeyMIMEType, &mime)) { 138 if (strncasecmp(mime, "video/", 6)) {
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManager.h | 113 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime); 115 DecryptHandle* openDecryptSession(int uniqueId, const char* uri, const char* mime);
|
DrmManagerClientImpl.h | 107 * True if DrmManager can handle given path or mime type. 147 * Retrieves the mime type embedded inside the original content 153 * Returns mime-type of the original content, such as "video/mpeg" 164 * @param[in] mimeType Mime type of the content or null. 248 * @param[in] mimeType Description/MIME type of the input data packet 304 * @param[in] mime The mime type of the protected content if it is not NULL or empty 309 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime); 316 * @param[in] mime The mime type of the protected content if it is not NULL or empt [all...] |
/frameworks/av/media/libstagefright/ |
FileSource.cpp | 130 sp<DecryptHandle> FileSource::DrmInitialization(const char *mime) { 141 mFd, mOffset, mLength, mime);
|
MPEG2TSWriter.cpp | 105 const char *mime; local 106 CHECK(meta->findCString(kKeyMIMEType, &mime)); 108 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 110 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 151 const char *mime; local 152 CHECK(meta->findCString(kKeyMIMEType, &mime)); 154 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 181 if (strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 543 const char *mime; local 544 CHECK(meta->findCString(kKeyMIMEType, &mime)); [all...] |
ACodec.cpp | 938 bool isEncoder, const char *mime) { 940 const char *mime; member in struct:android::MimeToRole 987 if (!strcasecmp(mime, kMimeToRole[i].mime)) { 1025 const char *mime, const sp<AMessage> &msg) { 1033 status_t err = setComponentRole(encoder /* isEncoder */, mime); 1041 if (encoder && strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_FLAC) 2500 AString mime; local 3599 AString mime; local 3788 AString mime; local [all...] |
AudioPlayer.cpp | 114 const char *mime; local 115 bool success = format->findCString(kKeyMIMEType, &mime); 117 CHECK(useOffload() || !strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); 136 if (mapMimeToAudioFormat(audioFormat, mime) != OK) { 137 ALOGE("Couldn't map mime type \"%s\" to a valid AudioSystem::audio_format", mime); 140 ALOGV("Mime type \"%s\" mapped to audio_format 0x%x", mime, audioFormat);
|
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 1387 const char *mime; local 1404 const char *mime; local 2214 const char *mime; local 2402 const char *mime; local 3579 const char *mime; local [all...] |
AACWriter.cpp | 97 const char *mime; local 98 CHECK(meta->findCString(kKeyMIMEType, &mime)); 100 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC));
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
Converter.cpp | 65 AString mime; local 66 CHECK(mOutputFormat->findString("mime", &mime)); 68 if (!strncasecmp("video/", mime.c_str(), 6)) { 71 mIsH264 = !strcasecmp(mime.c_str(), MEDIA_MIMETYPE_VIDEO_AVC); 72 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime.c_str())) { 168 CHECK(mOutputFormat->findString("mime", &outputMIME)); 447 AString mime; local 448 CHECK(mOutputFormat->findString("mime", &mime)); [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SessionManager.java | 102 public PlaylistItem add(Uri uri, String mime) { 103 return add(uri, mime, null); 106 public PlaylistItem add(Uri uri, String mime, PendingIntent receiver) { 116 Integer.toString(mSessionId), Integer.toString(mItemId), uri, mime, receiver);
|
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 198 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 201 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 208 int uniqueId, const char* uri, const char* mime) { 211 return mDrmManager->openDecryptSession(uniqueId, uri, mime);
|
/frameworks/av/include/media/stagefright/ |
DataSource.h | 86 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL) {
|
/frameworks/av/media/libstagefright/include/ |
ChromiumHTTPDataSource.h | 46 virtual sp<DecryptHandle> DrmInitialization(const char *mime);
|
NuCachedSource2.h | 43 virtual sp<DecryptHandle> DrmInitialization(const char* mime);
|
/frameworks/wilhelm/src/android/ |
android_AudioSfDecoder.h | 142 static bool isSupportedCodec(const char* mime);
|
/external/clang/tools/scan-view/ |
Reporter.py | 29 from email.mime.base import MIMEBase 30 from email.mime.multipart import MIMEMultipart 31 from email.mime.text import MIMEText
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 132 const char *mime; local 133 CHECK(meta->findCString(kKeyMIMEType, &mime)); 135 if (!strncasecmp("audio/", mime, 6)) {
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestSlowDownUri.cpp | 189 SLDataFormat_MIME mime; local 226 mime.formatType = SL_DATAFORMAT_MIME; 227 mime.mimeType = (SLchar*)NULL; 228 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 230 audioSource.pFormat = (void *)&mime;
|
/frameworks/av/media/libstagefright/omx/tests/ |
OMXHarness.cpp | 476 static const char *GetURLForMime(const char *mime) { 503 if (!strcasecmp(kMimeToURL[i].mMime, mime)) { 511 static sp<MediaSource> CreateSourceForMime(const char *mime) { 512 const char *url = GetURLForMime(mime); 531 if (!strcasecmp(mime, trackMime)) { 569 const char *mime = GetMimeFromComponentRole(componentRole); local 571 if (!mime) { 578 sp<MediaSource> source = CreateSourceForMime(mime); 583 mime, componentRole); 588 sp<MediaSource> seekSource = CreateSourceForMime(mime); [all...] |
/frameworks/av/media/libstagefright/id3/ |
ID3.cpp | 800 ID3::getAlbumArt(size_t *length, String8 *mime) const { 802 mime->setTo(""); 814 mime->setTo((const char *)&data[1]); 835 mime->setTo("image/png"); 837 mime->setTo("image/jpeg"); 839 mime->setTo("text/plain");
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 147 String mime = format.getString(MediaFormat.KEY_MIME); local 151 if (mime.startsWith("audio/") && useAudio) { 153 } else if (mime.startsWith("video/") && useVideo) {
|