Lines Matching refs:kTestPid2
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()
478 EXPECT_EQ(kTestPid2, pid); in testGetLowestPriorityPid()
480 processInfo.getPriority(kTestPid2, &priority2); in testGetLowestPriorityPid()
487 EXPECT_FALSE(mService->getBiggestClient_l(kTestPid2, type, &client)); in testGetBiggestClient()
491 EXPECT_TRUE(mService->getBiggestClient_l(kTestPid2, type, &client)); in testGetBiggestClient()