/frameworks/base/include/drm/ |
DrmInfo.h | 28 * by passing an instance of this class to DrmManagerClient::processDrmInfo(const DrmInfo*). 30 * The Caller can retrieve the DrmInfo instance by using 34 class DrmInfo { 37 * Constructor for DrmInfo 43 DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType); 46 * Destructor for DrmInfo 48 virtual ~DrmInfo() {} 55 friend class DrmInfo; 58 KeyIterator(const DrmInfo* drmInfo) [all...] |
DrmManagerClient.h | 26 class DrmInfo; 237 * @param[in] drmInfo Information needs to be processed 241 DrmInfoStatus* processDrmInfo(const DrmInfo* drmInfo); 247 * @param[in] drmInfoRequest Request information to retrieve drmInfo 248 * @return DrmInfo 251 DrmInfo* acquireDrmInfo(const DrmInfoRequest* drmInfoRequest);
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DRMTest.java | 35 import android.drm.DrmInfo; 68 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_REGISTRATION_INFO, 71 executeProcessDrmInfo(drmInfo, config); 75 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_RIGHTS_ACQUISITION_INFO, 78 executeProcessDrmInfo(drmInfo, config); 82 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_UNREGISTRATION_INFO, 85 executeProcessDrmInfo(drmInfo, config) [all...] |
/frameworks/base/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 24 #include <drm/DrmInfo.h> 75 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 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()); 143 DrmInfo* DrmPassthruPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { 145 DrmInfo* drmInfo = NULL [all...] |
/frameworks/base/drm/java/android/drm/ |
DrmManagerClient.java | 128 final DrmInfo drmInfo = (DrmInfo) msg.obj; 129 DrmInfoStatus status = _processDrmInfo(mUniqueId, drmInfo); 132 attributes.put(DrmEvent.DRM_INFO_OBJECT, drmInfo); 138 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType(); 448 * @param drmInfo The {@link DrmInfo} to be processed. 451 public int processDrmInfo(DrmInfo drmInfo) { [all...] |
/frameworks/base/drm/common/ |
IDrmManagerService.cpp | 25 #include <drm/DrmInfo.h> 244 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 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) [all...] |
DrmEngineBase.cpp | 55 DrmInfoStatus* DrmEngineBase::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 56 return onProcessDrmInfo(uniqueId, drmInfo); 65 DrmInfo* DrmEngineBase::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
|
/frameworks/base/drm/libdrmframework/ |
DrmManagerClientImpl.cpp | 126 int uniqueId, const DrmInfo* drmInfo) { 128 if (NULL != drmInfo) { 129 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo); 134 DrmInfo* DrmManagerClientImpl::acquireDrmInfo( 136 DrmInfo* drmInfo = NULL; 138 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest); 140 return drmInfo;
|
DrmManagerClient.cpp | 54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { 55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo); 58 DrmInfo* DrmManagerClient::acquireDrmInfo(const DrmInfoRequest* drmInfoRequest) {
|
/frameworks/base/drm/libdrmframework/include/ |
DrmManagerService.h | 68 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 70 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
|
IDrmManagerService.h | 31 class DrmInfo; 104 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0; 106 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0; 189 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 191 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
|
DrmManager.h | 36 class DrmInfo; 81 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 83 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
DrmManagerClientImpl.h | 115 * @param[in] drmInfo Information needs to be processed 119 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 126 * @param[in] drmInfoRequest Request information to retrieve drmInfo 127 * @return DrmInfo 130 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
/frameworks/base/drm/libdrmframework/plugins/common/include/ |
IDrmEngine.h | 27 class DrmInfo; 133 * @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 145 * @return DrmInfo 148 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) = 0;
|
DrmEngineBase.h | 49 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 54 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest); 184 * @param[in] drmInfo Information needs to be processed 188 virtual DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0; 209 * @param[in] drmInfoRequest Request information to retrieve drmInfo 210 * @return DrmInfo 213 virtual DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0;
|
/frameworks/base/drm/libdrmframework/plugins/passthru/include/ |
DrmPassthruPlugIn.h | 43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo); 48 DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
/frameworks/base/drm/drmserver/ |
DrmManagerService.cpp | 125 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 127 return mDrmManager->processDrmInfo(uniqueId, drmInfo); 130 DrmInfo* DrmManagerService::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
|
DrmManager.cpp | 22 #include <drm/DrmInfo.h> 222 DrmInfoStatus* DrmManager::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 224 const String8 plugInId = getSupportedPlugInId(drmInfo->getMimeType()); 227 return rDrmEngine.processDrmInfo(uniqueId, drmInfo); 247 DrmInfo* DrmManager::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
|
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 23 #include <DrmInfo.h> 115 * @param drmInfo Information that needs to be processed 119 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo); 142 * @param drmInfoRequest Request information to retrieve drmInfo 143 * @return DrmInfo 146 DrmInfo* onAcquireDrmInfo(int uniqueId,
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 25 #include <drm/DrmInfo.h> 440 DrmInfo drmInfo(mInfoType, buffer, mMimeType); 442 jclass clazz = env->FindClass("android/drm/DrmInfo"); 468 drmInfo.put(keyString, valueString); 472 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo); 495 env->NewStringUTF((drmInfo.get(DrmInfoRequest::ACCOUNT_ID)).string()), 496 env->NewStringUTF((drmInfo.get(DrmInfoRequest::SUBSCRIPTION_ID)).string())); 544 DrmInfo* pDrmInfo = getDrmManagerClientImpl(env, thiz)->acquireDrmInfo(uniqueId, &drmInfoReq); 549 jclass localRef = env->FindClass("android/drm/DrmInfo"); [all...] |
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 29 #include <DrmInfo.h> 195 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 217 DrmInfo* FwdLockEngine::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { 218 DrmInfo* drmInfo = NULL; 223 return drmInfo;
|
/prebuilt/sdk/14/ |
android.jar | |