Home
last modified time | relevance | path

Searched refs:pRights (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_rel.c507 int32_t drm_relParser(uint8_t* buffer, int32_t bufferLen, int32_t Format, T_DRM_Rights* pRights) in drm_relParser() argument
535 strncpy((char *)pRights->Version, (char *)pValue, valueLen); in drm_relParser()
558 if (DRM_KEY_LEN != drm_decodeBase64(pRights->KeyValue, keyLen, pValue, &valueLen)) in drm_relParser()
570 strncpy((char *)pRights->uid, (char *)pValue, valueLen); in drm_relParser()
571 pRights->uid[valueLen] = '\0'; in drm_relParser()
580 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"play", 0)) in drm_relParser()
584 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"display", 0)) in drm_relParser()
588 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"execute", 0)) in drm_relParser()
592 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"print", 0)) in drm_relParser()
608 strncpy((char *)pRights->Version, (char *)pValue, valueLen); in drm_relParser()
[all …]
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c218 static int32_t drm_getLicenseInfo(T_DRM_Rights* pRights, T_DRM_Rights_Info* licenseInfo) in drm_getLicenseInfo() argument
220 if (NULL != licenseInfo && NULL != pRights) { in drm_getLicenseInfo()
221 strcpy((char *)licenseInfo->roId, (char *)pRights->uid); in drm_getLicenseInfo()
223 if (1 == pRights->bIsDisplayable) { in drm_getLicenseInfo()
224 licenseInfo->displayRights.indicator = pRights->DisplayConstraint.Indicator; in drm_getLicenseInfo()
226 pRights->DisplayConstraint.Count; in drm_getLicenseInfo()
228 pRights->DisplayConstraint.StartTime.date; in drm_getLicenseInfo()
230 pRights->DisplayConstraint.StartTime.time; in drm_getLicenseInfo()
232 pRights->DisplayConstraint.EndTime.date; in drm_getLicenseInfo()
234 pRights->DisplayConstraint.EndTime.time; in drm_getLicenseInfo()
[all …]
/frameworks/base/media/libdrm/mobile1/include/parser/
Dparser_rel.h117 int32_t drm_relParser(uint8_t* buffer, int32_t bufferLen, int32_t Format, T_DRM_Rights* pRights);