Searched refs: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.cpp583 DrmSupportInfo drmSupportInfo; local
587 drmSupportInfo.addFileSuffix(reply.readString8());
592 drmSupportInfo.addMimeType(reply.readString8());
595 drmSupportInfo.setDescription(reply.readString8());
596 (*drmSupportInfoArray)[index] = drmSupportInfo;
1278 DrmSupportInfo drmSupportInfo = drmSupportInfoArray[i]; local
1280 reply->writeInt32(drmSupportInfo.getFileSuffixCount());
1282 = drmSupportInfo.getFileSuffixIterator();
1287 reply->writeInt32(drmSupportInfo.getMimeTypeCount());
1288 DrmSupportInfo::MimeTypeIterator mimeTypeIt = drmSupportInfo
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp128 DrmSupportInfo* drmSupportInfo = new DrmSupportInfo(); local
130 drmSupportInfo->addMimeType(String8("application/vnd.passthru.drm"));
132 drmSupportInfo->addFileSuffix(String8(".passthru"));
134 drmSupportInfo->setDescription(String8("Passthru plug-in"));
135 return drmSupportInfo;
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp384 DrmSupportInfo* drmSupportInfo local
386 if (NULL != drmSupportInfo) {
387 drmSupportInfoList.add(*drmSupportInfo);
388 delete drmSupportInfo; drmSupportInfo = NULL;
569 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local
571 if (drmSupportInfo.isSupportedMimeType(mimeType)) {
572 plugInId = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo);
585 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local
587 if (drmSupportInfo
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp351 jobject drmSupportInfo = env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V")); local
359 drmSupportInfo, env->GetMethodID(clazz, "setDescription", "(Ljava/lang/String;)V"),
365 env->CallVoidMethod(drmSupportInfo, addMimeTypeId, env->NewStringUTF(value.string()));
372 drmSupportInfo, addFileSuffixId, env->NewStringUTF(value.string()));
375 env->SetObjectArrayElement(array, i, drmSupportInfo);

Completed in 680 milliseconds