Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp196 TEST_F(DrmSessionManagerTest, reclaimSession) { in TEST_F() argument
197 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1)); in TEST_F()
201 EXPECT_FALSE(mDrmSessionManager->reclaimSession(50)); in TEST_F()
203 EXPECT_TRUE(mDrmSessionManager->reclaimSession(10)); in TEST_F()
214 EXPECT_TRUE(mDrmSessionManager->reclaimSession(18)); in TEST_F()
226 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1)); in TEST_F()
227 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid2)); in TEST_F()
241 EXPECT_FALSE(mDrmSessionManager->reclaimSession(lowPriorityPid)); in TEST_F()
245 EXPECT_TRUE(mDrmSessionManager->reclaimSession(highPriorityPid)); in TEST_F()
252 EXPECT_TRUE(mDrmSessionManager->reclaimSession(highPriorityPid)); in TEST_F()
/frameworks/av/drm/libmediadrm/include/mediadrm/
DDrmSessionClientInterface.h26 virtual bool reclaimSession(const Vector<uint8_t>& sessionId) = 0;
DDrmSessionManager.h63 bool reclaimSession(int callingPid);
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp171 bool DrmSessionManager::reclaimSession(int callingPid) { in reclaimSession() function in android::DrmSessionManager
DDrmHal.cpp708 retry = DrmSessionManager::Instance()->reclaimSession(AIBinder_getCallingPid()); in openSession()