/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | ProtectCallback.cpp | 77 : 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/ |
D | MockPreparedModel.h | 47 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()
|
D | MockDevice.h | 49 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/ |
D | MockDevice.h | 58 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/ |
D | MockPreparedModel.h | 63 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()
|
D | MockDevice.h | 80 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/ |
D | MockPreparedModel.h | 83 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()
|
D | MockDevice.h | 102 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/ |
D | DisplayStateResidencyWatcher.cpp | 36 : 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()
|
D | DisplayStateResidencyWatcher.h | 56 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
|
/hardware/interfaces/threadnetwork/aidl/default/ |
D | thread_chip.cpp | 54 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()
|
D | thread_chip.hpp | 62 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
|
/hardware/interfaces/tv/hdmi/connection/aidl/default/ |
D | HdmiConnectionMock.cpp | 63 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/ |
D | HdmiCecMock.cpp | 92 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/ |
D | EArcMock.cpp | 83 AIBinder_linkToDeath(this->asBinder().get(), mDeathRecipient.get(), 0 /* cookie */); in setCallback() 113 mDeathRecipient = ndk::ScopedAIBinder_DeathRecipient(AIBinder_DeathRecipient_new(serviceDied)); in EArcMock()
|
D | EArcMock.h | 69 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
|
/hardware/interfaces/sensors/aidl/vts/ |
D | SensorsAidlEnvironment.cpp | 55 mDeathRecipient(AIBinder_DeathRecipient_new(serviceDied)) {} in SensorsAidlEnvironment() 66 AIBinder_linkToDeath(mSensors->asBinder().get(), mDeathRecipient.get(), this); in resetHal()
|
D | SensorsAidlEnvironment.h | 78 ndk::ScopedAIBinder_DeathRecipient mDeathRecipient; variable
|
/hardware/nxp/keymint/transport/include/ |
D | OmapiTransport.h | 137 mDeathRecipient = ::ndk::ScopedAIBinder_DeathRecipient( 147 ::ndk::ScopedAIBinder_DeathRecipient mDeathRecipient;
|
/hardware/interfaces/biometrics/face/aidl/default/ |
D | Session.cpp | 44 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/ |
D | BluetoothHci.cpp | 118 mDeathRecipient = std::make_shared<BluetoothDeathRecipient>(this); in BluetoothHci() 241 mDeathRecipient->LinkToDeath(mCb); in initialize() 288 if (!mDeathRecipient->getHasDied()) { in initialize()
|
D | BluetoothHci.h | 62 std::shared_ptr<BluetoothDeathRecipient> mDeathRecipient; variable
|
/hardware/interfaces/biometrics/fingerprint/aidl/default/ |
D | Session.cpp | 51 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/ |
D | SensorsHidlEnvironmentV2_X.h | 90 sp<SensorsHalDeathRecipient> mDeathRecipient = new SensorsHalDeathRecipient();
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | ProtectCallback.h | 96 sp<DeathRecipient> mDeathRecipient; variable
|