Searched defs:drmInfoRequest (Results 1 - 11 of 11) 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.cpp1006 DrmInfoRequest* drmInfoRequest = new DrmInfoRequest(infoType, mimeType); local
1015 drmInfoRequest->put(key, String8(buffer));
1018 drmInfoRequest->put(key, (value == String8("NULL")) ? String8("") : value);
1022 DrmInfo* drmInfo = acquireDrmInfo(uniqueId, drmInfoRequest);
1046 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 DDrmManagerClientImpl.cpp135 int uniqueId, const DrmInfoRequest* drmInfoRequest) {
137 if (NULL != drmInfoRequest) {
138 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest);
134 acquireDrmInfo( int uniqueId, const DrmInfoRequest* drmInfoRequest) argument
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp116 DrmInfo* DrmManagerService::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
118 return mDrmManager->acquireDrmInfo(uniqueId, drmInfoRequest);
H A DDrmManager.cpp247 DrmInfo* DrmManager::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
249 const String8 plugInId = getSupportedPlugInId(drmInfoRequest->getMimeType());
252 return rDrmEngine.acquireDrmInfo(uniqueId, drmInfoRequest);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp143 DrmInfo* DrmPassthruPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { argument
147 if (NULL != drmInfoRequest) {
153 drmInfo = new DrmInfo(drmInfoRequest->getInfoType(),
154 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.java502 * @param drmInfoRequest The {@link DrmInfoRequest} that specifies the type of DRM
507 public DrmInfo acquireDrmInfo(DrmInfoRequest drmInfoRequest) { argument
508 if (null == drmInfoRequest || !drmInfoRequest.isValid()) {
509 throw new IllegalArgumentException("Given drmInfoRequest is invalid/null");
511 return _acquireDrmInfo(mUniqueId, drmInfoRequest);
525 * @param drmInfoRequest The {@link DrmInfoRequest} used to acquire the rights.
528 public int acquireRights(DrmInfoRequest drmInfoRequest) { argument
529 DrmInfo drmInfo = acquireDrmInfo(drmInfoRequest);
868 private native DrmInfo _acquireDrmInfo(int uniqueId, DrmInfoRequest drmInfoRequest); argument
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp507 JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) {
509 const String8 mMimeType = Utility::getStringValue(env, drmInfoRequest, "mMimeType");
510 int mInfoType = Utility::getIntValue(env, drmInfoRequest, "mInfoType");
516 = env->CallObjectMethod(drmInfoRequest,
529 (jstring) env->CallObjectMethod(drmInfoRequest, DrmInfoRequest_get, key.get()));
506 android_drm_DrmManagerClient_acquireDrmInfo( JNIEnv* env, jobject thiz, jint uniqueId, jobject drmInfoRequest) argument

Completed in 135 milliseconds