/frameworks/av/drm/common/ |
DrmInfo.cpp | 17 #include <drm/DrmInfo.h> 21 DrmInfo::DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType) : 28 int DrmInfo::getInfoType(void) const { 32 String8 DrmInfo::getMimeType(void) const { 36 const DrmBuffer& DrmInfo::getData(void) const { 40 int DrmInfo::getCount(void) const { 44 status_t DrmInfo::put(const String8& key, const String8& value) { 49 String8 DrmInfo::get(const String8& key) const { 56 int DrmInfo::indexOfKey(const String8& key) const [all...] |
Android.mk | 24 DrmInfo.cpp \
|
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/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/ |
DrmInfoTest.java | 24 import android.drm.DrmInfo; 79 // Store all the attributes in DrmInfo object info. 80 DrmInfo info = new DrmInfo(DEFAULT_TYPE, DEFAULT_DATA, DEFAULT_MIME); 111 DrmInfo info = new DrmInfo(DEFAULT_TYPE, data, DEFAULT_MIME); 112 fail("Data " + data + " was accepted for DrmInfo"); 120 DrmInfo info = new DrmInfo(DEFAULT_TYPE, DEFAULT_DATA, mimeType); 121 fail("Mime type " + mimeType + " was accepted for DrmInfo"); [all...] |
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/base/drm/java/android/drm/ |
DrmInfo.java | 30 * The caller can retrieve the {@link DrmInfo} instance by passing a {@link DrmInfoRequest} 34 public class DrmInfo { 43 * Creates a <code>DrmInfo</code> object with the given parameters. 49 public DrmInfo(int infoType, byte[] data, String mimeType) { 63 * Creates a <code>DrmInfo</code> object with the given parameters. 69 public DrmInfo(int infoType, String path, String mimeType) { 91 * to the <code>DrmInfo</code> object, you must override the {@link #toString} implementation. 114 * this <code>DrmInfo</code> object. 124 * this <code>DrmInfo</code> object.
|
DrmManagerClient.java | 142 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) { [all...] |
/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/ |
NoOpDrmManagerClientImpl.cpp | 59 const DrmInfo* /* drmInfo */) { 63 DrmInfo* NoOpDrmManagerClientImpl::acquireDrmInfo(
|
DrmManagerClient.cpp | 54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { 55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo); 58 DrmInfo* DrmManagerClient::acquireDrmInfo(const DrmInfoRequest* drmInfoRequest) {
|
DrmManagerClientImpl.cpp | 128 int uniqueId, const DrmInfo* drmInfo) { 130 if (NULL != drmInfo) { 131 drmInfoStatus = getDrmManagerService()->processDrmInfo(uniqueId, drmInfo); 136 DrmInfo* DrmManagerClientImpl::acquireDrmInfo( 138 DrmInfo* drmInfo = NULL; 140 drmInfo = getDrmManagerService()->acquireDrmInfo(uniqueId, drmInfoRequest); 142 return drmInfo;
|
/frameworks/av/drm/libdrmframework/include/ |
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);
|
NoOpDrmManagerClientImpl.h | 37 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 38 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
DrmManagerClientImpl.h | 115 * @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 127 * @return DrmInfo 130 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
DrmManagerService.h | 85 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 87 DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest);
|
/cts/tests/tests/drm/lib/ |
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) {
|
TestPlugin.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/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/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/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 29 #include <DrmInfo.h> 234 DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int /* uniqueId */, const DrmInfo* /* drmInfo */) { 256 DrmInfo* FwdLockEngine::onAcquireDrmInfo( 258 DrmInfo* drmInfo = NULL; 263 return drmInfo;
|