Searched refs:drmSupportInfo (Results 1 - 6 of 6) sorted by last modified time
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 351 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);
|
/frameworks/av/drm/common/ |
H A D | DrmSupportInfo.cpp | 26 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 D | IDrmManagerService.cpp | 586 DrmSupportInfo drmSupportInfo; local 590 drmSupportInfo.addFileSuffix(reply.readString8()); 595 drmSupportInfo.addMimeType(reply.readString8()); 598 drmSupportInfo.setDescription(reply.readString8()); 599 (*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/drmserver/ |
H A D | DrmManager.cpp | 379 DrmSupportInfo* drmSupportInfo local 381 if (NULL != drmSupportInfo) { 382 drmSupportInfoList.add(*drmSupportInfo); 383 delete drmSupportInfo; drmSupportInfo = NULL; 564 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local 566 if (drmSupportInfo.isSupportedMimeType(mimeType)) { 567 plugInId = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo); 580 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); local 582 if (drmSupportInfo [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 128 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/include/drm/ |
H A D | DrmSupportInfo.h | 40 explicit MimeTypeIterator(DrmSupportInfo* drmSupportInfo) argument 41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} 63 explicit 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;
|
Completed in 48 milliseconds