Home
last modified time | relevance | path

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

/system/libhwbinder/
DBpHwBinder.cpp117 const sp<DeathRecipient>& recipient, void* cookie, uint32_t flags) in linkToDeath() argument
120 ob.recipient = recipient; in linkToDeath()
124 LOG_ALWAYS_FATAL_IF(recipient == nullptr, in linkToDeath()
151 const wp<DeathRecipient>& recipient, void* cookie, uint32_t flags, in unlinkToDeath() argument
163 if ((obit.recipient == recipient in unlinkToDeath()
164 || (recipient == nullptr && obit.cookie == cookie)) in unlinkToDeath()
167 *outRecipient = mObituaries->itemAt(i).recipient; in unlinkToDeath()
227 sp<DeathRecipient> recipient = obit.recipient.promote(); in reportOneDeath() local
228 ALOGV("Reporting death to recipient: %p\n", recipient.get()); in reportOneDeath()
229 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()
453 const sp<IBinder::DeathRecipient>& recipient, in linkToDeath() argument
456 recipient == nullptr, in linkToDeath()
460 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/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/libhwbinder/include/hwbinder/
DBpHwBinder.h41 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
44 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
105 wp<DeathRecipient> recipient; member
DIBinder.h88 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient,
99 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/adb/
Dprotocol.txt87 The AUTH message informs the recipient that authentication is required to
89 the recipient can sign with a private key. The recipient replies with an
94 packet and a new random token, so that the recipient can retry signing
97 Once the recipient has tried all its private keys, it can reply with an
107 The OPEN message informs the recipient that the sender has a stream
131 The READY message informs the recipient that the sender's stream
133 connected to the recipient's stream identified by remote-id.
138 stream on the recipient's side is ignored. The stream may have been
150 The WRITE message sends data to the recipient's stream identified by
154 stream on the recipient's side is ignored. The stream may have been
[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.cpp142 sp<hidl_death_recipient> recipient = new HidlDeathRecipient; in TEST_F() local
145 EXPECT_OK(base.service->linkToDeath(recipient, 0 /* cookie */)) in TEST_F()
147 EXPECT_OK(base.service->unlinkToDeath(recipient)) << "Unlink death recipient " << base.name; in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1711 sp<HidlDeathRecipient> recipient = new HidlDeathRecipient(); in TEST_F() local
1714 EXPECT_TRUE(dyingBaz->linkToDeath(recipient, 0x1481)); in TEST_F()
1716 EXPECT_TRUE(dyingBaz->linkToDeath(recipient, 0x1482)); in TEST_F()
1717 EXPECT_TRUE(dyingBaz->unlinkToDeath(recipient)); in TEST_F()
1738 std::unique_lock<std::mutex> lock(recipient->mutex); in TEST_F()
1739 recipient->condition.wait_for(lock, std::chrono::milliseconds(100), [&recipient]() { in TEST_F()
1740 return recipient->fired; in TEST_F()
1742 EXPECT_TRUE(recipient->fired); in TEST_F()
1743 EXPECT_EQ(recipient->cookie, 0x1481u); in TEST_F()
1744 EXPECT_EQ(recipient->who, dyingBaz); in TEST_F()
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h41 hidl_binder_death_recipient(const sp<hidl_death_recipient> &recipient,
/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
/system/sepolicy/tools/fc_sort/
DNOTICE190 Program), the recipient automatically receives a license from the