Lines Matching refs:getId
63 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in addResource()
67 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources11); in addResource()
73 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in addResource()
77 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources3); in addResource()
80 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources3); in addResource()
88 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, resources1); in addResource()
94 … expectEqResourceInfo(infos2.valueFor(getId(mTestClient2)), kTestUid2, mTestClient2, resources2); in addResource()
95 … expectEqResourceInfo(infos2.valueFor(getId(mTestClient3)), kTestUid2, mTestClient3, resources3); in addResource()
103 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues()
115 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
120 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues()
124 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues()
130 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
135 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues()
142 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
147 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues()
155 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
193 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResource()
197 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources11); in testCombineResource()
208 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResource()
213 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResource()
218 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources11); in testCombineResource()
225 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResource()
232 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testRemoveResource()
236 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources11); in testRemoveResource()
247 mService->removeResource(kTestPid1, getId(mTestClient1), resources11); in testRemoveResource()
252 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testRemoveResource()
256 mService->removeResource(kTestPid1, getId(mTestClient1), resources11); in testRemoveResource()
258 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testRemoveResource()
262 mService->removeResource(kTestPid1, getId(mTestClient1), resources11); in testRemoveResource()
266 … expectEqResourceInfo(infos1.valueFor(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testRemoveResource()
306 mService->removeClient(kTestPid1, getId(mTestClient1)); in testMarkClientForPendingRemoval()
312 mService->markClientForPendingRemoval(kTestPid2, getId(mTestClient2)); in testMarkClientForPendingRemoval()
319 mService->removeClient(kTestPid2, getId(mTestClient3)); in testMarkClientForPendingRemoval()
329 mService->markClientForPendingRemoval(kTestPid2, getId(mTestClient2)); in testMarkClientForPendingRemoval()
341 mService->removeClient(kTestPid2, getId(mTestClient3)); in testMarkClientForPendingRemoval()
348 mService->markClientForPendingRemoval(kTestPid2, getId(mTestClient2)); in testMarkClientForPendingRemoval()
358 mService->markClientForPendingRemoval(kTestPid2, getId(mTestClient3)); in testMarkClientForPendingRemoval()
365 mService->removeClient(kTestPid1, getId(mTestClient1)); in testMarkClientForPendingRemoval()
372 mService->removeClient(kTestPid2, getId(mTestClient2)); in testRemoveClient()
592 mService->removeClient(kTestPid2, getId(mTestClient3)); in testReclaimResourceNonSecure()
660 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testBatteryStats()
665 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testBatteryStats()
671 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in testBatteryStats()
676 mService->removeResource(kTestPid1, getId(mTestClient1), resources1); in testBatteryStats()
681 mService->removeResource(kTestPid1, getId(mTestClient1), resources2); in testBatteryStats()
686 mService->removeClient(kTestPid2, getId(mTestClient2)); in testBatteryStats()
699 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCpusetBoost()
704 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCpusetBoost()
710 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in testCpusetBoost()
715 mService->removeClient(kTestPid2, getId(mTestClient2)); in testCpusetBoost()
719 mService->removeResource(kTestPid1, getId(mTestClient1), resources1); in testCpusetBoost()
724 mService->removeResource(kTestPid1, getId(mTestClient1), resources2); in testCpusetBoost()