Searched refs:pRights (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/media/libdrm/mobile1/src/parser/ |
H A D | parser_rel.c | 507 int32_t drm_relParser(uint8_t* buffer, int32_t bufferLen, int32_t Format, T_DRM_Rights* pRights) argument 535 strncpy((char *)pRights->Version, (char *)pValue, valueLen); 558 if (DRM_KEY_LEN != drm_decodeBase64(pRights->KeyValue, keyLen, pValue, &valueLen)) 570 strncpy((char *)pRights->uid, (char *)pValue, valueLen); 571 pRights->uid[valueLen] = '\0'; 580 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"play", 0)) 584 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"display", 0)) 588 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"execute", 0)) 592 drm_getRightValue(buffer, bufferLen, pRights, (uint8_t *)"print", 0)) 608 strncpy((char *)pRights [all...] |
/frameworks/base/media/libdrm/mobile1/include/parser/ |
H A D | parser_rel.h | 111 * \param pRights (out)A structure pointer which save the rights information 117 int32_t drm_relParser(uint8_t* buffer, int32_t bufferLen, int32_t Format, T_DRM_Rights* pRights);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_api.c | 218 static int32_t drm_getLicenseInfo(T_DRM_Rights* pRights, T_DRM_Rights_Info* licenseInfo) argument 220 if (NULL != licenseInfo && NULL != pRights) { 221 strcpy((char *)licenseInfo->roId, (char *)pRights->uid); 223 if (1 == pRights->bIsDisplayable) { 224 licenseInfo->displayRights.indicator = pRights->DisplayConstraint.Indicator; 226 pRights->DisplayConstraint.Count; 228 pRights->DisplayConstraint.StartTime.date; 230 pRights->DisplayConstraint.StartTime.time; 232 pRights->DisplayConstraint.EndTime.date; 234 pRights [all...] |
Completed in 71 milliseconds