/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
D | DrmPassthruPlugIn.cpp | 76 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/av/include/drm/ |
D | DrmInfo.h | 58 explicit KeyIterator(const DrmInfo* drmInfo) in KeyIterator() argument 59 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} in KeyIterator() 82 explicit Iterator(const DrmInfo* drmInfo) in Iterator() argument 83 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} in Iterator()
|
D | DrmManagerClient.h | 253 DrmInfoStatus* processDrmInfo(const DrmInfo* drmInfo);
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 142 final DrmInfo drmInfo = (DrmInfo) msg.obj; in handleMessage() local 143 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo); in handleMessage() 146 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo); in handleMessage() 152 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType(); in handleMessage() 512 public int processDrmInfo(DrmInfo drmInfo) { in processDrmInfo() argument 513 if (null == drmInfo || !drmInfo.isValid()) { in processDrmInfo() 518 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo); in processDrmInfo() 554 DrmInfo drmInfo = acquireDrmInfo(drmInfoRequest); in acquireRights() local 555 if (null == drmInfo) { in acquireRights() 558 return processDrmInfo(drmInfo); in acquireRights() [all …]
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 235 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument 243 data.writeInt32(drmInfo->getInfoType()); in processDrmInfo() 244 const DrmBuffer dataBuffer = drmInfo->getData(); in processDrmInfo() 250 data.writeString8(drmInfo->getMimeType()); in processDrmInfo() 252 data.writeInt32(drmInfo->getCount()); in processDrmInfo() 253 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator(); in processDrmInfo() 258 const String8 value = drmInfo->get(key); in processDrmInfo() 317 DrmInfo* drmInfo = NULL; in acquireDrmInfo() local 328 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8()); in acquireDrmInfo() 334 drmInfo->put(key, (value == String8("NULL")) ? String8("") : value); in acquireDrmInfo() [all …]
|
D | DrmEngineBase.cpp | 55 DrmInfoStatus* DrmEngineBase::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument 56 return onProcessDrmInfo(uniqueId, drmInfo); in processDrmInfo()
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClientImpl.cpp | 128 int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument 130 if (NULL != drmInfo) { in processDrmInfo() 131 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo); in processDrmInfo() 138 DrmInfo* drmInfo = NULL; in acquireDrmInfo() local 140 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest); in acquireDrmInfo() 142 return drmInfo; in acquireDrmInfo()
|
D | DrmManagerClient.cpp | 54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { in processDrmInfo() argument 55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo); in processDrmInfo()
|
/frameworks/av/drm/common/include/ |
D | DrmEngineBase.h | 49 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 195 virtual DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
|
D | IDrmManagerService.h | 103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0; 193 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
|
D | IDrmEngine.h | 137 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 435 DrmInfo drmInfo(mInfoType, buffer, mMimeType); in android_drm_DrmManagerClient_processDrmInfo() local 464 drmInfo.put(keyString, valueString); in android_drm_DrmManagerClient_processDrmInfo() 468 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo); in android_drm_DrmManagerClient_processDrmInfo() 491 env->NewStringUTF((drmInfo.get(DrmInfoRequest::ACCOUNT_ID)).string()), in android_drm_DrmManagerClient_processDrmInfo() 492 env->NewStringUTF((drmInfo.get(DrmInfoRequest::SUBSCRIPTION_ID)).string())); in android_drm_DrmManagerClient_processDrmInfo()
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
D | DrmPassthruPlugIn.h | 43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 181 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument 183 return mDrmManager->processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
|
D | DrmManagerService.h | 85 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
|
D | DrmManager.h | 79 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
|
D | DrmManager.cpp | 192 DrmInfoStatus* DrmManager::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument 194 const String8 plugInId = getSupportedPlugInId(drmInfo->getMimeType()); in processDrmInfo() 197 return rDrmEngine.processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
|
/frameworks/av/drm/libdrmframework/include/ |
D | NoOpDrmManagerClientImpl.h | 37 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
|
D | DrmManagerClientImpl.h | 119 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 3356 DrmInfo drmInfo = null; in handleMessage() local 3361 drmInfo = mDrmInfo.makeCopy(); in handleMessage() 3369 onDrmInfoHandlerDelegate.notifyClient(drmInfo); in handleMessage() 3653 DrmInfo drmInfo = new DrmInfo(parcel); in postEventFromNative() local 3655 mp.mDrmInfo = drmInfo; in postEventFromNative() 4351 public void onDrmInfo(MediaPlayer mp, DrmInfo drmInfo); in onDrmInfo() argument 4491 void notifyClient(DrmInfo drmInfo) { in notifyClient() argument 4496 mOnDrmInfoListener.onDrmInfo(mMediaPlayer, drmInfo); in notifyClient() 4501 mOnDrmInfoListener.onDrmInfo(mMediaPlayer, drmInfo); in notifyClient() 4548 DrmInfo drmInfo = null; in getDrmInfo() local [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
D | FwdLockEngine.h | 119 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 258 DrmInfo* drmInfo = NULL; in onAcquireDrmInfo() local 263 return drmInfo; in onAcquireDrmInfo()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 2535 sp<ABuffer> drmInfo; in onSourceNotify() local 2536 CHECK(msg->findBuffer("drmInfo", &drmInfo)); in onSourceNotify() 2537 parcel.setData(drmInfo->data(), drmInfo->size()); in onSourceNotify() 2540 drmInfo.get(), parcel.dataSize()); in onSourceNotify()
|