Home
last modified time | relevance | path

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

/frameworks/av/include/drm/
DDrmInfo.h58 KeyIterator(const DrmInfo* drmInfo) in KeyIterator() argument
59 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} in KeyIterator()
82 Iterator(const DrmInfo* drmInfo) in Iterator() argument
83 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} in Iterator()
DDrmManagerClient.h253 DrmInfoStatus* processDrmInfo(const DrmInfo* drmInfo);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp76 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in onProcessDrmInfo() argument
79 if (NULL != drmInfo) { in onProcessDrmInfo()
80 switch (drmInfo->getInfoType()) { in onProcessDrmInfo()
84 DrmInfoRequest::TYPE_REGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
90 DrmInfoRequest::TYPE_UNREGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
101 DrmInfoRequest::TYPE_RIGHTS_ACQUISITION_INFO, buffer, drmInfo->getMimeType()); in onProcessDrmInfo()
146 DrmInfo* drmInfo = NULL; in onAcquireDrmInfo() local
154 drmInfo = new DrmInfo(drmInfoRequest->getInfoType(), in onAcquireDrmInfo()
157 return drmInfo; in onAcquireDrmInfo()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java141 final DrmInfo drmInfo = (DrmInfo) msg.obj; in handleMessage() local
142 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo); in handleMessage()
145 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo); in handleMessage()
151 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType(); in handleMessage()
498 public int processDrmInfo(DrmInfo drmInfo) { in processDrmInfo() argument
499 if (null == drmInfo || !drmInfo.isValid()) { in processDrmInfo()
504 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo); in processDrmInfo()
540 DrmInfo drmInfo = acquireDrmInfo(drmInfoRequest); in acquireRights() local
541 if (null == drmInfo) { in acquireRights()
544 return processDrmInfo(drmInfo); in acquireRights()
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp246 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
254 data.writeInt32(drmInfo->getInfoType()); in processDrmInfo()
255 const DrmBuffer dataBuffer = drmInfo->getData(); in processDrmInfo()
261 data.writeString8(drmInfo->getMimeType()); in processDrmInfo()
263 data.writeInt32(drmInfo->getCount()); in processDrmInfo()
264 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator(); in processDrmInfo()
269 const String8 value = drmInfo->get(key); in processDrmInfo()
326 DrmInfo* drmInfo = NULL; in acquireDrmInfo() local
337 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8()); in acquireDrmInfo()
343 drmInfo->put(key, (value == String8("NULL")) ? String8("") : value); in acquireDrmInfo()
[all …]
DDrmEngineBase.cpp55 DrmInfoStatus* DrmEngineBase::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
56 return onProcessDrmInfo(uniqueId, drmInfo); in processDrmInfo()
/frameworks/av/drm/libdrmframework/
DDrmManagerClientImpl.cpp126 int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
128 if (NULL != drmInfo) { in processDrmInfo()
129 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
136 DrmInfo* drmInfo = NULL; in acquireDrmInfo() local
138 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest); in acquireDrmInfo()
140 return drmInfo; in acquireDrmInfo()
DDrmManagerClient.cpp54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { in processDrmInfo() argument
55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo); in processDrmInfo()
/frameworks/av/drm/libdrmframework/plugins/common/include/
DDrmEngineBase.h49 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
193 virtual DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
DIDrmEngine.h137 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp111 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
113 return mDrmManager->processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
DDrmManager.cpp212 DrmInfoStatus* DrmManager::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
214 const String8 plugInId = getSupportedPlugInId(drmInfo->getMimeType()); in processDrmInfo()
217 return rDrmEngine.processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
/frameworks/av/drm/libdrmframework/include/
DIDrmManagerService.h105 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
196 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
DDrmManagerService.h68 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
DDrmManagerClientImpl.h119 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
DDrmManager.h81 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp432 DrmInfo drmInfo(mInfoType, buffer, mMimeType); in android_drm_DrmManagerClient_processDrmInfo() local
461 drmInfo.put(keyString, valueString); in android_drm_DrmManagerClient_processDrmInfo()
465 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo); in android_drm_DrmManagerClient_processDrmInfo()
488 env->NewStringUTF((drmInfo.get(DrmInfoRequest::ACCOUNT_ID)).string()), in android_drm_DrmManagerClient_processDrmInfo()
489 env->NewStringUTF((drmInfo.get(DrmInfoRequest::SUBSCRIPTION_ID)).string())); in android_drm_DrmManagerClient_processDrmInfo()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp232 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in onProcessDrmInfo() argument
255 DrmInfo* drmInfo = NULL; in onAcquireDrmInfo() local
260 return drmInfo; in onAcquireDrmInfo()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h119 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);