Searched defs:sessionPtrs (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c75 static FwdLockFile_Session_t *sessionPtrs[MAX_NUM_SESSIONS] = { NULL }; variable
98 if (sessionPtrs[candidateSessionId] == NULL) {
99 sessionPtrs[candidateSessionId] = malloc(sizeof **sessionPtrs);
100 if (sessionPtrs[candidateSessionId] != NULL) {
101 sessionPtrs[candidateSessionId]->fileDesc = fileDesc;
102 sessionPtrs[candidateSessionId]->pContentType = NULL;
103 sessionPtrs[candidateSessionId]->pEncryptedSessionKey = NULL;
134 if (sessionPtrs[candidateSessionId] != NULL &&
135 sessionPtrs[candidateSessionI
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c159 static FwdLockConv_Session_t *sessionPtrs[MAX_NUM_SESSIONS] = { NULL }; variable
199 if (sessionPtrs[i] == NULL) {
200 sessionPtrs[i] = malloc(sizeof *sessionPtrs[i]);
201 if (sessionPtrs[i] != NULL) {
219 return 0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] != NULL;
230 memset(sessionPtrs[sessionId], 0, sizeof *sessionPtrs[sessionId]); // Zero out key data.
231 free(sessionPtrs[sessionId]);
232 sessionPtrs[sessionI
[all...]

Completed in 103 milliseconds