Searched defs:drmInfoRequest (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/include/drm/
H A DDrmInfoRequest.h72 KeyIterator(const DrmInfoRequest* drmInfoRequest) argument
73 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {}
96 Iterator(const DrmInfoRequest* drmInfoRequest) argument
97 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {}
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp65 DrmInfo* DrmEngineBase::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
66 return onAcquireDrmInfo(uniqueId, drmInfoRequest);
H A DIDrmManagerService.cpp985 DrmInfoRequest* drmInfoRequest = new DrmInfoRequest(infoType, mimeType); local
994 drmInfoRequest->put(key, String8(buffer));
997 drmInfoRequest->put(key, (value == String8("NULL")) ? String8("") : value);
1001 DrmInfo* drmInfo = acquireDrmInfo(uniqueId, drmInfoRequest);
1025 delete drmInfoRequest; drmInfoRequest = NULL;
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp58 DrmInfo* DrmManagerClient::acquireDrmInfo(const DrmInfoRequest* drmInfoRequest) { argument
59 return mDrmManagerClientImpl->acquireDrmInfo(mUniqueId, drmInfoRequest);
H A DNoOpDrmManagerClientImpl.cpp51 DrmInfo* NoOpDrmManagerClientImpl::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
H A DDrmManagerClientImpl.cpp137 int uniqueId, const DrmInfoRequest* drmInfoRequest) {
139 if (NULL != drmInfoRequest) {
140 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest);
136 acquireDrmInfo( int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp122 DrmInfo* DrmManagerService::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
124 return mDrmManager->acquireDrmInfo(uniqueId, drmInfoRequest);
H A DDrmManager.cpp222 DrmInfo* DrmManager::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
224 const String8 plugInId = getSupportedPlugInId(drmInfoRequest->getMimeType());
227 return rDrmEngine.acquireDrmInfo(uniqueId, drmInfoRequest);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp144 DrmInfo* DrmPassthruPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
148 if (NULL != drmInfoRequest) {
154 drmInfo = new DrmInfo(drmInfoRequest->getInfoType(),
155 DrmBuffer(data, length), drmInfoRequest->getMimeType());
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp254 DrmInfo* FwdLockEngine::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java513 * @param drmInfoRequest The {@link DrmInfoRequest} that specifies the type of DRM
518 public DrmInfo acquireDrmInfo(DrmInfoRequest drmInfoRequest) { argument
519 if (null == drmInfoRequest || !drmInfoRequest.isValid()) {
520 throw new IllegalArgumentException("Given drmInfoRequest is invalid/null");
522 return _acquireDrmInfo(mUniqueId, drmInfoRequest);
536 * @param drmInfoRequest The {@link DrmInfoRequest} used to acquire the rights.
539 public int acquireRights(DrmInfoRequest drmInfoRequest) { argument
540 DrmInfo drmInfo = acquireDrmInfo(drmInfoRequest);
879 private native DrmInfo _acquireDrmInfo(int uniqueId, DrmInfoRequest drmInfoRequest); argument
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp509 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) {
511 const String8 mMimeType = Utility::getStringValue(env, drmInfoRequest, "mMimeType");
512 int mInfoType = Utility::getIntValue(env, drmInfoRequest, "mInfoType");
518 = env->CallObjectMethod(drmInfoRequest,
531 (jstring) env->CallObjectMethod(drmInfoRequest, DrmInfoRequest_get, key.get()));
508 android_drm_DrmManagerClient_acquireDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) argument

Completed in 73 milliseconds