Home
last modified time | relevance | path

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

/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c326 T_DRM_Rights_Constraint * XXConstraint, in drm_startConsumeRights() argument
335 if (NULL == bIsXXable || 0 == *bIsXXable || NULL == XXConstraint || NULL == writeFlag) in drm_startConsumeRights()
338 if (0 != (uint8_t)(XXConstraint->Indicator & DRM_NO_CONSTRAINT)) /* Have utter right? */ in drm_startConsumeRights()
344 …if (0 != (XXConstraint->Indicator & (DRM_START_TIME_CONSTRAINT | DRM_END_TIME_CONSTRAINT | DRM_INT… in drm_startConsumeRights()
356 if (0 != (uint8_t)(XXConstraint->Indicator & DRM_COUNT_CONSTRAINT)) { /* Have count restrict? */ in drm_startConsumeRights()
359 if (XXConstraint->Count <= 0) { in drm_startConsumeRights()
360 XXConstraint->Indicator &= ~DRM_COUNT_CONSTRAINT; in drm_startConsumeRights()
364 if (XXConstraint->Count-- <= 1) { in drm_startConsumeRights()
365 XXConstraint->Indicator &= ~DRM_COUNT_CONSTRAINT; in drm_startConsumeRights()
370 if (0 != (uint8_t)(XXConstraint->Indicator & DRM_START_TIME_CONSTRAINT)) { in drm_startConsumeRights()
[all …]