Home
last modified time | relevance | path

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

/frameworks/av/include/drm/
DDrmInfo.h58 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()
DDrmManagerClient.h253 DrmInfoStatus* processDrmInfo(const DrmInfo* drmInfo);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp79 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in onProcessDrmInfo() argument
82 if (NULL != drmInfo) { in onProcessDrmInfo()
83 switch (drmInfo->getInfoType()) { in onProcessDrmInfo()
87 DrmInfoRequest::TYPE_REGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
93 DrmInfoRequest::TYPE_UNREGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType()); in onProcessDrmInfo()
104 DrmInfoRequest::TYPE_RIGHTS_ACQUISITION_INFO, buffer, drmInfo->getMimeType()); in onProcessDrmInfo()
149 DrmInfo* drmInfo = NULL; in onAcquireDrmInfo() local
157 drmInfo = new DrmInfo(drmInfoRequest->getInfoType(), in onAcquireDrmInfo()
160 return drmInfo; in onAcquireDrmInfo()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java147 final DrmInfo drmInfo = (DrmInfo) msg.obj; in handleMessage() local
148 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo); in handleMessage()
151 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo); in handleMessage()
157 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType(); in handleMessage()
528 public int processDrmInfo(DrmInfo drmInfo) { in processDrmInfo() argument
529 if (null == drmInfo || !drmInfo.isValid()) { in processDrmInfo()
534 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo); in processDrmInfo()
570 DrmInfo drmInfo = acquireDrmInfo(drmInfoRequest); in acquireRights() local
571 if (null == drmInfo) { in acquireRights()
574 return processDrmInfo(drmInfo); in acquireRights()
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp235 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 …]
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.cpp114 int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
116 if (NULL != drmInfo) { in processDrmInfo()
117 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
124 DrmInfo* drmInfo = NULL; in acquireDrmInfo() local
126 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest); in acquireDrmInfo()
128 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/common/include/
DDrmEngineBase.h49 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
195 virtual DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
DIDrmManagerService.h103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
193 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
DIDrmEngine.h137 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
/frameworks/av/drm/libdrmframework/include/
DNoOpDrmManagerClientImpl.h37 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
DDrmManagerClientImpl.h119 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp435 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)).c_str()), in android_drm_DrmManagerClient_processDrmInfo()
492 env->NewStringUTF((drmInfo.get(DrmInfoRequest::SUBSCRIPTION_ID)).c_str())); in android_drm_DrmManagerClient_processDrmInfo()
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp182 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
184 return mDrmManager->processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
DDrmManagerService.h85 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
DDrmManager.h117 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
DDrmManager.cpp329 DrmInfoStatus* DrmManager::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { in processDrmInfo() argument
332 const String8 mimeType = drmInfo->getMimeType(); in processDrmInfo()
336 infoStatus = rDrmEngine.processDrmInfo(uniqueId, drmInfo); in processDrmInfo()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h119 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
/frameworks/base/media/java/android/media/
DMediaPlayer.java3526 DrmInfo drmInfo = null; in handleMessage() local
3531 drmInfo = mDrmInfo.makeCopy(); in handleMessage()
3539 onDrmInfoHandlerDelegate.notifyClient(drmInfo); in handleMessage()
3844 DrmInfo drmInfo = new DrmInfo(parcel); in postEventFromNative() local
3846 mp.mDrmInfo = drmInfo; in postEventFromNative()
4688 public void onDrmInfo(MediaPlayer mp, DrmInfo drmInfo); in onDrmInfo() argument
4828 void notifyClient(DrmInfo drmInfo) { in notifyClient() argument
4833 mOnDrmInfoListener.onDrmInfo(mMediaPlayer, drmInfo); in notifyClient()
4838 mOnDrmInfoListener.onDrmInfo(mMediaPlayer, drmInfo); in notifyClient()
4885 DrmInfo drmInfo = null; in getDrmInfo() local
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp260 DrmInfo* drmInfo = NULL; in onAcquireDrmInfo() local
265 return drmInfo; in onAcquireDrmInfo()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp2586 sp<ABuffer> drmInfo; in onSourceNotify() local
2587 CHECK(msg->findBuffer("drmInfo", &drmInfo)); in onSourceNotify()
2588 parcel.setData(drmInfo->data(), drmInfo->size()); in onSourceNotify()
2591 drmInfo.get(), parcel.dataSize()); in onSourceNotify()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...