Searched refs:drmInfo (Results 1 - 22 of 22) sorted by relevance

/frameworks/av/include/drm/
H A DDrmInfo.h58 KeyIterator(const DrmInfo* drmInfo) argument
59 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {}
82 Iterator(const DrmInfo* drmInfo) argument
83 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {}
H A DDrmManagerClient.h249 * @param[in] drmInfo Information needs to be processed
253 DrmInfoStatus* processDrmInfo(const DrmInfo* drmInfo);
259 * @param[in] drmInfoRequest Request information to retrieve drmInfo
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp76 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
79 if (NULL != drmInfo) {
80 switch (drmInfo->getInfoType()) {
84 DrmInfoRequest::TYPE_REGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType());
90 DrmInfoRequest::TYPE_UNREGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType());
101 DrmInfoRequest::TYPE_RIGHTS_ACQUISITION_INFO, buffer, drmInfo->getMimeType());
146 DrmInfo* drmInfo = NULL; local
154 drmInfo = new DrmInfo(drmInfoRequest->getInfoType(),
157 return drmInfo;
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java141 final DrmInfo drmInfo = (DrmInfo) msg.obj;
142 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo);
145 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo);
151 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType();
495 * @param drmInfo The {@link DrmInfo} to be processed.
498 public int processDrmInfo(DrmInfo drmInfo) { argument
499 if (null == drmInfo || !drmInfo.isValid()) {
500 throw new IllegalArgumentException("Given drmInfo is invalid/null");
504 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo);
877 _processDrmInfo(int uniqueId, DrmInfo drmInfo) argument
[all...]
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp234 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
242 data.writeInt32(drmInfo->getInfoType());
243 const DrmBuffer dataBuffer = drmInfo->getData();
249 data.writeString8(drmInfo->getMimeType());
251 data.writeInt32(drmInfo->getCount());
252 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator();
257 const String8 value = drmInfo->get(key);
314 DrmInfo* drmInfo = NULL; local
325 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8());
331 drmInfo
942 DrmInfo* drmInfo = new DrmInfo(infoType, drmBuffer, data.readString8()); local
1001 DrmInfo* drmInfo = acquireDrmInfo(uniqueId, drmInfoRequest); local
[all...]
H A DDrmEngineBase.cpp55 DrmInfoStatus* DrmEngineBase::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
56 return onProcessDrmInfo(uniqueId, drmInfo);
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp128 int uniqueId, const DrmInfo* drmInfo) {
130 if (NULL != drmInfo) {
131 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo);
138 DrmInfo* drmInfo = NULL; local
140 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest);
142 return drmInfo;
127 processDrmInfo( int uniqueId, const DrmInfo* drmInfo) argument
H A DDrmManagerClient.cpp54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { argument
55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo);
H A DNoOpDrmManagerClientImpl.cpp47 DrmInfoStatus* NoOpDrmManagerClientImpl::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerService.h66 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
H A DNoOpDrmManagerClientImpl.h37 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
H A DDrmManager.h79 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
H A DDrmManagerClientImpl.h115 * @param[in] drmInfo Information needs to be processed
119 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
126 * @param[in] drmInfoRequest Request information to retrieve drmInfo
H A DIDrmManagerService.h103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
192 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
H A DDrmPassthruPlugIn.h43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h49 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo);
189 * @param[in] drmInfo Information needs to be processed
193 virtual DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
214 * @param[in] drmInfoRequest Request information to retrieve drmInfo
H A DIDrmEngine.h133 * @param[in] drmInfo Information needs to be processed
137 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
144 * @param[in] drmInfoRequest Request information to retrieve drmInfo
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h115 * @param drmInfo Information that needs to be processed
119 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo);
142 * @param drmInfoRequest Request information to retrieve drmInfo
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp117 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
119 return mDrmManager->processDrmInfo(uniqueId, drmInfo);
H A DDrmManager.cpp197 DrmInfoStatus* DrmManager::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
199 const String8 plugInId = getSupportedPlugInId(drmInfo->getMimeType());
202 return rDrmEngine.processDrmInfo(uniqueId, drmInfo);
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp434 DrmInfo drmInfo(mInfoType, buffer, mMimeType);
463 drmInfo.put(keyString, valueString);
467 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo);
490 env->NewStringUTF((drmInfo.get(DrmInfoRequest::ACCOUNT_ID)).string()),
491 env->NewStringUTF((drmInfo.get(DrmInfoRequest::SUBSCRIPTION_ID)).string()));
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp232 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
255 DrmInfo* drmInfo = NULL; local
260 return drmInfo;

Completed in 168 milliseconds