Home
last modified time | relevance | path

Searched refs:drmInfoRequest (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/include/drm/
DDrmInfoRequest.h72 KeyIterator(const DrmInfoRequest* drmInfoRequest) in KeyIterator() argument
73 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {} in KeyIterator()
96 Iterator(const DrmInfoRequest* drmInfoRequest) in Iterator() argument
97 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {} in Iterator()
DDrmManagerClient.h263 DrmInfo* acquireDrmInfo(const DrmInfoRequest* drmInfoRequest);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp144 DrmInfo* DrmPassthruPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { in onAcquireDrmInfo() argument
148 if (NULL != drmInfoRequest) { in onAcquireDrmInfo()
154 drmInfo = new DrmInfo(drmInfoRequest->getInfoType(), in onAcquireDrmInfo()
155 DrmBuffer(data, length), drmInfoRequest->getMimeType()); in onAcquireDrmInfo()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java518 public DrmInfo acquireDrmInfo(DrmInfoRequest drmInfoRequest) { in acquireDrmInfo() argument
519 if (null == drmInfoRequest || !drmInfoRequest.isValid()) { in acquireDrmInfo()
522 return _acquireDrmInfo(mUniqueId, drmInfoRequest); in acquireDrmInfo()
539 public int acquireRights(DrmInfoRequest drmInfoRequest) { in acquireRights() argument
540 DrmInfo drmInfo = acquireDrmInfo(drmInfoRequest); in acquireRights()
879 private native DrmInfo _acquireDrmInfo(int uniqueId, DrmInfoRequest drmInfoRequest); in _acquireDrmInfo() argument
/frameworks/av/drm/common/
DDrmEngineBase.cpp65 DrmInfo* DrmEngineBase::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { in acquireDrmInfo() argument
66 return onAcquireDrmInfo(uniqueId, drmInfoRequest); in acquireDrmInfo()
DIDrmManagerService.cpp985 DrmInfoRequest* drmInfoRequest = new DrmInfoRequest(infoType, mimeType); in onTransact() local
994 drmInfoRequest->put(key, String8(buffer)); in onTransact()
997 drmInfoRequest->put(key, (value == String8("NULL")) ? String8("") : value); in onTransact()
1001 DrmInfo* drmInfo = acquireDrmInfo(uniqueId, drmInfoRequest); in onTransact()
1025 delete drmInfoRequest; drmInfoRequest = NULL; in onTransact()
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp58 DrmInfo* DrmManagerClient::acquireDrmInfo(const DrmInfoRequest* drmInfoRequest) { in acquireDrmInfo() argument
59 return mDrmManagerClientImpl->acquireDrmInfo(mUniqueId, drmInfoRequest); in acquireDrmInfo()
DDrmManagerClientImpl.cpp137 int uniqueId, const DrmInfoRequest* drmInfoRequest) { in acquireDrmInfo() argument
139 if (NULL != drmInfoRequest) { in acquireDrmInfo()
140 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest); in acquireDrmInfo()
DNoOpDrmManagerClientImpl.cpp51 …nfo* NoOpDrmManagerClientImpl::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { in acquireDrmInfo() argument
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp122 DrmInfo* DrmManagerService::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { in acquireDrmInfo() argument
124 return mDrmManager->acquireDrmInfo(uniqueId, drmInfoRequest); in acquireDrmInfo()
DDrmManager.cpp222 DrmInfo* DrmManager::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { in acquireDrmInfo() argument
224 const String8 plugInId = getSupportedPlugInId(drmInfoRequest->getMimeType()); in acquireDrmInfo()
227 return rDrmEngine.acquireDrmInfo(uniqueId, drmInfoRequest); in acquireDrmInfo()
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h48 DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp509 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) { in android_drm_DrmManagerClient_acquireDrmInfo() argument
511 const String8 mMimeType = Utility::getStringValue(env, drmInfoRequest, "mMimeType"); in android_drm_DrmManagerClient_acquireDrmInfo()
512 int mInfoType = Utility::getIntValue(env, drmInfoRequest, "mInfoType"); in android_drm_DrmManagerClient_acquireDrmInfo()
518 = env->CallObjectMethod(drmInfoRequest, in android_drm_DrmManagerClient_acquireDrmInfo()
531 (jstring) env->CallObjectMethod(drmInfoRequest, DrmInfoRequest_get, key.get())); in android_drm_DrmManagerClient_acquireDrmInfo()
/frameworks/av/drm/libdrmframework/include/
DNoOpDrmManagerClientImpl.h38 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
DDrmManagerClientImpl.h130 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
DDrmManager.h81 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
/frameworks/av/drm/libdrmframework/plugins/common/include/
DIDrmEngine.h148 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) = 0;
DDrmEngineBase.h54 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h147 const DrmInfoRequest* drmInfoRequest);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp254 DrmInfo* FwdLockEngine::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { in onAcquireDrmInfo() argument