Lines Matching full:sessionid
50 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) {
51 mReclaimedSessions.push_back(sessionId);
83 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) {
85 sessionId->push_back(ids[i]);
90 const Vector<uint8_t>& sessionId, int64_t timeStamp) {
92 EXPECT_TRUE(isEqualSessionId(sessionId, info.sessionId));
137 Vector<uint8_t> sessionId;
138 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
142 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId));
144 EXPECT_TRUE(isEqualSessionId(mSessionId1, sessionId));
146 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId));
148 EXPECT_TRUE(isEqualSessionId(mSessionId2, sessionId));
152 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId));
154 EXPECT_TRUE(isEqualSessionId(mSessionId3, sessionId));
202 Vector<uint8_t> sessionId;
203 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
204 mDrmSessionManager->addSession(kTestPid2, drm, sessionId);
212 ExpectEqSessionInfo(infos2[0], drm, sessionId, 3);
231 Vector<uint8_t> sessionId;
232 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
233 mDrmSessionManager->addSession(15, drm, sessionId);