Lines Matching refs:kTestPid2
89 static const int kTestPid2 = 20;
100 mTestClient2(new TestClient(kTestPid2, mService)),
101 mTestClient3(new TestClient(kTestPid2, mService)) {
146 // kTestPid2(20) 20 mTestClient2 non-secure codec 1
162 // kTestPid2 mTestClient2
166 mService->addResource(kTestPid2, getId(mTestClient2), mTestClient2, resources2);
168 // kTestPid2 mTestClient3
170 mService->addResource(kTestPid2, getId(mTestClient3), mTestClient3, resources3);
173 mService->addResource(kTestPid2, getId(mTestClient3), mTestClient3, resources3);
183 ssize_t index2 = map.indexOfKey(kTestPid2);
225 mService->removeResource(kTestPid2, getId(mTestClient2));
230 const ResourceInfos &infos2 = map.valueFor(kTestPid2);
243 // some higher priority process (e.g. kTestPid2) owns the resource, so getAllClients_l
441 mService->removeResource(kTestPid2, getId(mTestClient3));
478 EXPECT_EQ(kTestPid2, pid);
480 processInfo.getPriority(kTestPid2, &priority2);
487 EXPECT_FALSE(mService->getBiggestClient_l(kTestPid2, type, &client));
491 EXPECT_TRUE(mService->getBiggestClient_l(kTestPid2, type, &client));