/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) {
|
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...] |
/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; 81 // Store all the attributes in DrmInfo object info. 82 DrmInfo info = new DrmInfo(DEFAULT_TYPE, DEFAULT_DATA, DEFAULT_MIME); 113 DrmInfo info = new DrmInfo(DEFAULT_TYPE, data, DEFAULT_MIME); 114 fail("Data " + data + " was accepted for DrmInfo"); 122 DrmInfo info = new DrmInfo(DEFAULT_TYPE, DEFAULT_DATA, mimeType); 123 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 | 29 * The caller can retrieve the {@link DrmInfo} instance by passing a {@link DrmInfoRequest} 33 public class DrmInfo { 42 * Creates a <code>DrmInfo</code> object with the given parameters. 48 public DrmInfo(int infoType, byte[] data, String mimeType) { 62 * Creates a <code>DrmInfo</code> object with the given parameters. 68 public DrmInfo(int infoType, String path, String mimeType) { 90 * to the <code>DrmInfo</code> object, you must override the {@link #toString} implementation. 113 * this <code>DrmInfo</code> object. 123 * this <code>DrmInfo</code> object.
|
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/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/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);
|
DrmManagerService.h | 66 DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo); 68 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);
|
/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/ |
DrmManagerClient.cpp | 54 DrmInfoStatus* DrmManagerClient::processDrmInfo(const DrmInfo* drmInfo) { 55 return mDrmManagerClientImpl->processDrmInfo(mUniqueId, drmInfo); 58 DrmInfo* DrmManagerClient::acquireDrmInfo(const DrmInfoRequest* drmInfoRequest) {
|
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;
|
/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;
|
/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) {
|