Searched defs:drmInfo (Results 1 - 10 of 10) 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) {}
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp55 DrmInfoStatus* DrmEngineBase::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
56 return onProcessDrmInfo(uniqueId, drmInfo);
H A DIDrmManagerService.cpp244 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
252 data.writeInt32(drmInfo->getInfoType());
253 const DrmBuffer dataBuffer = drmInfo->getData();
259 data.writeString8(drmInfo->getMimeType());
261 data.writeInt32(drmInfo->getCount());
262 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator();
267 const String8 value = drmInfo->get(key);
324 DrmInfo* drmInfo = NULL; local
335 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8());
341 drmInfo
963 DrmInfo* drmInfo = new DrmInfo(infoType, drmBuffer, data.readString8()); local
1022 DrmInfo* drmInfo = acquireDrmInfo(uniqueId, drmInfoRequest); local
[all...]
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { argument
55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo);
H A DDrmManagerClientImpl.cpp126 int uniqueId, const DrmInfo* drmInfo) {
128 if (NULL != drmInfo) {
129 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo);
136 DrmInfo* drmInfo = NULL; local
138 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest);
140 return drmInfo;
125 processDrmInfo( int uniqueId, const DrmInfo* drmInfo) argument
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp111 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
113 return mDrmManager->processDrmInfo(uniqueId, drmInfo);
H A DDrmManager.cpp222 DrmInfoStatus* DrmManager::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
224 const String8 plugInId = getSupportedPlugInId(drmInfo->getMimeType());
227 return rDrmEngine.processDrmInfo(uniqueId, drmInfo);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp75 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
78 if (NULL != drmInfo) {
79 switch (drmInfo->getInfoType()) {
83 DrmInfoRequest::TYPE_REGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType());
89 DrmInfoRequest::TYPE_UNREGISTRATION_INFO, emptyBuffer, drmInfo->getMimeType());
100 DrmInfoRequest::TYPE_RIGHTS_ACQUISITION_INFO, buffer, drmInfo->getMimeType());
145 DrmInfo* drmInfo = NULL; local
153 drmInfo = new DrmInfo(drmInfoRequest->getInfoType(),
156 return drmInfo;
/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;
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java134 final DrmInfo drmInfo = (DrmInfo) msg.obj;
135 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo);
138 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo);
144 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType();
484 * @param drmInfo The {@link DrmInfo} to be processed.
487 public int processDrmInfo(DrmInfo drmInfo) { argument
488 if (null == drmInfo || !drmInfo.isValid()) {
489 throw new IllegalArgumentException("Given drmInfo is invalid/null");
493 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo);
866 _processDrmInfo(int uniqueId, DrmInfo drmInfo) argument
[all...]

Completed in 34 milliseconds