Searched refs:MAX_NUM_SESSIONS (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c38 #define MAX_NUM_SESSIONS 128 macro
74 static FwdLockFile_Session_t *sessionPtrs[MAX_NUM_SESSIONS] = { NULL };
95 for (i = 0; i < MAX_NUM_SESSIONS; ++i) {
96 int candidateSessionId = (fileDesc + i) % MAX_NUM_SESSIONS;
109 if (i == MAX_NUM_SESSIONS) {
130 for (i = 0; i < MAX_NUM_SESSIONS; ++i) {
131 int candidateSessionId = (fileDesc + i) % MAX_NUM_SESSIONS;
139 if (i == MAX_NUM_SESSIONS) {
153 assert(0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] != NULL);
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c36 #define MAX_NUM_SESSIONS 32 macro
158 static FwdLockConv_Session_t *sessionPtrs[MAX_NUM_SESSIONS] = { NULL };
197 for (i = 0; i < MAX_NUM_SESSIONS; ++i) {
218 return 0 <= sessionId && sessionId < MAX_NUM_SESSIONS && sessionPtrs[sessionId] != NULL;

Completed in 280 milliseconds