Home
last modified time | relevance | path

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

/frameworks/av/services/mediadrm/tests/
DDrmSessionManager_test.cpp50 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { in reclaimSession() function
215 TEST_F(DrmSessionManagerTest, reclaimSession) { in TEST_F() argument
216 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1)); in TEST_F()
220 EXPECT_FALSE(mDrmSessionManager->reclaimSession(50)); in TEST_F()
222 EXPECT_TRUE(mDrmSessionManager->reclaimSession(10)); in TEST_F()
235 EXPECT_TRUE(mDrmSessionManager->reclaimSession(18)); in TEST_F()
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp54 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { in reclaimSession() function
219 TEST_F(DrmSessionManagerTest, reclaimSession) { in TEST_F() argument
220 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1)); in TEST_F()
224 EXPECT_FALSE(mDrmSessionManager->reclaimSession(50)); in TEST_F()
226 EXPECT_TRUE(mDrmSessionManager->reclaimSession(10)); in TEST_F()
239 EXPECT_TRUE(mDrmSessionManager->reclaimSession(18)); in TEST_F()
/frameworks/av/media/libmedia/include/media/
DDrmSessionClientInterface.h26 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) = 0;
DDrmSessionManager.h54 bool reclaimSession(int callingPid);
/frameworks/av/include/media/
DDrmSessionClientInterface.h26 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) = 0;
DDrmSessionManager.h54 bool reclaimSession(int callingPid);
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp141 bool DrmSessionManager::reclaimSession(int callingPid) { in reclaimSession() function in android::DrmSessionManager
173 return drm->reclaimSession(sessionId); in reclaimSession()
DDrmHal.cpp169 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) { in reclaimSession() function
477 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid()); in openSession()