Home
last modified time | relevance | path

Searched refs:drmBuffer (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/drm/common/
DIDrmManagerService.cpp271 DrmBuffer* drmBuffer = NULL; in processDrmInfo() local
279 drmBuffer = new DrmBuffer(data, bufferSize); in processDrmInfo()
281 drmInfoStatus = new DrmInfoStatus(statusCode, infoType, drmBuffer, mimeType); in processDrmInfo()
951 const DrmBuffer drmBuffer(buffer, bufferSize); in onTransact() local
952 DrmInfo* drmInfo = new DrmInfo(infoType, drmBuffer, data.readString8()); in onTransact()
969 if (NULL != drmInfoStatus->drmBuffer) { in onTransact()
970 const DrmBuffer* drmBuffer = drmInfoStatus->drmBuffer; in onTransact() local
971 const int bufferSize = drmBuffer->length; in onTransact()
974 reply->write(drmBuffer->data, bufferSize); in onTransact()
976 delete [] drmBuffer->data; in onTransact()
[all …]
DDrmInfo.cpp21 DrmInfo::DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType) : in DrmInfo() argument
23 mData(drmBuffer), in DrmInfo()
DDrmInfoStatus.cpp25 drmBuffer(_drmBuffer), in DrmInfoStatus()
/frameworks/av/include/drm/
DDrmInfoStatus.h60 const DrmBuffer* drmBuffer; variable
DDrmInfo.h43 DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType);
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp478 if (NULL != pDrmInfoStatus->drmBuffer) { in android_drm_DrmManagerClient_processDrmInfo()
479 int length = pDrmInfoStatus->drmBuffer->length; in android_drm_DrmManagerClient_processDrmInfo()
482 dataArray, 0, length, (jbyte*) pDrmInfoStatus->drmBuffer->data); in android_drm_DrmManagerClient_processDrmInfo()
484 delete [] pDrmInfoStatus->drmBuffer->data; in android_drm_DrmManagerClient_processDrmInfo()
485 delete pDrmInfoStatus->drmBuffer; pDrmInfoStatus->drmBuffer = NULL; in android_drm_DrmManagerClient_processDrmInfo()