/system/libhwbinder/ |
D | BpHwBinder.cpp | 122 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/ |
D | HybridInterface.h | 206 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/security/keystore2/src/ |
D | ec_crypto.rs | 127 let recipient = ECDHPrivateKey::generate()?; in test_crypto_roundtrip() localVariable 129 ECDHPrivateKey::encrypt_message(&recipient.public_key()?, message)?; in test_crypto_roundtrip() 130 let recipient = ECDHPrivateKey::from_private_key(&recipient.private_key()?)?; in test_crypto_roundtrip() localVariable 132 recipient.decrypt_message(&sender_public_key, &salt, &iv, &ciphertext, &tag)?; in test_crypto_roundtrip()
|
/system/libhidl/transport/base/1.0/ |
D | IBase.hal | 80 * 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/ |
D | BpHwBinder.h | 45 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 48 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient, 108 wp<DeathRecipient> recipient; member
|
D | IBinder.h | 124 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 135 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
D | Binder.h | 43 virtual status_t linkToDeath(const sp<DeathRecipient>& recipient, 47 virtual status_t unlinkToDeath( const wp<DeathRecipient>& recipient,
|
/system/core/libbinderwrapper/ |
D | real_binder_wrapper.cc | 89 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/libhidl/transport/ |
D | HidlBinderSupport.cpp | 39 hidl_binder_death_recipient::hidl_binder_death_recipient(const sp<hidl_death_recipient> &recipient, in hidl_binder_death_recipient() argument 41 mRecipient(recipient), mCookie(cookie), mBase(base) { in hidl_binder_death_recipient() 45 sp<hidl_death_recipient> recipient = mRecipient.promote(); in binderDied() local 46 if (recipient != nullptr && mBase != nullptr) { in binderDied() 47 recipient->serviceDied(mCookie, mBase); in binderDied()
|
/system/keymaster/cppcose/ |
D | cppcose.cpp | 268 auto& recipient = recipients->asArray()->get(0); in getSenderPubKeyFromCoseEncrypt() local 269 if (!recipient || !recipient->asArray() || recipient->asArray()->size() != 3) { in getSenderPubKeyFromCoseEncrypt() 273 auto& ciphertext = recipient->asArray()->get(2); in getSenderPubKeyFromCoseEncrypt() 279 auto& protParms = recipient->asArray()->get(0); in getSenderPubKeyFromCoseEncrypt() 290 auto& unprotParms = recipient->asArray()->get(1); in getSenderPubKeyFromCoseEncrypt()
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 208 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/ |
D | HidlBinderSupport.h | 41 hidl_binder_death_recipient(const sp<hidl_death_recipient> &recipient,
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 1671 sp<HidlDeathRecipient> recipient = new HidlDeathRecipient(); in TEST_F() local 1674 EXPECT_TRUE(dyingBaz->linkToDeath(recipient, 0x1481)); in TEST_F() 1676 EXPECT_TRUE(dyingBaz->linkToDeath(recipient, 0x1482)); in TEST_F() 1677 EXPECT_TRUE(dyingBaz->unlinkToDeath(recipient)); in TEST_F() 1698 std::unique_lock<std::mutex> lock(recipient->mutex); in TEST_F() 1699 recipient->condition.wait_for(lock, std::chrono::milliseconds(100), [&recipient]() { in TEST_F() 1700 return recipient->fired; in TEST_F() 1702 EXPECT_TRUE(recipient->fired); in TEST_F() 1703 EXPECT_EQ(recipient->cookie, 0x1481u); in TEST_F() 1704 EXPECT_EQ(recipient->who, dyingBaz); in TEST_F()
|
/system/extras/power_profile/camera_avg/ |
D | LICENSE | 400 recipient of the Licensed Material automatically 406 Every recipient of Adapted Material from You 415 Licensed Rights by any recipient of the Licensed
|
/system/chre/doc/ |
D | compatibility.md | 62 * Reserved fields must be set to 0 by the sender and ignored by the recipient
|