Searched refs:RoAmount (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_rights_manager.c | 251 int32_t drm_writeOrReadInfo(int32_t id, T_DRM_Rights* Ro, int32_t* RoAmount, int32_t option) in drm_writeOrReadInfo() argument 280 *RoAmount = -1; in drm_writeOrReadInfo() 293 if (DRM_FILE_FAILURE == DRM_file_read(handle, (uint8_t*)RoAmount, sizeof(int32_t))) { in drm_writeOrReadInfo() 301 … if (DRM_FILE_FAILURE == DRM_file_read(handle, (uint8_t*)Ro, (*RoAmount) * sizeof(T_DRM_Rights))) { in drm_writeOrReadInfo() 307 if (DRM_FILE_FAILURE == DRM_file_write(handle, (uint8_t*)RoAmount, sizeof(int32_t))) { in drm_writeOrReadInfo() 312 if (NULL != Ro && *RoAmount >= 1) { in drm_writeOrReadInfo() 313 …if (DRM_FILE_FAILURE == DRM_file_write(handle, (uint8_t*) Ro, (*RoAmount) * sizeof(T_DRM_Rights)))… in drm_writeOrReadInfo() 320 DRM_file_setPosition(handle, sizeof(int32_t) + (*RoAmount - 1) * sizeof(T_DRM_Rights)); in drm_writeOrReadInfo() 328 DRM_file_setPosition(handle, sizeof(int32_t) + (*RoAmount - 1) * sizeof(T_DRM_Rights)); in drm_writeOrReadInfo() 340 if (tmpRoAmount < *RoAmount) { in drm_writeOrReadInfo() [all …]
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
D | drm_rights_manager.h | 72 int32_t drm_writeOrReadInfo(int32_t id, T_DRM_Rights* Ro, int32_t* RoAmount, int32_t option);
|