Lines Matching refs:TestClient
123 struct TestClient : public BnResourceManagerClient { struct
124 TestClient(int pid, const std::shared_ptr<ResourceManagerService> &service) in TestClient() argument
128 mService->removeClient(mPid, getId(ref<TestClient>())); in reclaimResource()
147 virtual ~TestClient() {} in ~TestClient() argument
153 DISALLOW_EVIL_CONSTRUCTORS(TestClient);
184 mTestClient1(::ndk::SharedRefBase::make<TestClient>(kTestPid1, mService)), in ResourceManagerServiceTest()
185 mTestClient2(::ndk::SharedRefBase::make<TestClient>(kTestPid2, mService)), in ResourceManagerServiceTest()
186 mTestClient3(::ndk::SharedRefBase::make<TestClient>(kTestPid2, mService)) { in ResourceManagerServiceTest()
212 TestClient *client1 = static_cast<TestClient*>(mTestClient1.get()); in verifyClients()
213 TestClient *client2 = static_cast<TestClient*>(mTestClient2.get()); in verifyClients()
214 TestClient *client3 = static_cast<TestClient*>(mTestClient3.get()); in verifyClients()