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

/frameworks/base/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/base/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.cpp582 DrmSupportInfo drmSupportInfo; local
586 drmSupportInfo.addFileSuffix(reply.readString8());
591 drmSupportInfo.addMimeType(reply.readString8());
594 drmSupportInfo.setDescription(reply.readString8());
595 (*drmSupportInfoArray)[index] = drmSupportInfo;
1237 DrmSupportInfo drmSupportInfo = drmSupportInfoArray[i]; local
1239 reply->writeInt32(drmSupportInfo.getFileSuffixCount());
1241 = drmSupportInfo.getFileSuffixIterator();
1246 reply->writeInt32(drmSupportInfo.getMimeTypeCount());
1247 DrmSupportInfo::MimeTypeIterator mimeTypeIt = drmSupportInfo
[all...]
/frameworks/base/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/base/drm/drmserver/
H A DDrmManager.cpp409 DrmSupportInfo* drmSupportInfo local
411 if (NULL != drmSupportInfo) {
412 drmSupportInfoList.add(*drmSupportInfo);
413 delete drmSupportInfo; drmSupportInfo = NULL;
561 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local
563 if (drmSupportInfo.isSupportedMimeType(mimeType)) {
564 plugInId = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo);
577 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local
579 if (drmSupportInfo
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp357 jobject drmSupportInfo = env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V")); local
365 drmSupportInfo, env->GetMethodID(clazz, "setDescription", "(Ljava/lang/String;)V"),
371 env->CallVoidMethod(drmSupportInfo, addMimeTypeId, env->NewStringUTF(value.string()));
378 drmSupportInfo, addFileSuffixId, env->NewStringUTF(value.string()));
381 env->SetObjectArrayElement(array, i, drmSupportInfo);

Completed in 284 milliseconds