/frameworks/av/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; 249 * @param[in] drmInfo Information needs to be processed 253 DrmInfoStatus* processDrmInfo(const DrmInfo* drmInfo); 259 * @param[in] drmInfoRequest Request information to retrieve drmInfo 260 * @return DrmInfo 263 DrmInfo* acquireDrmInfo(const DrmInfoRequest* drmInfoRequest);
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DRMTest.java | 32 import android.drm.DrmInfo; 64 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_REGISTRATION_INFO, 67 executeProcessDrmInfo(drmInfo, config); 71 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_RIGHTS_ACQUISITION_INFO, 74 executeProcessDrmInfo(drmInfo, config); 78 DrmInfo drmInfo = executeAcquireDrmInfo(DrmInfoRequest.TYPE_UNREGISTRATION_INFO, 81 executeProcessDrmInfo(drmInfo, config) [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
DrmPassthruPlugIn.cpp | 24 #include <drm/DrmInfo.h> 76 DrmInfoStatus* DrmPassthruPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 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()); 144 DrmInfo* DrmPassthruPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { 146 DrmInfo* drmInfo = NULL [all...] |
/frameworks/base/drm/java/android/drm/ |
DrmManagerClient.java | 141 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) { [all...] |
/frameworks/av/drm/common/ |
IDrmManagerService.cpp | 25 #include <drm/DrmInfo.h> 234 DrmInfoStatus* BpDrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 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) [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/av/drm/libdrmframework/ |
DrmManagerClientImpl.cpp | 117 int uniqueId, const DrmInfo* drmInfo) { 119 if (NULL != drmInfo) { 120 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo); 125 DrmInfo* DrmManagerClientImpl::acquireDrmInfo( 127 DrmInfo* drmInfo = NULL; 129 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest); 131 return drmInfo;
|
DrmManagerClient.cpp | 54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { 55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo); 58 DrmInfo* DrmManagerClient::acquireDrmInfo(const DrmInfoRequest* drmInfoRequest) {
|
/cts/tests/tests/drm/lib/ |
TestPlugin.h | 43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo); 48 DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
TestPlugin.cpp | 24 #include <drm/DrmInfo.h> 64 DrmInfoStatus* TestPlugIn::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 91 DrmInfo* TestPlugIn::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManagerService.h | 66 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 68 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
|
IDrmManagerService.h | 31 class DrmInfo; 103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0; 105 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0; 192 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 194 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
|
DrmManager.h | 36 class DrmInfo; 79 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 81 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/av/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); 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 215 * @return DrmInfo 218 virtual DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0;
|
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
DrmPassthruPlugIn.h | 43 DrmInfoStatus* onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo); 48 DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
/frameworks/av/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/av/drm/drmserver/ |
DrmManagerService.cpp | 106 DrmInfoStatus* DrmManagerService::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 108 return mDrmManager->processDrmInfo(uniqueId, drmInfo); 111 DrmInfo* DrmManagerService::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
|
DrmManager.cpp | 22 #include <drm/DrmInfo.h> 197 DrmInfoStatus* DrmManager::processDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 199 const String8 plugInId = getSupportedPlugInId(drmInfo->getMimeType()); 202 return rDrmEngine.processDrmInfo(uniqueId, drmInfo); 222 DrmInfo* DrmManager::acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 26 #include <drm/DrmInfo.h> 432 DrmInfo drmInfo(mInfoType, buffer, mMimeType); 434 jclass clazz = env->FindClass("android/drm/DrmInfo"); 461 drmInfo.put(keyString, valueString); 465 = getDrmManagerClientImpl(env, thiz)->processDrmInfo(uniqueId, &drmInfo); 488 env->NewStringUTF((drmInfo.get(DrmInfoRequest::ACCOUNT_ID)).string()), 489 env->NewStringUTF((drmInfo.get(DrmInfoRequest::SUBSCRIPTION_ID)).string())); 538 DrmInfo* pDrmInfo = getDrmManagerClientImpl(env, thiz)->acquireDrmInfo(uniqueId, &drmInfoReq); 543 jclass localRef = env->FindClass("android/drm/DrmInfo"); [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 29 #include <DrmInfo.h> 232 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) { 254 DrmInfo* FwdLockEngine::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) { 255 DrmInfo* drmInfo = NULL; 260 return drmInfo;
|
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |