Searched refs:pDmInfo (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dm.c67 int32_t drm_parseDM(const uint8_t *buffer, int32_t bufferLen, T_DRM_DM_Info *pDmInfo) argument
75 if (NULL == buffer || bufferLen <= 0 || NULL == pDmInfo)
93 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart);
94 boundaryLen = strlen((char *)pDmInfo->boundary) + 2; /* 2 means: '\r' and '\n' */
100 pDmInfo->transferEncoding = DRM_MESSAGE_CODING_7BIT; /* According RFC2045 chapter 6.1, the default value should be 7bit.*/
101 strcpy((char *)pDmInfo->contentType, "text/plain"); /* According RFC2045 chapter 5.2, the default value should be "text/plain". */
109 if (0 != pDmInfo->deliveryType) { /* This means the delivery type has been confirmed */
115 pDmInfo->transferEncoding = DRM_MESSAGE_CODING_7BIT;
117 pDmInfo->transferEncoding = DRM_MESSAGE_CODING_8BIT;
119 pDmInfo
[all...]
/frameworks/base/media/libdrm/mobile1/include/parser/
H A Dparser_dm.h89 * \param pDmInfo (out)A structure pointer which contain information of DRM message headers
95 int32_t drm_parseDM(const uint8_t* buffer, int32_t bufferLen, T_DRM_DM_Info* pDmInfo);

Completed in 137 milliseconds