Searched refs:mTestClient2 (Results 1 – 3 of 3) sorted by relevance
/aosp12/frameworks/av/services/mediaresourcemanager/test/ |
H A D | ResourceManagerService_test.cpp | 33 TestClient *client2 = static_cast<TestClient*>(mTestClient2.get()); in verifyClients() 73 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in addResource() 94 … expectEqResourceInfo(infos2.valueFor(getId(mTestClient2)), kTestUid2, mTestClient2, resources2); in addResource() 312 mService->markClientForPendingRemoval(kTestPid2, getId(mTestClient2)); in testMarkClientForPendingRemoval() 329 mService->markClientForPendingRemoval(kTestPid2, getId(mTestClient2)); in testMarkClientForPendingRemoval() 372 mService->removeClient(kTestPid2, getId(mTestClient2)); in testRemoveClient() 643 EXPECT_EQ(mTestClient2, client); in testGetBiggestClient() 671 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in testBatteryStats() 686 mService->removeClient(kTestPid2, getId(mTestClient2)); in testBatteryStats() 710 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in testCpusetBoost() [all …]
|
H A D | ResourceObserverService_test.cpp | 244 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources); in TEST_F() 326 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources); in TEST_F() 331 mService->removeClient(kTestPid2, getId(mTestClient2)); in TEST_F() 336 mService->removeResource(kTestPid2, getId(mTestClient2), resources); in TEST_F() 341 mService->removeClient(kTestPid2, getId(mTestClient2)); in TEST_F()
|
H A D | ResourceManagerServiceTestUtils.h | 182 mTestClient2(::ndk::SharedRefBase::make<TestClient>(kTestPid2, mService)), in ResourceManagerServiceTestBase() 189 std::shared_ptr<IResourceManagerClient> mTestClient2; variable
|