Searched refs:drmSupportInfo (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/drm/common/ |
D | DrmSupportInfo.cpp | 26 DrmSupportInfo::DrmSupportInfo(const DrmSupportInfo& drmSupportInfo): in DrmSupportInfo() argument 27 mMimeTypeVector(drmSupportInfo.mMimeTypeVector), in DrmSupportInfo() 28 mFileSuffixVector(drmSupportInfo.mFileSuffixVector), in DrmSupportInfo() 29 mDescription(drmSupportInfo.mDescription) { in DrmSupportInfo() 33 bool DrmSupportInfo::operator<(const DrmSupportInfo& drmSupportInfo) const { in operator <() 36 return mDescription < drmSupportInfo.mDescription; in operator <() 39 bool DrmSupportInfo::operator==(const DrmSupportInfo& drmSupportInfo) const { in operator ==() 42 return (mDescription == drmSupportInfo.mDescription); in operator ==() 71 DrmSupportInfo& DrmSupportInfo::operator=(const DrmSupportInfo& drmSupportInfo) { in operator =() argument 72 mMimeTypeVector = drmSupportInfo.mMimeTypeVector; in operator =() [all …]
|
D | IDrmManagerService.cpp | 586 DrmSupportInfo drmSupportInfo; in getAllSupportInfo() local 590 drmSupportInfo.addFileSuffix(reply.readString8()); in getAllSupportInfo() 595 drmSupportInfo.addMimeType(reply.readString8()); in getAllSupportInfo() 598 drmSupportInfo.setDescription(reply.readString8()); in getAllSupportInfo() 599 (*drmSupportInfoArray)[index] = drmSupportInfo; in getAllSupportInfo() 1299 DrmSupportInfo drmSupportInfo = drmSupportInfoArray[i]; in onTransact() local 1301 reply->writeInt32(drmSupportInfo.getFileSuffixCount()); in onTransact() 1303 = drmSupportInfo.getFileSuffixIterator(); in onTransact() 1308 reply->writeInt32(drmSupportInfo.getMimeTypeCount()); in onTransact() 1309 DrmSupportInfo::MimeTypeIterator mimeTypeIt = drmSupportInfo.getMimeTypeIterator(); in onTransact() [all …]
|
/frameworks/av/include/drm/ |
D | DrmSupportInfo.h | 40 explicit MimeTypeIterator(DrmSupportInfo* drmSupportInfo) in MimeTypeIterator() argument 41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} in MimeTypeIterator() 63 explicit FileSuffixIterator(DrmSupportInfo* drmSupportInfo) in FileSuffixIterator() argument 64 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} in FileSuffixIterator() 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/libdrmframework/plugins/passthru/src/ |
D | DrmPassthruPlugIn.cpp | 128 DrmSupportInfo* drmSupportInfo = new DrmSupportInfo(); in onGetSupportInfo() local 130 drmSupportInfo->addMimeType(String8("application/vnd.passthru.drm")); in onGetSupportInfo() 132 drmSupportInfo->addFileSuffix(String8(".passthru")); in onGetSupportInfo() 134 drmSupportInfo->setDescription(String8("Passthru plug-in")); in onGetSupportInfo() 135 return drmSupportInfo; in onGetSupportInfo()
|
/frameworks/av/drm/drmserver/ |
D | DrmManager.cpp | 379 DrmSupportInfo* drmSupportInfo in getAllSupportInfo() local 381 if (NULL != drmSupportInfo) { in getAllSupportInfo() 382 drmSupportInfoList.add(*drmSupportInfo); in getAllSupportInfo() 383 delete drmSupportInfo; drmSupportInfo = NULL; in getAllSupportInfo() 564 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); in getSupportedPlugInId() local 566 if (drmSupportInfo.isSupportedMimeType(mimeType)) { in getSupportedPlugInId() 567 plugInId = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo); in getSupportedPlugInId() 580 const DrmSupportInfo& drmSupportInfo = mSupportInfoToPlugInIdMap.keyAt(index); in getSupportedPlugInIdFromPath() local 582 if (drmSupportInfo.isSupportedFileSuffix(fileSuffix)) { in getSupportedPlugInIdFromPath() 583 String8 key = mSupportInfoToPlugInIdMap.valueFor(drmSupportInfo); in getSupportedPlugInIdFromPath()
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 351 jobject drmSupportInfo = env->NewObject(clazz, env->GetMethodID(clazz, "<init>", "()V")); in android_drm_DrmManagerClient_getAllSupportInfo() local 359 drmSupportInfo, env->GetMethodID(clazz, "setDescription", "(Ljava/lang/String;)V"), in android_drm_DrmManagerClient_getAllSupportInfo() 365 env->CallVoidMethod(drmSupportInfo, addMimeTypeId, env->NewStringUTF(value.string())); in android_drm_DrmManagerClient_getAllSupportInfo() 372 drmSupportInfo, addFileSuffixId, env->NewStringUTF(value.string())); in android_drm_DrmManagerClient_getAllSupportInfo() 375 env->SetObjectArrayElement(array, i, drmSupportInfo); in android_drm_DrmManagerClient_getAllSupportInfo()
|