Home
last modified time | relevance | path

Searched refs:recipient2 (Results 1 – 2 of 2) sorted by relevance

/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1672 sp<HidlDeathRecipient> recipient2 = new HidlDeathRecipient(); in TEST_F() local
1679 EXPECT_TRUE(dyingBaz->linkToDeath(recipient2, 0x2592)); in TEST_F()
1680 EXPECT_TRUE(dyingBaz->unlinkToDeath(recipient2)); in TEST_F()
1689 EXPECT_FALSE(dyingBaz->unlinkToDeath(recipient2)); in TEST_F()
1705 std::unique_lock<std::mutex> lock2(recipient2->mutex); in TEST_F()
1706 recipient2->condition.wait_for(lock2, std::chrono::milliseconds(100), [&recipient2]() { in TEST_F()
1707 return recipient2->fired; in TEST_F()
1709 EXPECT_FALSE(recipient2->fired); in TEST_F()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java1236 HidlDeathRecipient recipient2 = new HidlDeathRecipient(); in client() local
1246 ExpectTrue(proxy.linkToDeath(recipient2, cookie2)); in client()
1247 ExpectTrue(proxy.unlinkToDeath(recipient2)); in client()
1254 ExpectTrue(!recipient2.waitUntilServiceDied(2000 /*timeoutMillis*/)); in client()