Home | History | Annotate | Download | only in libmediadrm

Lines Matching full:sessionid

32 static String8 GetSessionIdString(const Vector<uint8_t> &sessionId) {
34 for (size_t i = 0; i < sessionId.size(); ++i) {
35 sessionIdStr.appendFormat("%u ", sessionId[i]);
68 int pid, sp<DrmSessionClientInterface> drm, const Vector<uint8_t> &sessionId) {
69 ALOGV("addSession(pid %d, drm %p, sessionId %s)", pid, drm.get(),
70 GetSessionIdString(sessionId).string());
75 info.sessionId = sessionId;
88 void DrmSessionManager::useSession(const Vector<uint8_t> &sessionId) {
89 ALOGV("useSession(%s)", GetSessionIdString(sessionId).string());
96 if (isEqualSessionId(sessionId, info.sessionId)) {
104 void DrmSessionManager::removeSession(const Vector<uint8_t> &sessionId) {
105 ALOGV("removeSession(%s)", GetSessionIdString(sessionId).string());
111 if (isEqualSessionId(sessionId, infos[j].sessionId)) {
128 ALOGV("removed session (%s)", GetSessionIdString(infos[j].sessionId).string());
145 Vector<uint8_t> sessionId;
161 if (!getLeastUsedSession_l(lowestPriorityPid, &drm, &sessionId)) {
171 GetSessionIdString(sessionId).string(), lowestPriorityPid);
173 return drm->reclaimSession(sessionId);
212 int pid, sp<DrmSessionClientInterface>* drm, Vector<uint8_t>* sessionId) {
234 *sessionId = infos[leastUsedIndex].sessionId;