Searched refs:kTestPid1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libmediaplayerservice/tests/ |
D | DrmSessionManager_test.cpp | 69 static const int kTestPid1 = 30; variable 101 mDrmSessionManager->addSession(kTestPid1, mTestDrm1, mSessionId1); in addSession() 106 ssize_t index1 = map.indexOfKey(kTestPid1); in addSession() 132 EXPECT_EQ(kTestPid1, pid); in testGetLowestPriority() 135 processInfo.getPriority(kTestPid1, &priority1); in testGetLowestPriority() 142 EXPECT_FALSE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); in testGetLeastUsedSession() 146 EXPECT_TRUE(mDrmSessionManager->getLeastUsedSession_l(kTestPid1, &drm, &sessionId)); in testGetLeastUsedSession() 180 const SessionInfos& infos1 = map.valueFor(kTestPid1); in TEST_F() 193 const SessionInfos& infos1 = map.valueFor(kTestPid1); in TEST_F() 220 EXPECT_FALSE(mDrmSessionManager->reclaimSession(kTestPid1)); in TEST_F()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 88 static const int kTestPid1 = 30; variable 99 mTestClient1(new TestClient(kTestPid1, mService)), in ResourceManagerServiceTest() 156 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources1); in addResource() 160 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources11); in addResource() 177 ssize_t index1 = map.indexOfKey(kTestPid1); in addResource() 229 const ResourceInfos &infos1 = map.valueFor(kTestPid1); in testRemoveResource() 471 EXPECT_EQ(kTestPid1, pid); in testGetLowestPriorityPid() 473 processInfo.getPriority(kTestPid1, &priority1); in testGetLowestPriorityPid()
|