Searched refs:kTestPid2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/mediadrm/tests/ |
D | DrmSessionManager_test.cpp | 66 static const int kTestPid2 = 20; variable 98 mDrmSessionManager->addSession(kTestPid2, mTestDrm2, mSessionId2); in addSession() 99 mDrmSessionManager->addSession(kTestPid2, mTestDrm2, mSessionId3); in addSession() 108 ssize_t index2 = map.indexOfKey(kTestPid2); in addSession() 146 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId)); in testGetLeastUsedSession() 152 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId)); in testGetLeastUsedSession() 177 const SessionInfos& infos2 = map.valueFor(kTestPid2); in TEST_F() 190 const SessionInfos& infos2 = map.valueFor(kTestPid2); in TEST_F() 204 mDrmSessionManager->addSession(kTestPid2, drm, sessionId); in TEST_F() 209 const SessionInfos& infos2 = map.valueFor(kTestPid2); in TEST_F()
|
/frameworks/av/media/libmediaplayerservice/tests/ |
D | DrmSessionManager_test.cpp | 70 static const int kTestPid2 = 20; variable 102 mDrmSessionManager->addSession(kTestPid2, mTestDrm2, mSessionId2); in addSession() 103 mDrmSessionManager->addSession(kTestPid2, mTestDrm2, mSessionId3); in addSession() 112 ssize_t index2 = map.indexOfKey(kTestPid2); in addSession() 150 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId)); in testGetLeastUsedSession() 156 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid2, &drm, &sessionId)); in testGetLeastUsedSession() 181 const SessionInfos& infos2 = map.valueFor(kTestPid2); in TEST_F() 194 const SessionInfos& infos2 = map.valueFor(kTestPid2); in TEST_F() 208 mDrmSessionManager->addSession(kTestPid2, drm, sessionId); in TEST_F() 213 const SessionInfos& infos2 = map.valueFor(kTestPid2); in TEST_F()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 89 static const int kTestPid2 = 20; variable 100 mTestClient2(new TestClient(kTestPid2, mService)), in ResourceManagerServiceTest() 101 mTestClient3(new TestClient(kTestPid2, mService)) { in ResourceManagerServiceTest() 166 mService->addResource(kTestPid2, getId(mTestClient2), mTestClient2, resources2); in addResource() 170 mService->addResource(kTestPid2, getId(mTestClient3), mTestClient3, resources3); in addResource() 173 mService->addResource(kTestPid2, getId(mTestClient3), mTestClient3, resources3); in addResource() 183 ssize_t index2 = map.indexOfKey(kTestPid2); in addResource() 225 mService->removeResource(kTestPid2, getId(mTestClient2)); in testRemoveResource() 230 const ResourceInfos &infos2 = map.valueFor(kTestPid2); in testRemoveResource() 441 mService->removeResource(kTestPid2, getId(mTestClient3)); in testReclaimResourceNonSecure() [all …]
|