Home
last modified time | relevance | path

Searched refs:recipient (Results 1 – 13 of 13) sorted by relevance

/system/libhwbinder/
DBpHwBinder.cpp122 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) in linkToDeath() argument
125 ob.recipient = recipient; in linkToDeath()
129 LOG_ALWAYS_FATAL_IF(recipient == nullptr, in linkToDeath()
156 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, in unlinkToDeath() argument
168 if ((obit.recipient == recipient in unlinkToDeath()
169 || (recipient == nullptr && obit.cookie == cookie)) in unlinkToDeath()
172 *outRecipient = mObituaries->itemAt(i).recipient; in unlinkToDeath()
232 sp<DeathRecipient> recipient = obit.recipient.promote(); in reportOneDeath() local
233 ALOGV("Reporting death to recipient: %p\n", recipient.get()); in reportOneDeath()
234 if (recipient == nullptr) return; in reportOneDeath()
[all …]
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h206 const sp<IBinder::DeathRecipient>& recipient,
210 const wp<IBinder::DeathRecipient>& recipient,
222 wp<IBinder::DeathRecipient> recipient; member
230 recipient(r), cookie(c), flags(f), who(w) { in Obituary()
233 recipient(o.recipient), in Obituary()
239 recipient = o.recipient;
246 sp<IBinder::DeathRecipient> dr = recipient.promote(); in serviceDied()
456 const sp<IBinder::DeathRecipient>& recipient, in linkToDeath() argument
459 recipient == nullptr, in linkToDeath()
463 mObituaries.push_back(new Obituary(recipient, cookie, flags, this)); in linkToDeath()
[all …]
/system/libhidl/transport/base/1.0/
DIBase.hal80 * Registers a death recipient, to be called when the process hosting this
83 * @param recipient a hidl_death_recipient callback object
85 * @return success whether the death recipient was registered successfully.
87 linkToDeath(death_recipient recipient, uint64_t cookie) generates (bool success);
90 * Unregisters the registered death recipient. If this service was registered
91 * multiple times with the same exact death recipient, this unlinks the most
94 * @param recipient a previously registered hidl_death_recipient callback
95 * @return success whether the death recipient was unregistered successfully.
97 unlinkToDeath(death_recipient recipient) generates (bool success);
/system/libhwbinder/include/hwbinder/
DBpHwBinder.h41 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
44 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
104 wp<DeathRecipient> recipient; member
DIBinder.h116 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
127 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
DBinder.h39 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
43 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
/system/core/libbinderwrapper/
Dreal_binder_wrapper.cc89 sp<DeathRecipient> recipient(new DeathRecipient(callback)); in RegisterForDeathNotifications() local
90 if (binder->linkToDeath(recipient) != OK) { in RegisterForDeathNotifications()
95 death_recipients_[binder] = recipient; in RegisterForDeathNotifications()
/system/core/adb/
Dprotocol.txt86 The TLS message informs the recipient that the connection will be encrypted
95 The AUTH message informs the recipient that authentication is required to
97 the recipient can sign with a private key. The recipient replies with an
102 packet and a new random token, so that the recipient can retry signing
105 Once the recipient has tried all its private keys, it can reply with an
115 The OPEN message informs the recipient that the sender has a stream
139 The READY message informs the recipient that the sender's stream
141 connected to the recipient's stream identified by remote-id.
146 stream on the recipient's side is ignored. The stream may have been
158 The WRITE message sends data to the recipient's stream identified by
[all …]
/system/libhidl/transport/
DHidlBinderSupport.cpp36 hidl_binder_death_recipient::hidl_binder_death_recipient(const sp<hidl_death_recipient> &recipient, in hidl_binder_death_recipient() argument
38 mRecipient(recipient), mCookie(cookie), mBase(base) { in hidl_binder_death_recipient()
42 sp<hidl_death_recipient> recipient = mRecipient.promote(); in binderDied() local
43 if (recipient != nullptr && mBase != nullptr) { in binderDied()
44 recipient->serviceDied(mCookie, mBase); in binderDied()
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp208 sp<hidl_death_recipient> recipient = new HidlDeathRecipient; in TEST_F() local
211 EXPECT_OK(base.service->linkToDeath(recipient, 0 /* cookie */)) in TEST_F()
213 EXPECT_OK(base.service->unlinkToDeath(recipient)) << "Unlink death recipient " << base.name; in TEST_F()
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h41 hidl_binder_death_recipient(const sp<hidl_death_recipient> &recipient,
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1685 sp<HidlDeathRecipient> recipient = new HidlDeathRecipient(); in TEST_F() local
1688 EXPECT_TRUE(dyingBaz->linkToDeath(recipient, 0x1481)); in TEST_F()
1690 EXPECT_TRUE(dyingBaz->linkToDeath(recipient, 0x1482)); in TEST_F()
1691 EXPECT_TRUE(dyingBaz->unlinkToDeath(recipient)); in TEST_F()
1712 std::unique_lock<std::mutex> lock(recipient->mutex); in TEST_F()
1713 recipient->condition.wait_for(lock, std::chrono::milliseconds(100), [&recipient]() { in TEST_F()
1714 return recipient->fired; in TEST_F()
1716 EXPECT_TRUE(recipient->fired); in TEST_F()
1717 EXPECT_EQ(recipient->cookie, 0x1481u); in TEST_F()
1718 EXPECT_EQ(recipient->who, dyingBaz); in TEST_F()
/system/extras/power_profile/camera_avg/
DLICENSE400 recipient of the Licensed Material automatically
406 Every recipient of Adapted Material from You
415 Licensed Rights by any recipient of the Licensed