Home
last modified time | relevance | path

Searched refs:DRM_MAX_MALLOC_LEN (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c723 if (dataLen > DRM_MAX_MALLOC_LEN) in SVC_drm_installRights()
724 bufLen = DRM_MAX_MALLOC_LEN; in SVC_drm_installRights()
813 if (dataLen > DRM_MAX_MALLOC_LEN) in SVC_drm_openSession()
814 s->rawContentLen = DRM_MAX_MALLOC_LEN; in SVC_drm_openSession()
894 int32_t encLen = DRM_MAX_MALLOC_LEN - s->contentOffset, decLen; in SVC_drm_openSession()
907 … s->rawContent = (uint8_t *)realloc(s->rawContent, DRM_MAX_MALLOC_LEN + needBytes); in SVC_drm_openSession()
915 … if (-1 != data.readInputData(data.inputHandle, s->rawContent + DRM_MAX_MALLOC_LEN + i, 1)) { in SVC_drm_openSession()
916 …if ('\r' == *(s->rawContent + DRM_MAX_MALLOC_LEN + i) || '\n' == *(s->rawContent + DRM_MAX_MALLOC_… in SVC_drm_openSession()
1062 … s->contentOffset + ((T_DRM_Dcf_Node *)(s->infoStruct))->encContentLength <= DRM_MAX_MALLOC_LEN) { in SVC_drm_openSession()
1239 …& s->contentOffset + ((T_DRM_Dcf_Node *)(s->infoStruct))->encContentLength <= DRM_MAX_MALLOC_LEN && in SVC_drm_getContentLength()
[all …]
/frameworks/base/media/libdrm/mobile1/include/objmng/
Ddrm_inner.h38 #define DRM_MAX_MALLOC_LEN (50 * 1024) /* 50K */ macro