Lines Matching refs:mTestClient1
115 .id = getId(mTestClient1), in addResource()
117 mService->addResource(client1Info, mTestClient1, resources1); in addResource()
121 mService->addResource(client1Info, mTestClient1, resources11); in addResource()
150 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, resources1); in addResource()
167 .id = getId(mTestClient1), in testCombineResourceWithNegativeValues()
169 mService->addResource(client1Info, mTestClient1, resources1); in testCombineResourceWithNegativeValues()
181 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
186 mService->addResource(client1Info, mTestClient1, resources1); in testCombineResourceWithNegativeValues()
190 mService->addResource(client1Info, mTestClient1, resources1); in testCombineResourceWithNegativeValues()
196 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
201 mService->addResource(client1Info, mTestClient1, resources1); in testCombineResourceWithNegativeValues()
208 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
212 mService->addResource(client1Info, mTestClient1, resources1); in testCombineResourceWithNegativeValues()
220 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResourceWithNegativeValues()
242 .id = getId(mTestClient1), in testCombineResource()
244 mService->addResource(client1Info, mTestClient1, resources1); in testCombineResource()
248 mService->addResource(client1Info, mTestClient1, resources11); in testCombineResource()
259 mService->addResource(client1Info, mTestClient1, resources1); in testCombineResource()
264 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResource()
270 mService->addResource(client1Info, mTestClient1, resources11); in testCombineResource()
278 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testCombineResource()
287 .id = getId(mTestClient1), in testRemoveResource()
289 mService->addResource(client1Info, mTestClient1, resources1); in testRemoveResource()
293 mService->addResource(client1Info, mTestClient1, resources11); in testRemoveResource()
309 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testRemoveResource()
315 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testRemoveResource()
323 expectEqResourceInfo(infos1.at(getId(mTestClient1)), kTestUid1, mTestClient1, expected); in testRemoveResource()
357 .id = getId(mTestClient1), in testMarkClientForPendingRemoval()
379 EXPECT_EQ(false, toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testMarkClientForPendingRemoval()
387 EXPECT_EQ(false, toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testMarkClientForPendingRemoval()
407 EXPECT_EQ(false, toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testMarkClientForPendingRemoval()
413 EXPECT_EQ(true, toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testMarkClientForPendingRemoval()
429 EXPECT_EQ(false, toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testMarkClientForPendingRemoval()
435 EXPECT_EQ(false, toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testMarkClientForPendingRemoval()
443 EXPECT_EQ(false, toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testMarkClientForPendingRemoval()
491 EXPECT_EQ(getId(mTestClient1), targetClients[1].mClientId); in testGetAllClients()
561 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testSelfReclaimResourceSecure()
598 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
604 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
623 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
642 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
648 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
654 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
672 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
678 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
684 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
702 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
708 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
714 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceSecure()
749 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceNonSecure()
755 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceNonSecure()
774 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceNonSecure()
780 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceNonSecure()
786 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceNonSecure()
804 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceNonSecure()
810 EXPECT_TRUE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResourceNonSecure()
839 EXPECT_EQ(getId(mTestClient1), clientInfo.mClientId); in testGetLowestPriorityBiggestClient()
884 .id = getId(mTestClient1), in testBatteryStats()
886 mService->addResource(client1Info, mTestClient1, resources1); in testBatteryStats()
891 mService->addResource(client1Info, mTestClient1, resources1); in testBatteryStats()
932 .id = getId(mTestClient1), in testCpusetBoost()
934 mService->addResource(client1Info, mTestClient1, resources1); in testCpusetBoost()
939 mService->addResource(client1Info, mTestClient1, resources1); in testCpusetBoost()
969 const std::shared_ptr<IResourceManagerClient>& audioImageTestClient = mTestClient1; in testReclaimResources_withVideoCodec_reclaimsOnlyVideoCodec()
1010 const auto & videoImageTestClient = mTestClient1; in testReclaimResources_withAudioCodec_reclaimsOnlyAudioCodec()
1051 const auto & videoAudioTestClient = mTestClient1; in testReclaimResources_withImageCodec_reclaimsOnlyImageCodec()
1086 EXPECT_FALSE(toTestClient(mTestClient1)->checkIfReclaimedAndReset()); in testReclaimResources_withImageCodec_reclaimsOnlyImageCodec()
1458 .id = getId(mTestClient1), in testConcurrentCodecs()