Home
last modified time | relevance | path

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

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c97 int candidateSessionId = (fileDesc + i) % MAX_NUM_SESSIONS; in FwdLockFile_AcquireSession() local
98 if (sessionPtrs[candidateSessionId] == NULL) { in FwdLockFile_AcquireSession()
99 sessionPtrs[candidateSessionId] = malloc(sizeof **sessionPtrs); in FwdLockFile_AcquireSession()
100 if (sessionPtrs[candidateSessionId] != NULL) { in FwdLockFile_AcquireSession()
101 sessionPtrs[candidateSessionId]->fileDesc = fileDesc; in FwdLockFile_AcquireSession()
102 sessionPtrs[candidateSessionId]->pContentType = NULL; in FwdLockFile_AcquireSession()
103 sessionPtrs[candidateSessionId]->pEncryptedSessionKey = NULL; in FwdLockFile_AcquireSession()
104 sessionId = candidateSessionId; in FwdLockFile_AcquireSession()
133 int candidateSessionId = (fileDesc + i) % MAX_NUM_SESSIONS; in FwdLockFile_FindSession() local
134 if (sessionPtrs[candidateSessionId] != NULL && in FwdLockFile_FindSession()
[all …]