Searched defs:drmSupportInfo (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/include/drm/
H A DDrmSupportInfo.h40 MimeTypeIterator(DrmSupportInfo* drmSupportInfo) argument
41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {}
63 FileSuffixIterator(DrmSupportInfo* drmSupportInfo) argument
64 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {}
88 DrmSupportInfo(const DrmSupportInfo& drmSupportInfo);
95 DrmSupportInfo& operator=(const DrmSupportInfo& drmSupportInfo);
96 bool operator<(const DrmSupportInfo& drmSupportInfo) const;
97 bool operator==(const DrmSupportInfo& drmSupportInfo) const;
/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp26 DrmSupportInfo::DrmSupportInfo(const DrmSupportInfo& drmSupportInfo): argument
27 mMimeTypeVector(drmSupportInfo.mMimeTypeVector),
28 mFileSuffixVector(drmSupportInfo.mFileSuffixVector),
29 mDescription(drmSupportInfo.mDescription) {
33 bool DrmSupportInfo::operator<(const DrmSupportInfo& drmSupportInfo) const {
36 return mDescription < drmSupportInfo.mDescription;
39 bool DrmSupportInfo::operator==(const DrmSupportInfo& drmSupportInfo) const {
42 return (mDescription == drmSupportInfo.mDescription);
71 DrmSupportInfo& DrmSupportInfo::operator=(const DrmSupportInfo& drmSupportInfo) { argument
72 mMimeTypeVector = drmSupportInfo
[all...]
H A DIDrmManagerService.cpp593 DrmSupportInfo drmSupportInfo; local
597 drmSupportInfo.addFileSuffix(reply.readString8());
602 drmSupportInfo.addMimeType(reply.readString8());
605 drmSupportInfo.setDescription(reply.readString8());
606 (*drmSupportInfoArray)[index] = drmSupportInfo;
1299 DrmSupportInfo drmSupportInfo = drmSupportInfoArray[i]; local
1301 reply->writeInt32(drmSupportInfo.getFileSuffixCount());
1303 = drmSupportInfo.getFileSuffixIterator();
1308 reply->writeInt32(drmSupportInfo.getMimeTypeCount());
1309 DrmSupportInfo::MimeTypeIterator mimeTypeIt = drmSupportInfo
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp127 DrmSupportInfo* drmSupportInfo = new DrmSupportInfo(); local
129 drmSupportInfo->addMimeType(String8("application/vnd.passthru.drm"));
131 drmSupportInfo->addFileSuffix(String8(".passthru"));
133 drmSupportInfo->setDescription(String8("Passthru plug-in"));
134 return drmSupportInfo;
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp409 DrmSupportInfo* drmSupportInfo local
411 if (NULL != drmSupportInfo) {
412 drmSupportInfoList.add(*drmSupportInfo);
413 delete drmSupportInfo; drmSupportInfo = NULL;
594 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local
596 if (drmSupportInfo.isSupportedMimeType(mimeType)) {
597 plugInId = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo);
610 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local
612 if (drmSupportInfo
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp349 jobject drmSupportInfo = env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V")); local
357 drmSupportInfo, env->GetMethodID(clazz, "setDescription", "(Ljava/lang/String;)V"),
363 env->CallVoidMethod(drmSupportInfo, addMimeTypeId, env->NewStringUTF(value.string()));
370 drmSupportInfo, addFileSuffixId, env->NewStringUTF(value.string()));
373 env->SetObjectArrayElement(array, i, drmSupportInfo);

Completed in 91 milliseconds