Home
last modified time | relevance | path

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

/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c1912 T_DRM_Rights *pAllRights; in SVC_drm_deleteRights() local
1914 pAllRights = (T_DRM_Rights *)malloc(roAmount * sizeof(T_DRM_Rights)); in SVC_drm_deleteRights()
1915 if (NULL == pAllRights) in SVC_drm_deleteRights()
1918 drm_writeOrReadInfo(id, pAllRights, &roAmount, GET_ALL_RO); in SVC_drm_deleteRights()
1923 free(pAllRights); in SVC_drm_deleteRights()
1926 memcpy(pAllRights + (j - 1), pAllRights + roAmount, sizeof(T_DRM_Rights)); in SVC_drm_deleteRights()
1931 if (FALSE == drm_writeOrReadInfo(id, pAllRights, &roAmount, SAVE_ALL_RO)) { in SVC_drm_deleteRights()
1932 free(pAllRights); in SVC_drm_deleteRights()
1936 free(pAllRights); in SVC_drm_deleteRights()