Searched refs:recipient2 (Results 1 – 2 of 2) sorted by relevance
1686 sp<HidlDeathRecipient> recipient2 = new HidlDeathRecipient(); in TEST_F() local1693 EXPECT_TRUE(dyingBaz->linkToDeath(recipient2, 0x2592)); in TEST_F()1694 EXPECT_TRUE(dyingBaz->unlinkToDeath(recipient2)); in TEST_F()1703 EXPECT_FALSE(dyingBaz->unlinkToDeath(recipient2)); in TEST_F()1719 std::unique_lock<std::mutex> lock2(recipient2->mutex); in TEST_F()1720 recipient2->condition.wait_for(lock2, std::chrono::milliseconds(100), [&recipient2]() { in TEST_F()1721 return recipient2->fired; in TEST_F()1723 EXPECT_FALSE(recipient2->fired); in TEST_F()
1228 HidlDeathRecipient recipient2 = new HidlDeathRecipient(); in client() local1238 ExpectTrue(proxy.linkToDeath(recipient2, cookie2)); in client()1239 ExpectTrue(proxy.unlinkToDeath(recipient2)); in client()1246 ExpectTrue(!recipient2.waitUntilServiceDied(2000 /*timeoutMillis*/)); in client()