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.cpp235 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
243 data.writeInt32(drmInfo->getInfoType());
244 const DrmBuffer dataBuffer = drmInfo->getData();
250 data.writeString8(drmInfo->getMimeType());
252 data.writeInt32(drmInfo->getCount());
253 DrmInfo::KeyIterator keyIt = drmInfo->keyIterator();
258 const String8 value = drmInfo->get(key);
317 DrmInfo* drmInfo = NULL; local
328 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8());
334 drmInfo
952 DrmInfo* drmInfo = new DrmInfo(infoType, drmBuffer, data.readString8()); local
1014 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.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
/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/av/drm/drmserver/
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);
H A DDrmManagerService.cpp174 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { argument
176 return mDrmManager->processDrmInfo(uniqueId, drmInfo);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp234 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int /* uniqueId */, const DrmInfo* /* drmInfo */) {
258 DrmInfo* drmInfo = NULL; local
263 return drmInfo;
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java142 final DrmInfo drmInfo = (DrmInfo) msg.obj;
143 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo);
146 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo);
152 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType();
502 * @param drmInfo The {@link DrmInfo} to be processed.
505 public int processDrmInfo(DrmInfo drmInfo) { argument
506 if (null == drmInfo || !drmInfo.isValid()) {
507 throw new IllegalArgumentException("Given drmInfo is invalid/null");
511 Message msg = mEventHandler.obtainMessage(ACTION_PROCESS_DRM_INFO, drmInfo);
884 _processDrmInfo(int uniqueId, DrmInfo drmInfo) argument
[all...]

Completed in 214 milliseconds