/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 296 AString mime; local 297 CHECK(format->findString("mime", &mime)); 299 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 301 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) { 318 mCodecLooper, mime.c_str(), false /* encoder */); 577 AString mime; local 578 CHECK(format->findString("mime", &mime)); 580 if (!strncasecmp(mime [all...] |
H A D | codec.cpp | 97 AString mime; local 98 CHECK(format->findString("mime", &mime)); 100 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 101 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 124 looper, mime.c_str(), false /* encoder */);
|
H A D | mediafilter.cpp | 336 AString mime; local 337 CHECK(format->findString("mime", &mime)); 338 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 356 looper, mime.c_str(), false /* encoder */);
|
H A D | muxer.cpp | 107 AString mime; local 108 CHECK(format->findString("mime", &mime)); 110 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 111 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
|
H A D | record.cpp | 135 const char *mime; 136 if (!meta->findCString(kKeyMIMEType, &mime)) { 140 if (strncasecmp(mime, "video/", 6)) { 212 // enc_meta->setString("mime", MEDIA_MIMETYPE_VIDEO_H263); 213 // enc_meta->setString("mime", MEDIA_MIMETYPE_VIDEO_MPEG4); 214 enc_meta->setString("mime", MEDIA_MIMETYPE_VIDEO_AVC); 314 encMeta->setString("mime",
|
H A D | sf2.cpp | 127 const char *mime; local 128 CHECK(meta->findCString(kKeyMIMEType, &mime)); 131 mime, 6)) { 134 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 291 const char *mime; local 292 CHECK(meta->findCString(kKeyMIMEType, &mime)); 295 msg->setString("mime", mime); 297 if (!strncasecmp("video/", mime, 6)) { 305 CHECK(!strncasecmp("audio/", mime, [all...] |
H A D | stagefright.cpp | 177 const char *mime; local 178 CHECK(meta->findCString(kKeyMIMEType, &mime)); 181 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) { 381 if (!strncasecmp("video/", mime, 6)) { 392 } else if (!strncasecmp("audio/", mime, 6)) { 432 const char *mime; local 433 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 435 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 437 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG4)) { 440 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_H26 1022 const char *mime; local 1041 const char *mime; local 1072 const char *mime; local [all...] |
H A D | stream.cpp | 177 const char *mime; local 178 CHECK(meta->findCString(kKeyMIMEType, &mime)); 180 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 6)) {
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 124 int fd, off64_t offset, off64_t length, const char* mime) { 126 if (!mime || mime[0] == '\0') { 130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime); 135 const char* uri, const char* mime) { 136 if (!mime || mime[0] == '\0') { 139 return onOpenDecryptSession(uniqueId, decryptHandle, uri, mime); 122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument 133 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
|
H A D | IDrmManagerService.cpp | 607 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 617 if (mime) { 618 mimeType = mime; 633 int uniqueId, const char* uri, const char* mime) { 635 ALOGV("Entering BpDrmManagerService::openDecryptSession: mime=%s", mime? mime: "NULL"); 642 if (mime) { 643 mimeType = mime; 1330 const String8 mime local 606 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 632 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument 1350 const String8 mime = data.readString8(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 405 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 418 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 434 int uniqueId, const char* uri, const char* mime) { 446 result = rDrmEngine.openDecryptSession(uniqueId, handle, uri, mime); 404 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 433 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
|
H A D | DrmManagerService.cpp | 266 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 269 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 276 int uniqueId, const char* uri, const char* mime) { 279 return mDrmManager->openDecryptSession(uniqueId, uri, mime); 265 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 275 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 120 int fd, off64_t offset, off64_t length, const char* mime) { 123 mUniqueId, fd, offset, length, mime); 127 const char* uri, const char* mime) { 130 mUniqueId, uri, mime); 119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument 126 openDecryptSession( const char* uri, const char* mime) argument
|
H A D | DrmManagerClientImpl.cpp | 261 off64_t length, const char* mime) { 264 uniqueId, fd, offset, length, mime); 268 int uniqueId, const char* uri, const char* mime) { 272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime); 259 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 267 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | 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);
|
H A D | 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" 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 empty 321 int uniqueId, const char* uri, const char* mime);
|
H A D | DrmManagerService.h | 119 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime); 122 int uniqueId, const char* uri, const char* mime);
|
H A D | IDrmManagerService.h | 143 off64_t length, const char* mime) = 0; 146 int uniqueId, const char* uri, const char* mime) = 0; 230 const char* mime); 233 int uniqueId, const char* uri, const char* mime);
|
H A D | NoOpDrmManagerClientImpl.h | 56 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime); 58 int uniqueId, const char* uri, const char* mime);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 84 int fd, off64_t offset, off64_t length, const char* mime); 88 const char* uri, const char* mime); 221 * Retrieves the mime type embedded inside the original content 227 * Returns mime-type of the original content, such as "video/mpeg" 395 * @param[in] mime Mime type of the protected content 396 * drm plugin may do some optimization since the mime type is known. 403 const char* /* mime */) { 427 * @param[in] mime Mime type of the protected content. The corresponding 428 * drm plugin may do some optimization since the mime type is known. 434 const char* /* uri */, const char* /* mime */) { [all...] |
H A D | IDrmEngine.h | 165 * Retrieves the mime type embedded inside the original content 171 * Returns mime-type of the original content, such as "video/mpeg" 324 * @param[in] mime Mime type of the protected content if it is 331 int fd, off64_t offset, off64_t length, const char* mime) = 0; 339 * @param[in] mime Mime type of the protected content if it is 346 const char* uri, const char* mime) = 0;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 150 * Retrieves the mime type embedded inside the original content. 156 * Returns mime-type of the original content, such as "video/mpeg" 507 static bool IsMimeTypeSupported(const String8& mime);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 190 bool FwdLockEngine::IsMimeTypeSupported(const String8& mime) { argument 191 String8 tmp(mime); 349 * 1. path and mime type both are not empty strings (meaning unavailable) else content is unknown
|
/frameworks/av/drm/libmediadrm/ |
H A D | Crypto.cpp | 222 bool Crypto::requiresSecureDecoderComponent(const char *mime) const { 233 return mPlugin->requiresSecureDecoderComponent(mime);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoPlugin.h | 40 virtual bool requiresSecureDecoderComponent(const char* mime) const { 41 UNUSED(mime);
|