Home
last modified time | relevance | path

Searched refs:kTestPid2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp70 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/
DResourceManagerService_test.cpp89 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 …]