Home
last modified time | relevance | path

Searched refs:DrmBuffer (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/av/drm/libdrmframework/plugins/passthru/src/
DDrmPassthruPlugIn.cpp82 const DrmBuffer* emptyBuffer = new DrmBuffer(); in onProcessDrmInfo()
88 const DrmBuffer* emptyBuffer = new DrmBuffer(); in onProcessDrmInfo()
99 const DrmBuffer* buffer = new DrmBuffer(data, bufferSize); in onProcessDrmInfo()
155 DrmBuffer(data, length), drmInfoRequest->getMimeType()); in onAcquireDrmInfo()
219 int uniqueId, int /*convertId*/, const DrmBuffer* inputData) { in onConvertData()
221 DrmBuffer* convertedData = NULL; in onConvertData()
227 convertedData = new DrmBuffer(data, length); in onConvertData()
274 int /*decryptUnitId*/, const DrmBuffer* /*headerInfo*/) { in onInitializeDecryptUnit() argument
280 int /*decryptUnitId*/, const DrmBuffer* encBuffer, DrmBuffer** decBuffer, in onDecrypt() argument
281 DrmBuffer* /*IV*/) { in onDecrypt()
/frameworks/av/drm/common/include/
DDrmEngineBase.h77 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
92 const DrmBuffer& buf, const String8& mimeType);
97 int decryptUnitId, const DrmBuffer* headerInfo);
100 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
347 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
454 const DrmBuffer& /* buf */, in onOpenDecryptSession() argument
480 int decryptUnitId, const DrmBuffer* headerInfo) = 0;
500 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) = 0;
DIDrmManagerService.h135 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
150 int uniqueId, const DrmBuffer& buf, const String8& mimeType) = 0;
155 int decryptUnitId, const DrmBuffer* headerInfo) = 0;
158 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) = 0;
222 int uniqueId, int convertId, const DrmBuffer* inputData);
237 int uniqueId, const DrmBuffer& buf, const String8& mimeType);
242 int decryptUnitId, const DrmBuffer* headerInfo);
245 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DIDrmEngine.h288 int uniqueId, int convertId, const DrmBuffer* inputData) = 0;
359 const DrmBuffer& buf, const String8& mimeType) = 0;
382 int decryptUnitId, const DrmBuffer* headerInfo) = 0;
402 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) = 0;
/frameworks/av/drm/libdrmframework/
DNoOpDrmManagerClientImpl.cpp142 const DrmBuffer* /* inputData */) { in convertData() argument
177 const DrmBuffer& /* buf */, in openDecryptSession() argument
192 const DrmBuffer* /* headerInfo */) { in initializeDecryptUnit() argument
200 const DrmBuffer* /* encBuffer */, in decrypt() argument
201 DrmBuffer** /* decBuffer */, in decrypt() argument
202 DrmBuffer* /* IV */) { in decrypt()
DDrmManagerClient.cpp107 DrmConvertedStatus* DrmManagerClient::convertData(int convertId, const DrmBuffer* inputData) { in convertData()
134 const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession()
143 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
150 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt()
DDrmManagerClientImpl.cpp221 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData()
264 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession()
280 int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
291 int decryptUnitId, const DrmBuffer* encBuffer, in decrypt()
292 DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt()
/frameworks/av/drm/libdrmframework/include/
DNoOpDrmManagerClientImpl.h52 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
59 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
63 int decryptUnitId, const DrmBuffer* headerInfo);
65 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DDrmManagerClientImpl.h266 … virtual DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
332 virtual sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
356 int decryptUnitId, const DrmBuffer* headerInfo);
376 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
/frameworks/av/include/drm/
DDrmManagerClient.h93 sp<DecryptHandle> openDecryptSession(const DrmBuffer& buf, const String8& mimeType);
141 sp<DecryptHandle> &decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo);
161 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV = NULL);
352 DrmConvertedStatus* convertData(int convertId, const DrmBuffer* inputData);
DDrmRights.h57 const DrmBuffer& rightsData, const String8& mimeType,
72 const DrmBuffer& getData(void) const;
96 DrmBuffer mData;
DDrmInfo.h43 DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType);
119 const DrmBuffer& getData(void) const;
168 DrmBuffer mData;
DDrmConvertedStatus.h49 DrmConvertedStatus(int _statusCode, const DrmBuffer* _convertedData, int _offset);
60 const DrmBuffer* convertedData;
DDrmInfoStatus.h48 …DrmInfoStatus(int _statusCode, int _infoType, const DrmBuffer* _drmBuffer, const String8& _mimeTyp…
60 const DrmBuffer* drmBuffer;
Ddrm_framework_common.h65 class DrmBuffer {
70 DrmBuffer() : in DrmBuffer() function
75 DrmBuffer(char* dataBytes, int dataLength) : in DrmBuffer() function
/frameworks/av/drm/drmserver/
DDrmManagerService.h113 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
125 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
131 int decryptUnitId, const DrmBuffer* headerInfo);
134 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DDrmManager.h145 DrmConvertedStatus* convertData(int uniqueId, int convertId, const DrmBuffer* inputData);
156 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
162 int decryptUnitId, const DrmBuffer* headerInfo);
165 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DDrmManagerService.cpp257 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData()
294 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession()
312 int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
322 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h292 const DrmBuffer* inputData);
377 const DrmBuffer* headerInfo);
398 const DrmBuffer* encBuffer,
399 DrmBuffer** decBuffer);
419 int decryptUnitId, const DrmBuffer* encBuffer,
420 DrmBuffer** decBuffer, DrmBuffer* IV);
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h71 DrmConvertedStatus* onConvertData(int uniqueId, int convertId, const DrmBuffer* inputData);
87 int decryptUnitId, const DrmBuffer* headerInfo);
90 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
/frameworks/av/drm/common/
DDrmRights.cpp32 mData = DrmBuffer(mRightsFromFile, rightsLength); in DrmRights()
35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType, in DrmRights()
48 const DrmBuffer& DrmRights::getData(void) const { in getData()
DDrmEngineBase.cpp110 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData()
143 const DrmBuffer& buf, const String8& mimeType) { in openDecryptSession()
152 … int uniqueId, sp<DecryptHandle>& decryptHandle, int decryptUnitId, const DrmBuffer* headerInfo) { in initializeDecryptUnit()
158 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt()
DIDrmManagerService.cpp244 const DrmBuffer dataBuffer = drmInfo->getData(); in processDrmInfo()
271 DrmBuffer* drmBuffer = NULL; in processDrmInfo()
279 drmBuffer = new DrmBuffer(data, bufferSize); in processDrmInfo()
328 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8()); in acquireDrmInfo()
350 const DrmBuffer dataBuffer = drmRights.getData(); in saveRights()
504 int uniqueId, int convertId, const DrmBuffer* inputData) { in convertData()
523 DrmBuffer* convertedData = NULL; in convertData()
531 convertedData = new DrmBuffer(data, bufferSize); in convertData()
555 DrmBuffer* convertedData = NULL; in closeConvertSession()
563 convertedData = new DrmBuffer(data, bufferSize); in closeConvertSession()
[all …]
DDrmInfo.cpp21 DrmInfo::DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType) : in DrmInfo()
36 const DrmBuffer& DrmInfo::getData(void) const { in getData()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp408 const DrmBuffer* inputData) {
410 DrmBuffer *convResult = new DrmBuffer(NULL, 0);
445 DrmBuffer *convResult = new DrmBuffer(NULL, 0);
599 const DrmBuffer* /* headerInfo */) { argument
608 const DrmBuffer* /* encBuffer */, argument
609 DrmBuffer** /* decBuffer */, argument
610 DrmBuffer* /* IV */) {
618 const DrmBuffer* /* encBuffer */, argument
619 DrmBuffer** /* decBuffer */) { argument

12