Home
last modified time | relevance | path

Searched refs:mDeathRecipient (Results 1 – 25 of 43) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DProtectCallback.cpp77 : mObject(std::move(object)), mDeathRecipient(std::move(deathRecipient)) { in DeathHandler()
79 CHECK(mDeathRecipient != nullptr); in DeathHandler()
83 if (mObject != nullptr && mDeathRecipient != nullptr) { in ~DeathHandler()
84 const auto successful = mObject->unlinkToDeath(mDeathRecipient).isOk(); in ~DeathHandler()
94 mDeathRecipient->add(killable); in protectCallback()
96 [deathRecipient = mDeathRecipient, killable] { deathRecipient->remove(killable); }); in protectCallback()
101 mDeathRecipient->add(killable); in protectCallbackForLifetimeOfDeathHandler()
/hardware/interfaces/neuralnetworks/1.0/utils/test/
DMockPreparedModel.h47 sp<hidl_death_recipient> mDeathRecipient;
68 mDeathRecipient = recipient; in linkToDeath()
73 ASSERT_NE(nullptr, mDeathRecipient.get()); in simulateCrash()
80 mDeathRecipient->serviceDied(0, nullptr); in simulateCrash()
DMockDevice.h49 sp<hidl_death_recipient> mDeathRecipient;
70 mDeathRecipient = recipient; in linkToDeath()
75 ASSERT_NE(nullptr, mDeathRecipient.get()); in simulateCrash()
81 mDeathRecipient->serviceDied(0, nullptr); in simulateCrash()
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DMockDevice.h58 sp<hidl_death_recipient> mDeathRecipient;
79 mDeathRecipient = recipient; in linkToDeath()
84 ASSERT_NE(nullptr, mDeathRecipient.get()); in simulateCrash()
90 mDeathRecipient->serviceDied(0, nullptr); in simulateCrash()
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DMockPreparedModel.h63 sp<hidl_death_recipient> mDeathRecipient;
84 mDeathRecipient = recipient; in linkToDeath()
89 ASSERT_NE(nullptr, mDeathRecipient.get()); in simulateCrash()
96 mDeathRecipient->serviceDied(0, nullptr); in simulateCrash()
DMockDevice.h80 sp<hidl_death_recipient> mDeathRecipient;
101 mDeathRecipient = recipient; in linkToDeath()
106 ASSERT_NE(nullptr, mDeathRecipient.get()); in simulateCrash()
112 mDeathRecipient->serviceDied(0, nullptr); in simulateCrash()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockPreparedModel.h83 sp<hidl_death_recipient> mDeathRecipient;
104 mDeathRecipient = recipient; in linkToDeath()
109 ASSERT_NE(nullptr, mDeathRecipient.get()); in simulateCrash()
116 mDeathRecipient->serviceDied(0, nullptr); in simulateCrash()
DMockDevice.h102 sp<hidl_death_recipient> mDeathRecipient;
123 mDeathRecipient = recipient; in linkToDeath()
128 ASSERT_NE(nullptr, mDeathRecipient.get()); in simulateCrash()
134 mDeathRecipient->serviceDied(0, nullptr); in simulateCrash()
/hardware/google/graphics/common/libhwc2.1/libvrr/Power/
DDisplayStateResidencyWatcher.cpp36 : mDeathRecipient(AIBinder_DeathRecipient_new(binderDied)), in DisplayStateResidencyWatcher()
55 AIBinder_unlinkToDeath(mProvider->asBinder().get(), mDeathRecipient.get(), in ~DisplayStateResidencyWatcher()
114 AIBinder_linkToDeath(mProvider->asBinder().get(), mDeathRecipient.get(), in registerWithPowerStats()
DDisplayStateResidencyWatcher.h56 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
/hardware/interfaces/threadnetwork/aidl/default/
Dthread_chip.cpp54 mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient( in ThreadChip()
56 AIBinder_DeathRecipient_setOnUnlinked(mDeathRecipient.get(), ThreadChip::onBinderUnlinkedJump); in ThreadChip()
93 AIBinder_linkToDeath(in_callback->asBinder().get(), mDeathRecipient.get(), this); in open()
126 AIBinder_unlinkToDeath(callback->asBinder().get(), mDeathRecipient.get(), this); in close()
Dthread_chip.hpp62 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
/hardware/interfaces/tv/hdmi/connection/aidl/default/
DHdmiConnectionMock.cpp63 mDeathRecipient = in setCallback()
66 AIBinder_linkToDeath(callback->asBinder().get(), mDeathRecipient.get(), this /* cookie */); in setCallback()
199 mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient(nullptr); in HdmiConnectionMock()
206 mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient(nullptr); in stopThread()
/hardware/interfaces/tv/hdmi/cec/aidl/default/
DHdmiCecMock.cpp92 mDeathRecipient = in setCallback()
94 AIBinder_linkToDeath(callback->asBinder().get(), mDeathRecipient.get(), this /* cookie */); in setCallback()
262 mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient(nullptr); in HdmiCecMock()
269 mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient(nullptr); in closeCallback()
/hardware/interfaces/tv/hdmi/earc/aidl/default/
DEArcMock.cpp83 AIBinder_linkToDeath(this->asBinder().get(), mDeathRecipient.get(), 0 /* cookie */); in setCallback()
113 mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient(AIBinder_DeathRecipient_new(serviceDied)); in EArcMock()
DEArcMock.h69 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
/hardware/interfaces/sensors/aidl/vts/
DSensorsAidlEnvironment.cpp55 mDeathRecipient(AIBinder_DeathRecipient_new(serviceDied)) {} in SensorsAidlEnvironment()
66 AIBinder_linkToDeath(mSensors->asBinder().get(), mDeathRecipient.get(), this); in resetHal()
DSensorsAidlEnvironment.h78 ndk::ScopedAIBinder_DeathRecipient mDeathRecipient; variable
/hardware/nxp/keymint/transport/include/
DOmapiTransport.h137 mDeathRecipient = ::ndk::ScopedAIBinder_DeathRecipient(
147 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
/hardware/interfaces/biometrics/face/aidl/default/
DSession.cpp44 mDeathRecipient = AIBinder_DeathRecipient_new(onClientDeath); in Session()
48 return AIBinder_linkToDeath(binder, mDeathRecipient, this); in linkToDeath()
169 AIBinder_DeathRecipient_delete(mDeathRecipient); in close()
/hardware/interfaces/bluetooth/aidl/default/
DBluetoothHci.cpp118 mDeathRecipient = std::make_shared<BluetoothDeathRecipient>(this); in BluetoothHci()
241 mDeathRecipient->LinkToDeath(mCb); in initialize()
288 if (!mDeathRecipient->getHasDied()) { in initialize()
DBluetoothHci.h62 std::shared_ptr<BluetoothDeathRecipient> mDeathRecipient; variable
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DSession.cpp51 mDeathRecipient = AIBinder_DeathRecipient_new(onClientDeath); in Session()
55 return AIBinder_linkToDeath(binder, mDeathRecipient, this); in linkToDeath()
245 AIBinder_DeathRecipient_delete(mDeathRecipient); in close()
/hardware/interfaces/sensors/common/vts/2_X/
DSensorsHidlEnvironmentV2_X.h90 sp<SensorsHalDeathRecipient> mDeathRecipient = new SensorsHalDeathRecipient();
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DProtectCallback.h96 sp<DeathRecipient> mDeathRecipient; variable

12